From c425d09c3cf4e1b73e7b44f77fb2525062af0ff1 Mon Sep 17 00:00:00 2001 From: MihirGore23 Date: Mon, 12 Aug 2024 18:29:05 +0530 Subject: [PATCH] Add start_console --- .../python_template/ros2_humble/GUI.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exercises/static/exercises/dl_digit_classifier_newmanager/python_template/ros2_humble/GUI.py b/exercises/static/exercises/dl_digit_classifier_newmanager/python_template/ros2_humble/GUI.py index d2145e33d..76c7a413d 100755 --- a/exercises/static/exercises/dl_digit_classifier_newmanager/python_template/ros2_humble/GUI.py +++ b/exercises/static/exercises/dl_digit_classifier_newmanager/python_template/ros2_humble/GUI.py @@ -13,6 +13,7 @@ import logging from hal_interfaces.general.odometry import OdometryNode +from console_interfaces.general.console import start_console # Graphical User Interface Class @@ -179,6 +180,8 @@ def run(self): host = "ws://127.0.0.1:2303" gui_interface = GUI(host) +start_console() + # Spin a thread to keep the interface updated thread_gui = ThreadGUI(gui_interface) thread_gui.start()