From f82cb8c643e9c4441bf5343e21a5a225cb183a23 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 25 Apr 2003 03:36:51 +0000 Subject: [PATCH] Reduce pitch error. --- src/Instrumentation/attitude_indicator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Instrumentation/attitude_indicator.cxx b/src/Instrumentation/attitude_indicator.cxx index cc3220ea4..b4d8c7922 100644 --- a/src/Instrumentation/attitude_indicator.cxx +++ b/src/Instrumentation/attitude_indicator.cxx @@ -129,7 +129,7 @@ AttitudeIndicator::update (double dt) // add in a gyro underspin "error" if gyro is spinning too slowly const double spin_thresh = 0.4; const double max_roll_error = 40.0; - const double max_pitch_error = 15.0; + const double max_pitch_error = 12.0; double roll_error; double pitch_error; if ( spin <= spin_thresh ) { @@ -144,7 +144,6 @@ AttitudeIndicator::update (double dt) _roll_out_node->setDoubleValue(roll + roll_error); _pitch_out_node->setDoubleValue(pitch + pitch_error); - } // end of attitude_indicator.cxx -- 2.39.5