changed odom name

Signed-off-by: Jakub Delicat <delicat.kuba@gmail.com>
This commit is contained in:
Jakub Delicat 2023-08-17 10:29:35 +02:00
parent 4c6f618a1a
commit e9e4e82ae8

View File

@ -41,7 +41,7 @@ Ros2Aria::Ros2Aria()
}
r->disableMotors();
pose_pub_ = this->create_publisher<nav_msgs::msg::Odometry>("odom/wheels", 1000);
pose_pub_ = this->create_publisher<nav_msgs::msg::Odometry>("odom", 1000);
odom_tf_broadcaster_ = std::make_unique<tf2_ros::TransformBroadcaster>(*this);
wheels_pub_ = this->create_publisher<sensor_msgs::msg::JointState>("joint_states", 1000);