From aa6f3f2d6fff9cdf85a08e298e23345c50998a7d Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Sat, 28 Jul 2018 19:06:38 -0700 Subject: [PATCH] Fixed compass so it shows on startup again. --- .../Framework/NavigationSystems/SpeedAndHeadingIndication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/ros_packages/ground_station/src/Framework/NavigationSystems/SpeedAndHeadingIndication.py b/software/ros_packages/ground_station/src/Framework/NavigationSystems/SpeedAndHeadingIndication.py index eb5c45a..6a94bdc 100644 --- a/software/ros_packages/ground_station/src/Framework/NavigationSystems/SpeedAndHeadingIndication.py +++ b/software/ros_packages/ground_station/src/Framework/NavigationSystems/SpeedAndHeadingIndication.py @@ -66,7 +66,7 @@ class SpeedAndHeadingIndication(QtCore.QThread): self.shown_heading = (self.current_heading + (1.5 * ROTATION_SPEED_MODIFIER)) % 360 self.current_heading_shown_rotation_angle = 0 - self.last_current_heading_shown = 0 + self.last_current_heading_shown = -1000 self.rotation_direction = 1 self.imu_data = None