Skip to content

Commit aa38ee9

Browse files
committed
add launch sensing page
Signed-off-by: ismetatabay <[email protected]>
1 parent 03464d5 commit aa38ee9

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
nav:
22
- index.md
3+
- Launch vehicle: vehicle
34
- Launch sensing: sensing
45
- Launch localization: localization
56
- Launch perception: perception
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Vehicle Launch Files
2+
3+
## Overview
4+
5+
The Autoware vehicle stacks begin launching with autoware_launch.xml as mentioned on the
6+
[Launch Autoware](../index.md) page,
7+
and the tier4_vehicle.launch.xml is called in this context. The following diagram describes some of
8+
the Autoware vehicle launch file flow within the `autoware_launch` and `autoware.universe` packages.
9+
10+
<figure markdown>
11+
![vehicle-launch-flow](images/vehicle_launch_flow.svg){ align=center }
12+
<figcaption>
13+
Autoware vehicle launch flow diagram
14+
</figcaption>
15+
</figure>
16+
17+
!!! note
18+
19+
The Autoware project is a large project.
20+
Therefore, as we manage the Autoware project, we utilize specific
21+
arguments in the launch files.
22+
ROS 2 offers an argument-overriding feature for these launch files.
23+
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.
24+
For instance,
25+
if we define an argument at the top-level launch,
26+
it will override the value on lower-level launches.
27+
28+
We don't have many modification options here, you can disable vehicle_interface launching.
29+
For example,
30+
if you want
31+
to run robot_state_publisher but not `vehicle_interface` you can run autoware with the following command line arguments:
32+
33+
```bash
34+
ros2 launch autoware_launch autoware.launch.xml ... launch_vehicle_interface:=false ...
35+
```
36+
37+
Or you can change it on your `autoware.launch.xml` launch file:
38+
39+
```diff
40+
- <arg name="launch_vehicle_interface" default="true" description="launch sensing driver"/>
41+
+ <arg name="launch_vehicle_interface" default="false" description="launch sensing driver"/>
42+
```

0 commit comments

Comments
 (0)