Skip to content

Software

better_launch

By DFKI GmbH, Robotics Innovation Center, Germany (checked on github.com/dfki-ric (opens in a new tab)), from github.com/dfki-ric/better_launch (opens in a new tab)

  • Middleware
  • Tool
  • MIT

A replacement for the ROS2 launch system, offering simpler Python launchfiles and a TOML-based launch format for starting and configuring robot software.

Facts

GitHub stars
279read on 27 Nov 2026
Last update
14 Sept 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Beginner

Checked on GitHub on 27 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 26f5be8 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Lets launchfiles be written with a few imports and plain Python function arguments instead of verbose class-based ROS2 launch code.
  • Can include regular ROS2 launch files and be included by them, so it works alongside existing launch setups.
  • Runs actions in sequence and shuts nodes down in reverse order.
  • Provides shell autocompletion for launch arguments.
  • Offers an optional terminal user interface built on prompt_toolkit for listing topics and services, starting and stopping nodes, triggering lifecycle transitions, and changing log levels.
  • Supports a TOML launchfile format with conditionals, substitutions and logging, but without loops, that compiles to calls on the BetterLaunch singleton.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 14 Sept 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 26f5be8

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by DFKI GmbH, Robotics Innovation Center, at commit 26f5be8, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Logo

[!TIP] Just looking for the documentation (opens in a new tab)? We also have various examples (opens in a new tab)!


🧭 About

Let's face it: ROS2 has been a severe downgrade in terms of usability compared to ROS1. While there are many considerable improvements, the current launch system is borderline unusable.

better_launch is what I wish ROS2 launch would be: intuitive to use, simple to understand, easy to remember. This is why better_launch is not yet another abstraction layer over ROS2 launch; it is a full replacement with no required dependencies on the existing launch system.

Instead of dozens of imports and class instances for even the most basic tasks, your launchfiles could look as simple and beautiful as this:

from better_launch import BetterLaunch, launch_this

@launch_this
def my_main(enable_x: bool = True):
    """This is how nice your launchfiles could be!
    """
    bl = BetterLaunch()

    if enable_x:
        bl.node(
            "examples_rclpy_minimal_publisher",
            "publisher_local_function",
            "example_publisher",
        )

    # Include other launchfiles, even regular ROS2 launchfiles!
    bl.include("better_launch", "ros2_turtlesim.launch.py")
# You can use `ros2 launch`, too, but `bl` is better :)
$> bl my_package my_launch_file.py --enable_x True

Do I have your attention? Read on to learn more!

🧞‍♀️ Highlights

🪄 Complete replacement

[!NOTE] All features (opens in a new tab)

better_launch can do everything that ROS2 launchfiles can, but more, with equal or less resources, and better:

  • Solve almost every task with 2-3 imports
  • Actions are executed in sequence, nodes shutdown in reverse
  • Shell autocompletion for launch arguments
  • Use natural types instead of strings of lists of dicts of...
  • Include regular ROS2 launch files and get included by them
📟 The TUI

[!NOTE] Using the TUI (opens in a new tab)

better_launch comes with an optional, unobstrusive TUI (terminal user interface) based on prompt_toolkit (opens in a new tab), which will hover below the log output.

TUI

See the single line of shortcuts at the bottom? That's the TUI, and it will never take up more than 3 lines! Despite its simplicity, the TUI allows you a comfortable degree of control over all nodes managed by the better_launch process it is running in:

  • listing a node's services and topics
  • starting and stopping nodes
  • triggering lifecycle transitions
  • changing the log level
  • etc.
# Run this line to see it in action!
bl better_launch 02_ui.launch.py
⛱️ TOML launchfiles

[!NOTE] Specification (opens in a new tab)

For those with aversions against using a turing-complete programming language to specify system startup - fear not! better_launch introduces a new launchfile format based on TOML (opens in a new tab).

enable = true

[a_simple_cube]
if = "${enable}"
func = "find"
package = "better_launch"
filename = "cube.sdf"

[print_me_baby]
func = "log"
severity = "info"
message = "Found cube at ${a_simple_cube}"

Under the hood, TOML launchfiles result in calls to the BetterLaunch singleton, but offer a more focused and constrained feature set (limited branching, no loops, etc.). If you are still missing ROS1 XML launchfiles (and substitutions like ${arg my_arg}), these are for you!

🌱 Contributions

[!IMPORTANT] Please see this document (opens in a new tab) if you're planning to make PR!

Author: Nikolas Dahn (opens in a new tab)

Testing & Feedback:

better_launch was initiated and is currently developed at the Robotics Innovation Center (opens in a new tab) of the German Research Center for Artificial Intelligence (DFKI) (opens in a new tab) in Bremen.


Copyright 2026, DFKI GmbH (opens in a new tab) / Robotics Innovation Center (opens in a new tab)

dfki-logo

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.