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

a

parent f85d5c5d
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ class Robomaster_odom(Node):
self.tf_broadcaster = TransformBroadcaster(self)
ser.write(("chassis position ?;").encode('utf-8'))
buf = ser.read(1024)
buf = ser.readline(1024)
xyz = buf.decode('utf-8')
self.get_logger().info(xyz)
xyzlist = xyz.split(" ")
......
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