Skip to main content

roslaunch2 : Versatile, Flexible and Dynamic Launch Configurations for the Robot Operating System

  • Chapter
  • First Online:
Robot Operating System (ROS)

Part of the book series: Studies in Computational Intelligence ((SCI,volume 831))

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.).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/ros/ros_comm/pull/540#issuecomment-68298290.

  2. 2.

    http://wiki.ros.org/roslaunch/XML#substitution_args.

  3. 3.

    https://github.com/ros/ros_comm/pull/540.

  4. 4.

    http://wiki.ros.org/roslaunch/XML#if_and_unless_attributes.

  5. 5.

    http://wiki.ros.org/roslaunch/XML/group.

  6. 6.

    https://github.com/ros/ros_comm/issues/360.

  7. 7.

    https://genshi.edgewall.org/.

  8. 8.

    http://jinja.pocoo.org/.

  9. 9.

    http://www.makotemplates.org/.

  10. 10.

    http://wiki.ros.org/xacro.

  11. 11.

    http://wiki.ros.org/fake_localization.

  12. 12.

    https://pythonhosted.org/Pyro4/.

  13. 13.

    http://wiki.ros.org/rosconsole.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Adrian Böckenkamp .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics