rviz published topic remap
When i run the rviz, it is publishing the ros topic /move_base_simple/goal
. I have a robot which is subscribing the topic /medicbot/move_base_simple/goal
from a move base node. How do i remap or rename the topic /move_base_simple/goal
which is published from the rviz node?
Asked by dinesh on 2020-08-31 06:31:53 UTC
Answers
You can edit the launch file and use the remap tag as mentioned by @Delb, however if you prefer to use Rviz itself, this is how to do it:
- Open rviz. Right click on 2D Nav Goal
- Then select Tools properties
- Enter the correct the topic in the 2D Nav Goal topic section
- Close the tool properties window
If you want to save your configuration for later use:
- Go to File->Save Config to save your rviz configuration
Asked by Roberto Z. on 2020-08-31 10:54:44 UTC
Comments
What about remapping ?
Asked by Delb on 2020-08-31 06:57:01 UTC
Asked by dinesh on 2020-08-31 06:58:47 UTC
Please detail exactly what you launch (i.e. the full launch file etc..) because with this launch file :
It worked propperly so you might be doing something wrong, but not providing enough data for us to help you.
Asked by Delb on 2020-08-31 07:24:59 UTC
ok. its working now.
Asked by dinesh on 2020-08-31 09:24:25 UTC