From 8228afdbac4f73f762f1d87c4e9c5519c1b5f6ad Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Tue, 4 Feb 2003 17:23:21 +0000 Subject: [PATCH] Periodically the turn coordinator is jammed all the way to one side. Initialize _last_rate to 0 at start up to hopefully avoid this. --- 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 6cdaef9dc..6d4faedaa 100644 --- a/src/Instrumentation/turn_indicator.cxx +++ b/src/Instrumentation/turn_indicator.cxx @@ -13,7 +13,8 @@ #define RESPONSIVENESS 0.25 -TurnIndicator::TurnIndicator () +TurnIndicator::TurnIndicator () : + _last_rate(0) { }