merge Position changer into main for report #11

Merged
SemvdH merged 83 commits from position_changer into main 2023-05-26 21:15:20 +00:00
Showing only changes of commit 741e710940 - Show all commits

View File

@@ -123,7 +123,7 @@ class ApiListener(Node):
message_json = json.loads(str(message))
self.get_logger().info(f'JSON: {str(message_json)}, type:{type(message_json)}')
self.get_logger().info(f'JSON CMD: {str(message_json["command"])}, type:{type(message_json["command"])}')
if not message_json["command"]:
if not "command" in message_json:
self.get_logger().error('Received message without command')
self.send_available_commands()
else: