ROS2_launch_file_generator: Generate a launch file for large projects

Hello, I’ve constantly found myself struggling to create a launch file when I am working on projects that require the launch of multiple nodes and launch files :sweat_smile:
This made me think of finding a tool a month ago to help with that but I didn’t find any, so I thought, why don’t I try building one!
ros2_launch_file_generator

Although it is very basic, it serves as a good starting point for me. I got busy and abandoned it but got reminded yesterday when I discovered LaunchMap!

I thought it would be worth sharing to help others. The generated launch file can be checked and verified with LaunchMap!

While this works for me, I believe there could be better ways of achieving the same or improving it. Suggestions and contributions are always welcome!

2 Likes

Really nice project!

1 Like

This is pretty cool. Thanks for sharing. Already starred your repo!

Food for thought, you might want to run the generated file through a linter like black or ruff to keep it nice and neat before committing to people’s robotics code base.

Oh…thanks for the suggestion!

No problem! Good luck.

1 Like