Startup Profiles: Difference between revisions

Jump to navigation Jump to search
m
more de-quoting
No edit summary
m (more de-quoting)
Line 19: Line 19:


As previously reported, the corresponding [[Fixing Presets|presets]] have no effect during a re-init, e.g. via fgcommand("presets-commit").<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20095.html |title= a few more bugs|author=John Denker|date=  Tue, 30 Dec 2008 09:50:28 -0800}} </ref>
As previously reported, the corresponding [[Fixing Presets|presets]] have no effect during a re-init, e.g. via fgcommand("presets-commit").<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20095.html |title= a few more bugs|author=John Denker|date=  Tue, 30 Dec 2008 09:50:28 -0800}} </ref>
== Problem ==
Note, it appears that in air startups are broken and probably haven't worked for a while with JSBSim and YASim. <ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg25882.html |title= Setting position via property tree|author=Curtis Olson |date=  Tue, 26 Jan 2010 07:54:25 -0800}} </ref>
Once the users intentions have been communicated to the FDM module, it's really up to the particular FDM, (JSBsim or YAsim) to do the right thing with the provide information.  That does seem to have broke down at some point.  I used to be able to happily start both YAsim and JSBsim aircraft in flight, but had zero luck last time I tried.
<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20132.html |title= amazing FDM initialization bug|author=Curtis Olson |date=Wed, 31 Dec 2008 10:43:18 -0800}} </ref>
Unfortunately the underlying FDMs (JSBSim and Yasim) also have some limitations in this area - some won't correctly trim the aircraft unless it starts on the ground and stationary. Thorsten Brehm has done some improvements in this area but you still need to experiment to find all the settings for a particular aircraft, unfortunately.
The real solution is each aircraft needs some additional code, which represents the 'in-air' state, or at least some sensible values) - engines running, gear up, fuel pumps on, etc. And then we need a way to request that state. This would be a fairly major addition, but it's something to consider after the next release.<ref>{{cite web |url=http://flightgear.org/forums/viewtopic.php?f=25&t=18466&p=171983&hilit=yasim+jsbsim+thorsten#p171983 |title= Re: starting in the air|author=Zakalawe |date=  Fri Dec 07, 2012 12:19 pm}} </ref>


== Background ==
== Background ==
Line 128: Line 138:
There is still some opportunity for improvement in connection with presets-commit and with FDM init in general.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20095.html |title= location-in-air|
There is still some opportunity for improvement in connection with presets-commit and with FDM init in general.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20095.html |title= location-in-air|
author=John Denker|date=Sun, 07 Jan 2007 09:20:14 -0800}} </ref>|John Denker}}
author=John Denker|date=Sun, 07 Jan 2007 09:20:14 -0800}} </ref>|John Denker}}
{{cquote|Once the users intentions have been communicated to the FDM module, it's really up to the particular FDM, (JSBsim or YAsim) to do the right thing with the provide information.  That does seem to have broke down at some point.  I used to be able to happily start both YAsim and JSBsim aircraft in flight, but had zero luck last time I tried.
<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20132.html |title= amazing FDM initialization bug|author=Curtis Olson |date=Wed, 31 Dec 2008 10:43:18 -0800}} </ref>|Curtis Olson}}
{{cquote|Note, it appears (as best as I can see) that in air startups are broke and probably haven't worked for a while with JSBSim and YASim.  They do however continue to work fine with an external proprietary fdm I've been using for another project.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg25882.html |title= Setting position via property tree|author=Curtis Olson |date=  Tue, 26 Jan 2010 07:54:25 -0800}} </ref>|Curtis Olson}}
{{cquote|Unfortunately the underlying FDMs (JSBSim and Yasim) also have some limitations in this area - some won't correctly trim the aircraft unless it starts on the ground and stationary. Thorsten Brehm has done some improvements in this area but you still need to experiment to find all the settings for a particular aircraft, unfortunately.
The real solution is each aircraft needs some additional code, which represents the 'in-air' state, or at least some sensible values) - engines running, gear up, fuel pumps on, etc. And then we need a way to request that state. This would be a fairly major addition, but it's something to consider after the next release.<ref>{{cite web |url=http://flightgear.org/forums/viewtopic.php?f=25&t=18466&p=171983&hilit=yasim+jsbsim+thorsten#p171983 |title= Re: starting in the air|author=Zakalawe |date=  Fri Dec 07, 2012 12:19 pm}} </ref>|James Turner}}




Navigation menu