ROS2 launch
Launch system is used to start multiple nodes and configure their execution. The Python-based launch system (launch_ros) provides flexibility through Python scripts.
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