Skip to content
Snippets Groups Projects
Commit 95368992 authored by Emil Harlan's avatar Emil Harlan
Browse files

upate

parent 59bae8b5
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ class vel_from_ros_node(Node):
def pose_callback(self, msg: Twist):
command = "chassis speed x " + str(msg.linear.x) + " y " + str(msg.linear.y) + " z " + str(msg.angular.z)+ ";"
ser2.write(msg.encode('utf-8'))
ser2.write(command.encode('utf-8'))
class Robomaster_odom(Node):
def __init__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment