# ROS2\_launch\_file\_generator: Generate a launch file for large projects

**URL:** <https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228>\
**Category:** Projects\
**Tags:** ros2, launch\
**Created:** [July 23, 2025, 7:26am UTC](https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228 "2025-07-23T07:26:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ay1](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/ay1/32/33255_2.png) [@Ay1](https://discourse.openrobotics.org/u/Ay1)\
**Post date:** [July 23, 2025, 7:26am UTC](https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228/1 "2025-07-23T07:26:15Z")

</div>

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 😅  
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](https://github.com/OxyBloom/ros2_launch_file_generator.git)

[![](https://us1.discourse-cdn.com/flex022/uploads/ros/original/3X/b/f/bf0104a2300075602edbc98bc5b3637c04040cb1.jpeg "ros2\_launch\_file\_generator") ](https://www.youtube.com/watch?v=u5tqTKkaqgo)

> **[GitHub - OxyBloom/ros2\_launch\_file\_generator](https://github.com/OxyBloom/ros2_launch_file_generator)**
>
> Contribute to OxyBloom/ros2\_launch\_file\_generator development by creating an account on GitHub.

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](https://discourse.openrobotics.org/t/launchmap-visualize-your-ros-2-launch-files-in-vscode/45179)!

I thought it would be worth sharing to help others. The generated launch file can be checked and verified with [LaunchMap](https://discourse.openrobotics.org/t/launchmap-visualize-your-ros-2-launch-files-in-vscode/45179)!

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!

---

<div class="post-metadata">

**Author:** ![Sakshay\_Mahna](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/sakshay_mahna/32/25158_2.png) [@Sakshay\_Mahna](https://discourse.openrobotics.org/u/Sakshay_Mahna)\
**Post date:** [July 23, 2025, 1:13pm UTC](https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228/2 "2025-07-23T13:13:49Z")

</div>

Really nice project!

---

<div class="post-metadata">

**Author:** ![shouheng](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/shouheng/32/26494_2.png) [@shouheng](https://discourse.openrobotics.org/u/shouheng)\
**Post date:** [July 23, 2025, 1:59pm UTC](https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228/3 "2025-07-23T13:59:04Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ay1](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/ay1/32/33255_2.png) [@Ay1](https://discourse.openrobotics.org/u/Ay1)\
**Post date:** [July 23, 2025, 2:40pm UTC](https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228/4 "2025-07-23T14:40:32Z")

</div>

Oh…thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![shouheng](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/shouheng/32/26494_2.png) [@shouheng](https://discourse.openrobotics.org/u/shouheng)\
**Post date:** [July 23, 2025, 2:41pm UTC](https://discourse.openrobotics.org/t/ros2-launch-file-generator-generate-a-launch-file-for-large-projects/49228/5 "2025-07-23T14:41:30Z")

</div>

No problem! Good luck.
