Error message:
roslaunch file contains multiple nodes named [/map_server]. Please check all <node> 'name' attributes to make sure they are unique. Also check that $(anon id) use different ids. The traceback for the exception was written to the log file
Launch file:
<launch>
<include file ="$(find turtlebot_bringup)/launch/minimal.launch" />
<arg name="map_file" default="/home/gab/catkin_ws/src/gabS/Desktop.yaml" />
<node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />
<include file="$(find turtlebot_navigation)/launch/amcl_demo.launch" />
<include file="$(find turtlebot_rviz_launchers)/launch/view_navigation.launch" />
</launch>
Originally posted by gab on ROS Answers with karma: 1 on 2018-10-22
Post score: 0
Original comments
Comment by l4ncelot on 2018-10-23:
There's probably another node tag with the name map_server
in the launch files you include here. In ROS every node must have unique name tag attribute (as the error message describes). You probably wanted to use only one of the map_server
node, therefore delete the remaining ones.