From b058218ae267dce8ecabf5574f1b01671f68f977 Mon Sep 17 00:00:00 2001 From: Kenji Brameld Date: Mon, 22 Jan 2024 03:41:14 +0000 Subject: [PATCH] fix print error Signed-off-by: Kenji Brameld --- .../game_controller_spl/game_controller_spl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game_controller_spl/game_controller_spl/game_controller_spl.py b/game_controller_spl/game_controller_spl/game_controller_spl.py index 02f38dc..1d38429 100644 --- a/game_controller_spl/game_controller_spl/game_controller_spl.py +++ b/game_controller_spl/game_controller_spl/game_controller_spl.py @@ -92,7 +92,7 @@ def _setup_methods(self, rcgcd_version, rcgcrd_version): GAMECONTROLLER_DATA_PORT from game_controller_spl.rcgcd_15.conversion import rcgcd_data_to_msg else: - self.get_logger().error('rcgcd_version ' + rcgcd_version + ' is not supported.') + self.get_logger().error('rcgcd_version ' + str(rcgcd_version) + ' is not supported.') self.RCGCD = RCGCD self.GAMECONTROLLER_DATA_PORT = GAMECONTROLLER_DATA_PORT self.rcgcd_data_to_msg = rcgcd_data_to_msg @@ -104,7 +104,7 @@ def _setup_methods(self, rcgcd_version, rcgcrd_version): from game_controller_spl.rcgcrd_4.robocup_game_control_return_data import \ GAMECONTROLLER_RETURN_PORT else: - self.get_logger().error('rcgcrd_version ' + rcgcrd_version + ' is not supported.') + self.get_logger().error('rcgcrd_version ' + str(rcgcrd_version) + ' is not supported.') self.RCGCRD = RCGCRD self.rcgcrd_msg_to_data = rcgcrd_msg_to_data self.GAMECONTROLLER_RETURN_PORT = GAMECONTROLLER_RETURN_PORT