ThorstenB [Sun, 13 Feb 2011 15:50:23 +0000 (16:50 +0100)]
Avoid crash and/or long delay on shutdown in METAR loader.
Catching loader thread on subsystem destruction is too late, since it
depends on other subsystems (which are destroyed earlier).
=> Need to stop & join thread during subsystem shutdown.
Also changed loader sleep logic - to avoid excessive delays (up to
30 seconds) on shutdown.
(Issues mostly happened when running offline with realwx enabled.)
ThorstenB [Sun, 13 Feb 2011 15:50:23 +0000 (16:50 +0100)]
Avoid crash and/or long delay on shutdown in METAR loader.
Catching loader thread on subsystem destruction is too late, since it
depends on other subsystems (which are destroyed earlier).
=> Need to stop & join thread during subsystem shutdown.
Also changed loader sleep logic - to avoid excessive delays (up to
30 seconds) on shutdown.
(Issues mostly happened when running offline with realwx enabled.)
ThorstenB [Sun, 6 Feb 2011 14:16:58 +0000 (15:16 +0100)]
Bertrand Coconnier: updated fix for #204 and #222: JSBSim reset
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.
ThorstenB [Sat, 5 Feb 2011 16:49:26 +0000 (17:49 +0100)]
Improved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
Extends and partially reverts commit 287cc74965e11ff3888117a9d9b88ed2bdbb9252
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.
ThorstenB [Sun, 6 Feb 2011 14:33:27 +0000 (15:33 +0100)]
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically generated because the method JSBSim::unbind() was not implemented in JSBSim.cxx.
ThorstenB [Sun, 6 Feb 2011 14:16:58 +0000 (15:16 +0100)]
Bertrand Coconnier: updated fix for #204 and #222: JSBSim reset
Use shared property pointers instead of path strings, adapt method
names to JSBSim style, catch all property ties, proper error handling
when tieing failed.
ThorstenB [Sat, 5 Feb 2011 16:49:26 +0000 (17:49 +0100)]
Improved fix for #204 and #222: JSBSim::unbind() needs to untie _all_ its properties
Extends and partially reverts commit 287cc74965e11ff3888117a9d9b88ed2bdbb9252
Previous fix did not consider properties outside the /fdm/jsbsim branch.
FGPropertyManager now keeps track of all its tied properties - and provides
a method to cleanly untie them again.
ThorstenB [Fri, 4 Feb 2011 18:38:22 +0000 (19:38 +0100)]
Not reported by cppcheck: fix another memory leak :)
Extends/changes commit 687be046789e2f509ccf93155456c47f3f463e0c
to fix a related second leak (with "model").
ThorstenB [Thu, 27 Jan 2011 23:06:23 +0000 (00:06 +0100)]
Proposed fix for #251: Waypoint handling
Do not consider destination/runway waypoints as done, when these
are far away - even if the course is off by > 90 degrees.
ThorstenB [Thu, 27 Jan 2011 23:06:23 +0000 (00:06 +0100)]
Proposed fix for #251: Waypoint handling
Do not consider destination/runway waypoints as done, when these
are far away - even if the course is off by > 90 degrees.
ThorstenB [Sun, 30 Jan 2011 16:35:07 +0000 (17:35 +0100)]
Fix viewer issue with Tower and Chase View.
When looking _at_ a model with an x,y offset of 0,
then the view heading has no effect. So, force heading offset property
to 0 to keep other property consumers from running incorrect calculations.
=> Trying to rotate the heading offset in Tower/Chase view no longer
rotates the blue sky around the aircraft, though the viewer itself
isn't rotating anything.
Erik Hofman [Sun, 30 Jan 2011 10:04:37 +0000 (11:04 +0100)]
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically generated because the method JSBSim::unbind() was not implemented in JSBSim.cxx.
Torsten Dreyer [Wed, 19 Jan 2011 18:36:04 +0000 (19:36 +0100)]
Fix bug #253, at least partially
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
Torsten Dreyer [Wed, 19 Jan 2011 18:36:04 +0000 (19:36 +0100)]
Fix bug #253, at least partially
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
John Denker [Mon, 30 Nov 2009 10:19:17 +0000 (03:19 -0700)]
Fix ADF bugs ... including still driving the needle when power off.
ADF bug fixes from John Denker. Changes from current behaviour are:
* Include the power button in the electrical checks
* Raise the required input voltage from 1V to 8V
* Don't reset the heading to 90 degrees when out of range or no power
(heading is now only reset to 90 in ANT or TEST mode)