From d5d38ebe8cdaf2fcc5b6472d1a829686c4b53a02 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 27 May 2003 19:13:51 +0000 Subject: [PATCH] Make the attitude indicator gyro error kick in earlier in the gyro spin down process. Add the annunciator model to the list of managed instrumentation modules. --- src/Instrumentation/attitude_indicator.cxx | 2 +- src/Instrumentation/instrument_mgr.cxx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Instrumentation/attitude_indicator.cxx b/src/Instrumentation/attitude_indicator.cxx index b4d8c7922..a6cdfba26 100644 --- a/src/Instrumentation/attitude_indicator.cxx +++ b/src/Instrumentation/attitude_indicator.cxx @@ -127,7 +127,7 @@ AttitudeIndicator::update (double dt) _pitch_int_node->setDoubleValue(pitch); // add in a gyro underspin "error" if gyro is spinning too slowly - const double spin_thresh = 0.4; + const double spin_thresh = 0.8; const double max_roll_error = 40.0; const double max_pitch_error = 12.0; double roll_error; diff --git a/src/Instrumentation/instrument_mgr.cxx b/src/Instrumentation/instrument_mgr.cxx index 2e927f8d8..6a0ea2124 100644 --- a/src/Instrumentation/instrument_mgr.cxx +++ b/src/Instrumentation/instrument_mgr.cxx @@ -6,6 +6,7 @@ #include "instrument_mgr.hxx" #include "airspeed_indicator.hxx" +#include "annunciator.hxx" #include "attitude_indicator.hxx" #include "altimeter.hxx" #include "turn_indicator.hxx" @@ -21,6 +22,7 @@ FGInstrumentMgr::FGInstrumentMgr () { set_subsystem("asi", new AirspeedIndicator); + set_subsystem("annunciator", new Annunciator); set_subsystem("ai", new AttitudeIndicator); set_subsystem("alt", new Altimeter); set_subsystem("ti", new TurnIndicator); -- 2.39.5