From 598db3d5281c75ac25b0e1566bb8e45ac10d061d Mon Sep 17 00:00:00 2001 From: david Date: Fri, 4 Oct 2002 01:04:20 +0000 Subject: [PATCH] Decrease the error (slightly) from a power glide. --- src/Instrumentation/attitude_indicator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/attitude_indicator.cxx b/src/Instrumentation/attitude_indicator.cxx index b33f25da8..5378e15ed 100644 --- a/src/Instrumentation/attitude_indicator.cxx +++ b/src/Instrumentation/attitude_indicator.cxx @@ -74,7 +74,7 @@ AttitudeIndicator::update (double dt) // Next, calculate the indicated roll // and pitch, introducing errors. - double factor = 1.0 - ((1.0 - spin) * (1.0 - spin)); + double factor = 1.0 - ((1.0 - spin) * (1.0 - spin) * (1.0 - spin)); double roll = _roll_in_node->getDoubleValue(); double pitch = _pitch_in_node->getDoubleValue(); roll = 35 + (factor * (roll - 35)); -- 2.39.5