[ROS Q&A] 078 – ROS Remap

Written by Marco Arruda

11/12/2017

 

Q: Remapping between nodes
How to remap between nodes in launch file. Plz guide.im using Ros indigo version

A: Basically, remap is a feature to rename topics, node names and some special keys of ROS env. You can see in this page what you can remap, like a node name (__node), namespace (__ns), log file (__log), etc.

Example: I’ve a node that publishes Twist messages in a topic called turtlebot_vel, but my robot listens to cmd_vel

You can remap using rosrun command, like this:

 

You May Also Like…

0 Comments

Submit a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share This