From 6754c42e359ac5e390a9b45a8fe856366b04cfed Mon Sep 17 00:00:00 2001 From: Jakub Delicat Date: Wed, 4 Oct 2023 11:58:58 +0200 Subject: [PATCH] Fixed log pioneer id Signed-off-by: Jakub Delicat --- safety_user_plugin/qt_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safety_user_plugin/qt_wrapper.py b/safety_user_plugin/qt_wrapper.py index 960545f..6d288d3 100644 --- a/safety_user_plugin/qt_wrapper.py +++ b/safety_user_plugin/qt_wrapper.py @@ -164,7 +164,7 @@ class QtWrapper: def select_robot(self, robot_id): self.disconnect_signals() self.connect_robot_signals() - self.log_info(self.language.robot_selected_text.format(robot_id)) + self.log_info(self.language.robot_selected_text.format(robot_id+1)) self.log_info(self.language.stopped_and_engaged_text) self.widget.choiceButton.setText(self.language.release_robot_text)