Re: [Flightgear-devel] Initial conditions at reset

2006-12-05 Thread Jon S. Berndt
 First, as I didnt notice before, the plane is hovering a few feet
 above the
 runway at start as soon as I specify an initial velocity. If I specify the
 initial velocity as zero, it stands on the ground, just as
 normal. By using
 the --notrim option in the command line, it shows up a few inches
 below the
 runway (similar as it is when specifiying --fdm=NULL). Whats the
 reason for
 this? Could it be somewhee in the trimming code?

If you are not trimming, then the aircraft may be placed initially at an
inappropriate altitude, considering where it's CG is defined, and where the
landing gear are defined to be touching. I'm assuming this is for some
JSBSim aircraft. The altitude that the aircraft is initially placed at
should be the vertical distance from the CG to the landing gear location.

 Second, I m still not seeing clearly in the way the reset is processed...
 Could anyone give me a hint as to where the FDM is initialized during the
 reset process? Is the Initialize()-function in the FGState.cpp file still
 involved at all? And if it is not, where does FG take its starting values
 from and where could I tell it to load my initial conditions at
 reset, too?
 (while running FG with --notrim option)

Have you looked inside JSBSim.cxx? That's the interface between FlightGear
and JSBSim.

Jon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Initial conditions at reset

2006-12-05 Thread Thomas Biwer
Thank you for your help Jon,

Is there a way to fix this problem with the altitude on the runway? And
yes, I am using JSBSim planes.

Yes I did take a look in JSBSim.cxx - but without success. I tried to set
the initial conditions within the FGJSBSim()-function as well as within the
init(9 function - none of it worked.
Where should I place it?

Best,
Thomas



[EMAIL PROTECTED] escribió: -


Para: FlightGear developers discussions
flightgear-devel@lists.sourceforge.net
De: Jon S. Berndt [EMAIL PROTECTED]
Enviado por: [EMAIL PROTECTED]
Fecha: 05/12/2006 13:49
Asunto: Re: [Flightgear-devel] Initial conditions at reset

 First, as I didnt notice before, the plane is hovering a few feet
 above the
 runway at start as soon as I specify an initial velocity. If I specify
the
 initial velocity as zero, it stands on the ground, just as
 normal. By using
 the --notrim option in the command line, it shows up a few inches
 below the
 runway (similar as it is when specifiying --fdm=NULL). Whats the
 reason for
 this? Could it be somewhee in the trimming code?

If you are not trimming, then the aircraft may be placed initially at an
inappropriate altitude, considering where it's CG is defined, and where the
landing gear are defined to be touching. I'm assuming this is for some
JSBSim aircraft. The altitude that the aircraft is initially placed at
should be the vertical distance from the CG to the landing gear location.

 Second, I m still not seeing clearly in the way the reset is processed...
 Could anyone give me a hint as to where the FDM is initialized during the
 reset process? Is the Initialize()-function in the FGState.cpp file still
 involved at all? And if it is not, where does FG take its starting values
 from and where could I tell it to load my initial conditions at
 reset, too?
 (while running FG with --notrim option)

Have you looked inside JSBSim.cxx? That's the interface between FlightGear
and JSBSim.

Jon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel