From e7ef4f4772fab30b67e1569553453bebbd0440ff Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 23 Aug 2005 02:26:16 +0000 Subject: [PATCH] Scale gyro input power for the new[er] electrical system. --- src/Instrumentation/turn_indicator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Instrumentation/turn_indicator.cxx b/src/Instrumentation/turn_indicator.cxx index be03a8879..f04c33369 100644 --- a/src/Instrumentation/turn_indicator.cxx +++ b/src/Instrumentation/turn_indicator.cxx @@ -94,7 +94,8 @@ void TurnIndicator::update (double dt) { // Get the spin from the gyro - _gyro.set_power_norm(_electric_current_node->getDoubleValue()/60.0); + double power = _electric_current_node->getDoubleValue() / 24.0; + _gyro.set_power_norm(power); _gyro.update(dt); double spin = _gyro.get_spin_norm(); -- 2.39.5