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

a

parent 7f1ec683
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ class Robomaster_odom(Node):
t.header.frame_id = 'odom'
t.child_frame_id = "base_link"
t.transform.translation.x = float(xyzlist[0])
t.transform.translation.y = float(xyzlist[1])
t.transform.translation.y = -float(xyzlist[1])
t.transform.translation.z = 0.0
q = quaternion_from_euler(0, 0, -float(xyzlist[2])* math.pi/180)
t.transform.rotation.x = q[0]
......
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