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

Revision history [back]

I would advise creating your own package containing the launch files you need. You can copy the gmapping.launch.xml file into your own package and include it from your own package instead of the original location. Change sth like this <include file="$(find ORIGINAL_PACKAGE)/launch/includes/gmapping.launch.xml"/> into this <include file="$(find YOUR_PACKAGE)/launch/includes/gmapping.launch.xml"/>

Then you can edit the file in your own package and also keep track of the required configuration.

See this for best practice on launch files: https://wiki.ros.org/ROS/Tutorials/Roslaunch%20tips%20for%20larger%20projects