Re: [Flightgear-devel] Controlling FlightGear from external flight data.
> > Where I can find a similar info for FGFS ? > > Also, what kind of program I can use to send some test > > UDP packets to FGFS ? Telnet ? > > I've had success with Matlab. I used Simulink with the virtual reality toolbox and a tcp/udp toolbox to send joystick data to flightgear. As Josh said above, native_fdm.cxx is a good place to start reading about the sequence and the format in which data is to be sent to flightgear. Let me know if you need any help. Regards, ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Controlling FlightGear from external flight data.
Isao Yamashita wrote: > Hi, I've been looking for a couple of weeks now, > trying to find information about how to control FGFS > from external flight data, such as airspeed, altitude, > attitude, etc. which are fed by UDP packets. > > All I could find was to use external flight model of > some sort, by typing at command line "fgfs > -fdm=external...", however, I can't find any > documentation about the format of the data. > > With X-Plane, it's much better and easier to feed the > data via UDP, and there IS a detailed documentation > about its format, like on this page : > > http://www.x-plane.info/udp/data_types.html > > Where I can find a similar info for FGFS ? > Also, what kind of program I can use to send some test > UDP packets to FGFS ? Telnet ? > > Sorry, but I'm too naive about these things... > > Isao > > > ___ > Flightgear-devel mailing list > Flightgear-devel@flightgear.org > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > 2f585eeea02e2c79d7b1d8c4963bae2d > See the file $FG_ROOT/Docs/README.protocol for a start. If you have the source, look in src/Network for the code. nateive_fdm.cxx, native_ctrls.cxx or generic.cxx might be what you want, Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Controlling FlightGear from external flight data.
Hi, I've been looking for a couple of weeks now, trying to find information about how to control FGFS from external flight data, such as airspeed, altitude, attitude, etc. which are fed by UDP packets. All I could find was to use external flight model of some sort, by typing at command line "fgfs -fdm=external...", however, I can't find any documentation about the format of the data. With X-Plane, it's much better and easier to feed the data via UDP, and there IS a detailed documentation about its format, like on this page : http://www.x-plane.info/udp/data_types.html Where I can find a similar info for FGFS ? Also, what kind of program I can use to send some test UDP packets to FGFS ? Telnet ? Sorry, but I'm too naive about these things... Isao ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Shake your viewpoint baby!
New version up, I think I will call it stable now. I haven't changed the behavior today, just cleaned up the code and hopefully made it a little leaner. Would someone like to commit this now? Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
On Friday 22 July 2005 19:09, Erik Hofman wrote: > Durk Talsma wrote: > > Things are pretty hectic at work right now, so my time is really limited. > > Here is what I have right now. I must be missing something obvious since > the lighting isn't updated based on the sun angle: > > http://www.a1.nl/~ehofman/fgfs/download/sun_angle.diff > Okay, I'll see if I can find some time over the weekend. Cheers, Durk ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Durk Talsma wrote: Things are pretty hectic at work right now, so my time is really limited. Here is what I have right now. I must be missing something obvious since the lighting isn't updated based on the sun angle: http://www.a1.nl/~ehofman/fgfs/download/sun_angle.diff Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Norman Vine wrote: > You should find everything you need to replace the objectional > code here > > http://www.stjarnhimlen.se/comp/sunriset.c > > /* +++Date last modified: 05-Jul-1997 */ > > /* > > SUNRISET.C - computes Sun rise/set times, start/end of twilight, and > the length of the day at any date and latitude > > Written as DAYLEN.C, 1989-08-16 > > Modified to SUNRISET.C, 1992-12-01 > > (c) Paul Schlyter, 1989, 1992 > > Released to the public domain by Paul Schlyter, December 1992 > > */ > > Norman > > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf Of Erik Hofman >>Sent: Friday, July 22, 2005 12:09 PM >>To: FlightGear developers discussions >>Subject: Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux] >> >> >>Steve Hosgood wrote: >> >> >>>Xearth also spawned my own hack "xmars", but since Xplanet does >>>everything in the solar system, I now consider xmars defunct. >> >>Since you are already familiar with this stuff, I need the function to >>calculate the sun position (in degrees or radians) above the horizon at >>a certain time/lat/lon. What is this normally called: RightAscension, >>Declination, Magnitude or something else? >> >>Erik >> >>___ >>Flightgear-devel mailing list >>Flightgear-devel@flightgear.org >>http://mail.flightgear.org/mailman/listinfo/flightgear-devel >>2f585eeea02e2c79d7b1d8c4963bae2d >> > > > ___ > Flightgear-devel mailing list > Flightgear-devel@flightgear.org > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > 2f585eeea02e2c79d7b1d8c4963bae2d > Don't forget that the dude wanted to be cc'd on all this, apparently he didn't join the list. Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
On Friday 22 July 2005 16:22, Erik Hofman wrote: > Andy Ross wrote: > > We should probably fix this, I guess. Maybe the easiest way to do it > > would be to contact the author; is XEarth or descendents still an > > active project? > > Actually, I've tracked this down to just one function to calculate > sun_angle_deg. We do already calculate that in > SimGear/simgear/ephemeris/celestialBody.cxx so in theory it would be > easy to change src/Time/sunsolver.cxx accordingly and get rid of all > those files. > > It's just that I haven't figured it out completely yet. I was hoping > Durk could take a look at it. > > Erik > Maybe this is a good opportunity to go back to this and fix this more properly. I remember never having been entirely satisfied with the exsisting situation. It's been ages though since I last looked at the astronomy code. I'm in favor of fixing this. It would be a shame to let flightgear slip from the SuSe distribution, just because of small set of files that might be mostly redundant. By what time frame would the people at Suse require this to be fixed? Things are pretty hectic at work right now, so my time is really limited. Cheers, Durk ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Andy Ross wrote: Erik Hofman wrote: Since you are already familiar with this stuff, I need the function to calculate the sun position (in degrees or radians) above the horizon at a certain time/lat/lon. What is this normally called: RightAscension, Declination, Magnitude or something else? None of the above. :) Not even "something else"? :-) > Right ascention and declination are the longitude and latitude of the celestial coordinate system. They specify directions to things that are outside our solar system. Things inside it will appear to move depending on their relative position with the earth. Magnitude refers to the brightness of a star. The sun position can be computed if you know the orbital parameters for the earth, but the details are tricky. The way it would work is to define some "sol-centric" coordinate system in which the earth moves, compute a line from the earthbound eyepoint to the sun, figure out what orientation the earth will be in at that moment, and then do an euler angle decomposition relative to the WGS-84 "up" vector and the earth's axis. Basically, it's not easy, which is why it's probably quickest to ask the author to change the license. :) Well, I got the feeling everything needed is already present without those four files, it's just a matter of tying everything together in the right way. Someone with more knowledge about this stuff might do it in a relatively short time. It would also clean up the code a bit. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
You should find everything you need to replace the objectional code here http://www.stjarnhimlen.se/comp/sunriset.c /* +++Date last modified: 05-Jul-1997 */ /* SUNRISET.C - computes Sun rise/set times, start/end of twilight, and the length of the day at any date and latitude Written as DAYLEN.C, 1989-08-16 Modified to SUNRISET.C, 1992-12-01 (c) Paul Schlyter, 1989, 1992 Released to the public domain by Paul Schlyter, December 1992 */ Norman > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Erik Hofman > Sent: Friday, July 22, 2005 12:09 PM > To: FlightGear developers discussions > Subject: Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux] > > > Steve Hosgood wrote: > > > Xearth also spawned my own hack "xmars", but since Xplanet does > > everything in the solar system, I now consider xmars defunct. > > Since you are already familiar with this stuff, I need the function to > calculate the sun position (in degrees or radians) above the horizon at > a certain time/lat/lon. What is this normally called: RightAscension, > Declination, Magnitude or something else? > > Erik > > ___ > Flightgear-devel mailing list > Flightgear-devel@flightgear.org > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > 2f585eeea02e2c79d7b1d8c4963bae2d > ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Erik Hofman wrote: > Since you are already familiar with this stuff, I need the function to > calculate the sun position (in degrees or radians) above the horizon > at a certain time/lat/lon. What is this normally called: > RightAscension, Declination, Magnitude or something else? None of the above. :) Right ascention and declination are the longitude and latitude of the celestial coordinate system. They specify directions to things that are outside our solar system. Things inside it will appear to move depending on their relative position with the earth. Magnitude refers to the brightness of a star. The sun position can be computed if you know the orbital parameters for the earth, but the details are tricky. The way it would work is to define some "sol-centric" coordinate system in which the earth moves, compute a line from the earthbound eyepoint to the sun, figure out what orientation the earth will be in at that moment, and then do an euler angle decomposition relative to the WGS-84 "up" vector and the earth's axis. Basically, it's not easy, which is why it's probably quickest to ask the author to change the license. :) Andy ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Steve Hosgood wrote: Xearth also spawned my own hack "xmars", but since Xplanet does everything in the solar system, I now consider xmars defunct. Since you are already familiar with this stuff, I need the function to calculate the sun position (in degrees or radians) above the horizon at a certain time/lat/lon. What is this normally called: RightAscension, Declination, Magnitude or something else? Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
On Fri, 2005-07-22 at 15:15, Andy Ross wrote: > We should probably fix this, I guess. Maybe the easiest way to do it > would be to contact the author; is XEarth or descendents still an > active project? > I've just been looking for xearth, and just about all the links I can find are dead. However, xearth spawned Xglobe and Xplanet, both of which claim to be GPL, and Xplanet is most certainly a live project. Xearth also spawned my own hack "xmars", but since Xplanet does everything in the solar system, I now consider xmars defunct. Xplanet claims that it pinched its moon position code from xearth, and Xglobe claims that it pinched its sun position code from xearth too. If xearth isn't GPL, that might compromise Xplanet and or Xglobe's claims to be GPL. However, Xplanet would seem like a good place to go looking for GPL sun-position code. Steve ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Ross schrieb: > Curt forwarded from Lukas Tinkl: > >>we at SUSE recently stumbled upon this problem: some of the >>code contained in FlightGear contains a non-commercial lincese >>which forbids us from further distributing it. The consequence >>is that FlightGear wouldn't be part of the upcoming SUSE Linux >>release. > > > SuSE is (or was, or would be) shipping FlightGear? I had no > idea. SuSE was shipping it for ages. They were even advertising with FlightGear (under the Games section though - but it has changed: http://www.novell.com/products/linuxprofessional/games.html). Current links are: http://www.novell.com/products/linuxpackages/professional/flightgear.html http://www.novell.com/coolsolutions/feature/11290.html CU, Christian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (MingW32) iD8DBQFC4QTXlhWtxOxWNFcRApuQAJ9j0kSEisw0KSsPjg2aTqlPdvnx0QCeJhla 30QjPd7K58FCIUtwMBYzIJs= =4Joa -END PGP SIGNATURE- ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Andy Ross wrote: We should probably fix this, I guess. Maybe the easiest way to do it would be to contact the author; is XEarth or descendents still an active project? Actually, I've tracked this down to just one function to calculate sun_angle_deg. We do already calculate that in SimGear/simgear/ephemeris/celestialBody.cxx so in theory it would be easy to change src/Time/sunsolver.cxx accordingly and get rid of all those files. It's just that I haven't figured it out completely yet. I was hoping Durk could take a look at it. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Curt forwarded from Lukas Tinkl: > we at SUSE recently stumbled upon this problem: some of the > code contained in FlightGear contains a non-commercial lincese > which forbids us from further distributing it. The consequence > is that FlightGear wouldn't be part of the upcoming SUSE Linux > release. SuSE is (or was, or would be) shipping FlightGear? I had no idea. We should probably fix this, I guess. Maybe the easiest way to do it would be to contact the author; is XEarth or descendents still an active project? Andy ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
Lukáš Tinkl wrote: Hello Flightgear crew, we at SUSE recently stumbled upon this problem: some of the code contained in FlightGear contains a non-commercial lincese which forbids us from further distributing it. The consequence is that FlightGear wouldn't be part of the upcoming SUSE Linux release. The affected files are: src/Time/moonpos.cxx src/Time/moonpos.hxx src/Time/sunpos.hxx Hmm, the .hxx files don't contain any code that couldn't be GPL or BSD. These files were newly created for FlightGear. The .cxx files are a different matter, although moonpos.cxx was derived from sunpos.cxx so there is basically one file that needs to be rewritten. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] T38 and other aircraft xml files overwrite scenario settings
Dave Culp wrote: >>Today i found out, that using the T38 overwrites other scenario settings >>which are set in the preferences.xml file. > > > It's been like that for over a year. > > >>Scenarios should never be set in the aircraft's xml files. > > > Unless the aircraft is demonstrating an AI capability. > > >>Hunter/hunter-2tanks-set.xml: ship_demo >>OV10/OV10-set.xml: thunderstorm_demo > > Thunderstorm and weather radar demo > >>T38/T38-set.xml: refueling_demo > > Refueling and air-air radar demo > >>sgs233/sgs233-set.xml: thermal_demo > > Thermal demo > > >>The reason to remove them is, that it's not a good idea to set them in the >>aircraft files when they overwrite other scenario settings that are set in >>the user specific preferences.xml file. > > > Unless the user(s) aren't aware of the capabilities demonstrated in this way. > > > >>Imagine that someone wants to use the sgs233 glider and fly around over the >>Alps. >>What does he do? >>He will create a new scenario demo file to have thermals over the Alps and > > > Not in my experience. What he'll do is complain that FlightGear doesn't > have > any thermals and that it sucks compared to any other sim. > > >>Why does someone want to have thermals over KSFO when he wants to fly over >>the Alps? That makes no sense. > > > See above. > > >>Is it possible to make flightgear be able to use more than one scenario >>demo file at the same time? > > > No. > > > Dave > > ___ > Flightgear-devel mailing list > Flightgear-devel@flightgear.org > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > 2f585eeea02e2c79d7b1d8c4963bae2d > Here is a T38 without the radar demo: http://jrbabcock.home.comcast.net/flightgear/index.html Perhaps this should be checked in by somebody? In the future I think that any planes which have demo scenarios should be clearly marked and have a clean version as well. Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] [Fwd: licensing problems in SUSE Linux]
-- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d --- Begin Message --- [I was rejected to post to the mailing list, resending to you] Hello Flightgear crew, we at SUSE recently stumbled upon this problem: some of the code contained in FlightGear contains a non-commercial lincese which forbids us from further distributing it. The consequence is that FlightGear wouldn't be part of the upcoming SUSE Linux release. The affected files are: src/Time/moonpos.cxx src/Time/moonpos.hxx src/Time/sunpos.hxx Their license doesn't allow further redistribution of the code for commercial purposes... One solution is to remove or rewrite the aforementioned code, or to replace it with other freely available solutions (like libastronomy - http://home.cs.tum.edu/~roalter/libAstronomy/). I hope we will come to a conclusion that will satisfy both sides; P.S. CC me, I'm not subscribed Regards, -- Lukáš Tinkl SuSE & KDE developer --- SuSE CR, s.r.o.  e-mail: [EMAIL PROTECTED], [EMAIL PROTECTED] Drahobejlova 27  tel: +420 2 9654 2373 190 00 Praha 9  fax: +420 2 9654 2374 Czech Republic  http://www.suse.cz/ --- End Message --- ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d