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

a

parent c108a451
No related branches found
No related tags found
No related merge requests found
......@@ -56,8 +56,8 @@ class Robomaster_odom(Node):
xyzlist = xyz.split(" ")
t = TransformStamped()
t.header.stamp = self.get_clock().now().to_msg()
t.header.frame_id = 'base_footprint'
t.child_frame_id = "odom"
t.header.frame_id = 'odom'
t.child_frame_id = "base_footprint"
t.transform.translation.x = float(xyzlist[0])
t.transform.translation.y = -float(xyzlist[1])
t.transform.translation.z = 0.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