ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Correct way to map velocity_controller/cmd_vel to /cmd_vel

asked 2021-08-07 10:30:55 -0500

lucash gravatar image

Hello!

I've created a differential robot using ros_control packages and everything works as expected. The only thing I couldn't quite get right is how to change the topic keeping track of the cmd_vel from /robot_velocity_controller/cmd_vel to just /cmd_vel. I've thought of using a topic relay, but it doesn't seem right. Is there a "native" way to do this in controller_manager? What is the correct way to do this?

Also, the same happens for the Odometry. I'd like for it to be published in /odom, but it is currently being published in /robot_velocity_controller/odom. Can I apply the same fix from cmd_vel?

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-08-07 15:26:56 -0500

404RobotNotFound gravatar image

updated 2021-08-07 15:27:05 -0500

Remapping, see this similar question:

https://answers.ros.org/question/9248...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-08-07 10:30:55 -0500

Seen: 223 times

Last updated: Aug 07 '21