Skip to content

Commit

Permalink
fix print error
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Brameld <kenjibrameld@gmail.com>
  • Loading branch information
ijnek committed Jan 22, 2024
1 parent 82b82a1 commit b058218
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b058218

Please sign in to comment.