test?
This commit is contained in:
@@ -122,7 +122,7 @@ class ApiListener(Node):
|
|||||||
try:
|
try:
|
||||||
message_json = json.loads(str(message))
|
message_json = json.loads(str(message))
|
||||||
self.get_logger().info(f'JSON: {message_json}, type:{type(message_json)}}')
|
self.get_logger().info(f'JSON: {message_json}, type:{type(message_json)}}')
|
||||||
if not message_json["'command'"]:
|
if not message_json["command"]:
|
||||||
self.get_logger().error('Received message without command')
|
self.get_logger().error('Received message without command')
|
||||||
self.send_available_commands()
|
self.send_available_commands()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user