mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 03:15:01 +08:00
fixed odom frame name
This commit is contained in:
@@ -276,7 +276,7 @@ namespace westonrobot
|
|||||||
// publish odometry and tf messages
|
// publish odometry and tf messages
|
||||||
nav_msgs::Odometry odom_msg;
|
nav_msgs::Odometry odom_msg;
|
||||||
odom_msg.header.stamp = current_time_;
|
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.child_frame_id = base_frame_;
|
||||||
|
|
||||||
odom_msg.pose.pose.position.x = position_x_;
|
odom_msg.pose.pose.position.x = position_x_;
|
||||||
|
|||||||
Reference in New Issue
Block a user