fixed odom frame name

This commit is contained in:
pinloon.lee
2021-05-18 17:54:20 +08:00
parent 708c6f24e7
commit 4e6d400ca8

View File

@@ -276,7 +276,7 @@ namespace westonrobot
// publish odometry and tf messages
nav_msgs::Odometry odom_msg;
odom_msg.header.stamp = current_time_;
odom_msg.header.frame_id = "testes";
odom_msg.header.frame_id = odom_frame_;
odom_msg.child_frame_id = base_frame_;
odom_msg.pose.pose.position.x = position_x_;