From 827150f166ebdf1e236a0b3e9912064dde78b866 Mon Sep 17 00:00:00 2001 From: MihirGore23 Date: Mon, 12 Aug 2024 18:30:01 +0530 Subject: [PATCH] Add start_console --- .../python_template/ros2_humble/GUI.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exercises/static/exercises/human_detection_newmanager/python_template/ros2_humble/GUI.py b/exercises/static/exercises/human_detection_newmanager/python_template/ros2_humble/GUI.py index d2145e33d..44e68bf24 100755 --- a/exercises/static/exercises/human_detection_newmanager/python_template/ros2_humble/GUI.py +++ b/exercises/static/exercises/human_detection_newmanager/python_template/ros2_humble/GUI.py @@ -13,7 +13,7 @@ import logging from hal_interfaces.general.odometry import OdometryNode - +from console_interfaces.general.console import start_console # Graphical User Interface Class class GUI: @@ -179,6 +179,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()