|
| 1 | +# Sensing Launch Files |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +The Autoware sensing stacks start |
| 6 | +launching at `autoware_launch.xml` as we mentioned at [Launch Autoware](../index.md) page. |
| 7 | +The `autoware_launch` package includes `tier4_sensing_component.launch.xml` |
| 8 | +for starting sensing launch files invocation from `autoware_launch.xml`. |
| 9 | +This diagram describes some of the Autoware sensing launch files flow at `autoware_launch` and `autoware.universe` packages. |
| 10 | + |
| 11 | +<figure markdown> |
| 12 | + { align=center } |
| 13 | + <figcaption> |
| 14 | + Autoware sensing launch flow diagram |
| 15 | + </figcaption> |
| 16 | +</figure> |
| 17 | + |
| 18 | +!!! note |
| 19 | + |
| 20 | + The Autoware project is a large project. |
| 21 | + Therefore, as we manage the Autoware project, we utilize specific |
| 22 | + arguments in the launch files. |
| 23 | + ROS 2 offers an argument-overriding feature for these launch files. |
| 24 | + Please refer to [the official ROS 2 launch documentation](https://docs.ros.org/en/humble/Tutorials/Intermediate/Launch/Using-ROS2-Launch-For-Large-Projects.html#parameter-overrides) for further information. |
| 25 | + For instance, |
| 26 | + if we define an argument at the top-level launch, |
| 27 | + it will override the value on lower-level launches. |
| 28 | + |
| 29 | +The sensing launch is more related to your sensor kit, |
| 30 | +so if you want to modify your launch, we recommend applying |
| 31 | +these modifications to the <YOUR-SENSOR-KIT> packages. |
| 32 | +Please look |
| 33 | +at [creating sensor and vehicle model](../../creating-vehicle-and-sensor-description) pages for more information but there |
| 34 | +is are some modifications on which can you done at top-level launch files. |
| 35 | + |
| 36 | +For example, if you do not want to launch the sensor driver with Autoware, |
| 37 | +you can disable it with a command-line argument: |
| 38 | + |
| 39 | +```bash |
| 40 | +ros2 launch autoware_launch autoware.launch.xml ... launch_sensing_driver:=false ... |
| 41 | +``` |
| 42 | + |
| 43 | +Or you can change it on your `autoware.launch.xml` launch file: |
| 44 | + |
| 45 | +```diff |
| 46 | +- <arg name="launch_sensing_driver" default="true" description="launch sensing driver"/> |
| 47 | ++ <arg name="launch_sensing_driver" default="false" description="launch sensing driver"/> |
| 48 | +``` |
0 commit comments