Robotics

Better_launch 1.6.0 adds TOML launchfiles, simpler and safer than Python

New TOML launchfiles cut complexity reduce security risks in ROS2 projects

Deep Dive

DFKI-RIC's Better_launch 1.6.0 is now available, introducing TOML launchfiles as a new alternative to Python-based launch configurations for ROS2. The project aims to be intuitive, simple, and memorable, addressing common criticisms of Python launchfiles—namely complexity and potential security risks. TOML launchfiles are closer to ROS1 XML files while still leveraging Better_launch's tools and benefits. Additionally, the update brings back ${env xyz} substitutions, a feature some users missed.

The release includes full documentation and a variety of examples to help users get started. The developer notes that while automated test coverage is on the roadmap, it's not a priority for free-time development, and sponsorship could accelerate it. The launch file can define SDF models, log messages, and conditional execution—all in a clean TOML syntax. This update makes ROS2 launch configuration more accessible for teams wanting strict security and simplicity.

Key Points
  • TOML launchfiles are simpler and safer than Python launchfiles, closer to ROS1 XML.
  • Restored ${env xyz} environment variable substitutions.
  • Includes full documentation and examples; test coverage may need sponsorship.

Why It Matters

Simpler, safer ROS2 launch configuration for robotics teams, reducing errors and security vulnerabilities.