ros gmapping change scan topic
Dear all.
I have a new topic name for a LaserScan.
When I run:
rosrun gmapping slam_gmapping scan:=new_topic_name
The gmapping takes the data under the new topic name.
However when I run a launch file
node name="slam_gmapping" pkg="gmapping" type="slam_gmapping" args="new_topic_name"
respawn="false" output="screen">
The gmapping doesnt take the data under the new topic name, it takes instead the data from the scan topic.
Can somebody explain why and how to solve that issue.
In advance thank you to all.
Did you look at: http://wiki.ros.org/roslaunch/XML/arg