Abstract
This chapter will present the new roslaunch2 tool and its underlying architecture and associated API. It is a pure Python-based ROS package that facilitates writing flexible and versatile launch modules in the Python programming language both for simulation and real hardware setups, as contrasted with the existing XML based launch file system of ROS, namely roslaunch. Note that roslaunch2 is not (yet) designed and developed for ROS 2 but for ROS 1 only although it may also inspire the development (of the launch system) of ROS 2. It is compatible with all ROS versions providing roslaunch which is used as its backend. roslaunch2 has been tested and heavily used on ROS Indigo, Jade, Kinetic, and Lunar; it also supports a “dry-mode” to generate launch files without ROS being installed at all. The key features of roslaunch2 are versatile control structures (conditionals, loops), extended support for launching and querying information remotely, an easy-to-use API for also launching from Python-based ROS nodes dynamically, as well as basic load balancing capabilities for simulation setups. The chapter also contains various examples and detailed explanations to help to get started launching ROS nodes using roslaunch2. The BSD licensed code is fully documented with Sphinx and can be found on GitHub (https://github.com/CodeFinder2/roslaunch2.).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Böckenkamp, A. (2020). roslaunch2 : Versatile, Flexible and Dynamic Launch Configurations for the Robot Operating System. In: Koubaa, A. (eds) Robot Operating System (ROS). Studies in Computational Intelligence, vol 831. Springer, Cham. https://doi.org/10.1007/978-3-030-20190-6_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-20190-6_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-20189-0
Online ISBN: 978-3-030-20190-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)