del log
This commit is contained in:
@@ -60,7 +60,7 @@ class JoyControlNode(Node):
|
||||
if msg.buttons[i] != self.previous_buttons[i]:
|
||||
self.previous_buttons[i] = msg.buttons[i]
|
||||
command = self.button_map[i]+","+str(msg.buttons[i])
|
||||
self.get_logger().info("key:"+command+","+str(msg.buttons[i]))
|
||||
self.get_logger().info("key:"+command)
|
||||
self.command_publisher.publish(String(data=command))
|
||||
|
||||
#处理axis
|
||||
|
||||
Reference in New Issue
Block a user