Reset & re-init: Difference between revisions

Jump to navigation Jump to search
m
→‎Motivation: add link to issue https://code.google.com/p/flightgear-bugs/issues/detail?id=419
mNo edit summary
m (→‎Motivation: add link to issue https://code.google.com/p/flightgear-bugs/issues/detail?id=419)
Line 13: Line 13:
== Motivation ==
== Motivation ==


* Re-init of all subsystems doesn't work, because many subsystems don't support it. (There's an open bug about this in the tracker). Instead we have 'reset', which does some special operations, but is different logic from normal startup. This leads to bugs when the reset behaviour differs to a fresh start.
* Re-init of all subsystems doesn't work, because many subsystems don't support it. (There's an [https://code.google.com/p/flightgear-bugs/issues/detail?id=419 open bug about this in the tracker]). Instead we have 'reset', which does some special operations, but is different logic from normal startup. This leads to bugs when the reset behaviour differs to a fresh start.
* JSBSim has issues with resets since it doesn't read simulation state each frame - this is why you can't resume flying from a recording / replay for JSBSim aircraft.
* JSBSim has issues with resets since it doesn't read simulation state each frame - this is why you can't resume flying from a recording / replay for JSBSim aircraft.
** Note this is a different issue from problems with in-air starts, which also needs some tweaking to work with JSBSim.
** Note this is a different issue from problems with in-air starts, which also needs some tweaking to work with JSBSim.

Navigation menu