ROS2 launch
The ROS 2 launch system is a declarative orchestration engine. You don’t run code — you describe a system: which processes should exist, how they’re configured, and how they relate to each other. The launch system then executes and supervises that description, reacting to events (start, exit, failure) at runtime.
Minimal YAML
Minimal example
| minimal launch file to run ros2 node | |
|---|---|
ROS2 Launch system API
- launch.substitutions: Tools for dynamic values, e.g.:
- LaunchConfiguration: References launch arguments.
- TextSubstitution: Inserts static text.
- PythonExpression: Evaluates Python expressions.
-
launch.conditions: Conditional execution (e.g., IfCondition, UnlessCondition).
- PathJoinSubstitution
- IncludeLaunchDescription
- EnvironmentVariable
- Conditions
- events