On Fri, 2008-06-13 at 14:14 +0200, Holger Wirtz wrote: > Hi, > > sorry, this is perhaps a little bit off topic but I haven't found any > answers the last days: > > How can I start up at a specific position in air? > I found some hints at > http://wiki.flightgear.org/index.php/Starting_in_the_Air but if I use > the SenecaII I have the problem that the magnetos are off, the nose of > the plane is turned down to earth and the simulation is in running > state. I tried the following: > > fgfs \ > --altitude=5000 \ > --heading=270 \ > --vc=110 \ > --vor=OAK \ > --offset-distance=5 \ > --offset-azimuth=270 \ > --aircraft=SenecaII-jsbsim \ > --prop:/controls/engines/engine/throttle=0.8 \ > --prop:/controls/engines/engine/magneto=true \ > --prop:/controls/engines/engine/magneto[0]=true \ > --prop:/controls/engines/engine[0]/magneto=true \ > --prop:/controls/engines/engine[1]/magneto=true \ > --prop:/controls/engines/engine[0]/magneto[0]=true \ > --prop:/controls/engines/engine[1]/magneto[0]=true \ > --prop:/controls/engines/engine[0]/starter=true \ > --prop:/controls/engines/engine[1]/starter=true \ > --enable-freeze \ > --geometry=170x100 > > I need this for learning landings and ILS approaches towards an airport. > For this it would be nice when the simulations starts at a well trimmed > point... > > Has anyone an idea how to get this running? > > Thanks, Holger >
It didn't help me, but perhaps it will lead you to the right path. "/controls/engines/engine/magneto" is the same property as "/controls/engines/engine[0]/magneto" and "/controls/engines/engine[0]/magneto[0]" That is, the subscript [0] is the same as no subscript. The command line property tree doesn't understand "true" and "false" use 1 and 0 instead. SenecaII uses three settings for each engine's magnetos: --prop:/controls/engines/engine[0]/magneto[0]=1 \ --prop:/controls/engines/engine[0]/magneto[1]=1 \ --prop:/controls/engines/engine[0]/magnetos=3 \ \ --prop:/controls/engines/engine[1]/magneto[0]=1 \ --prop:/controls/engines/engine[1]/magneto[1]=1 \ --prop:/controls/engines/engine[1]/magnetos=3 Good luck, Ron ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

