mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-01-18 23:56:59 +00:00
update
This commit is contained in:
parent
a1a70c06e8
commit
66829235c3
@ -15,8 +15,8 @@ def odom_callback(msg):
|
|||||||
odom_trans.child_frame_id = "base_link"
|
odom_trans.child_frame_id = "base_link"
|
||||||
|
|
||||||
# Set the translation
|
# Set the translation
|
||||||
odom_trans.transform.translation.x = msg.pose.pose.position.x
|
odom_trans.transform.translation.y = msg.pose.pose.position.x
|
||||||
odom_trans.transform.translation.y = msg.pose.pose.position.y
|
odom_trans.transform.translation.x = msg.pose.pose.position.y
|
||||||
odom_trans.transform.translation.z = msg.pose.pose.position.z
|
odom_trans.transform.translation.z = msg.pose.pose.position.z
|
||||||
|
|
||||||
# Set the rotation
|
# Set the rotation
|
||||||
|
Loading…
Reference in New Issue
Block a user