Launch-generator is a tool designed to ease the complexities and code redundancies inherent in ROS 2’s launch and launch_ros descriptions. It enables shorter and more concise descriptions compared to those made with launch
and launch_ros
. While there are actions not yet implemented in launch-generator
, its add_action() function allows for the free addition of launch
and launch_ros
actions. (Feature addition requests are also welcome.) It also supports the inclusion of existing launch files, facilitating seamless collaboration with launch
and launch_ros
modules, so there’s no need to replace everything. It’s already published on PyPI and is ready to use with pip.
pip install launch-generator
I hope to alleviate the fatigue of writing launch files in Python by using this library.