From cdfc76789173155e7f6fdc8d27137149e6f41fc6 Mon Sep 17 00:00:00 2001 From: Chris Pham Date: Thu, 8 Feb 2018 14:02:43 -0800 Subject: [PATCH] Corrcted bool and created the thread for the main class --- ground_station/resources/core/RoverMapCoordinator.py | 2 +- software/ground_station/RoverGroundStation.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ground_station/resources/core/RoverMapCoordinator.py b/ground_station/resources/core/RoverMapCoordinator.py index b266752..6a915ab 100644 --- a/ground_station/resources/core/RoverMapCoordinator.py +++ b/ground_station/resources/core/RoverMapCoordinator.py @@ -57,4 +57,4 @@ class RoverMapCoordinator(QtCore.QThread): self.mapping_label.setPixmap(self.map_thread.display_image) def on_kill_threads_requested_slot(self): - self.run_thread_flag = false \ No newline at end of file + self.run_thread_flag = False \ No newline at end of file diff --git a/software/ground_station/RoverGroundStation.py b/software/ground_station/RoverGroundStation.py index 74c2473..392ee5c 100755 --- a/software/ground_station/RoverGroundStation.py +++ b/software/ground_station/RoverGroundStation.py @@ -95,6 +95,7 @@ class GroundStation(QtCore.QObject): # ##### Instantiate Threaded Classes ###### self.__add_thread("Video Coordinator", RoverVideoCoordinator.RoverVideoCoordinator(self.shared_objects)) + self.__add_thread("Map Coordinator", RoverMapCoordinator.RoverMapCoordinator(self.shared_objects)) self.connect_signals_and_slots_signal.emit() self.__connect_signals_to_slots()