Freezing position while maintaining velocities #1209
-
Hey, I'm using JSBSim with flightgear and have the following problem: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
You may try freezing the integration scheme of the aircraft position and attitude. For that you would set the following properties to 0:
Once you've completed the aircraft setup, you would restore the values of these properties to their initial values. Not sure this will give the expected result, but at least it should prevent the aircraft from moving while updating the velocities and accelerations. |
Beta Was this translation helpful? Give feedback.
-
Earth rotation?
…On December 21, 2024 7:19:55 PM EST, merspieler ***@***.***> wrote:
looks promising, it almost stops, and releasing the movement also works fine.
Only issue I've found is that the aircraft starts moving west for some reason which is a bit strange to me but I think this would already work for me as I think the period I freeze the aircraft for might be short enough that I can a) ignore it or b) account for that in the startup location.
Thank you very much so far
--
Reply to this email directly or view it on GitHub:
#1209 (reply in thread)
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
--Adam
|
Beta Was this translation helpful? Give feedback.
-
What sorts of systems take a while to initialize? In particular do any of them adjust any of the inceptors (throttle, stick, rudder pedals)? In general I'd suggest getting the aircraft trimmed at your selected position, altitude and speed. If the systems don't make any changes to the inceptors, or change the mass distribution etc. during initialization then the aircraft will still be in trim once they are initialized. |
Beta Was this translation helpful? Give feedback.
Oops ! EDIT The properties names were wrong, they actually are:
simulation/integrator/position/translational
simulation/integrator/position/rotational