-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ismetatabay <ismet@leodrive.ai>
- Loading branch information
1 parent
0484666
commit c891e67
Showing
5 changed files
with
67 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
nav: | ||
- index.md | ||
- Launch vehicle: vehicle | ||
- Launch system: system | ||
- Launch sensing: sensing | ||
- Launch localization: localization | ||
- Launch perception: perception |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...uides/integrating-autoware/launch-autoware/system/images/system_launch_flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions
57
docs/how-to-guides/integrating-autoware/launch-autoware/system/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# System Launch Files | ||
|
||
## Overview | ||
|
||
The Autoware system stacks start | ||
launching at `autoware_launch.xml` as we mentioned at [Launch Autoware](../index.md) page. | ||
The `autoware_launch` package includes `tier4_system_component.launch.xml` | ||
for starting system launch files invocation from `autoware_launch.xml`. | ||
This diagram describes some of the Autoware system launch files flow at `autoware_launch` and `autoware.universe` packages. | ||
|
||
<figure markdown> | ||
![system-launch-flow](images/system_launch_flow.svg){ align=center } | ||
<figcaption> | ||
Autoware system launch flow diagram | ||
</figcaption> | ||
</figure> | ||
|
||
!!! note | ||
|
||
The Autoware project is a large project. | ||
Therefore, as we manage the Autoware project, we utilize specific | ||
arguments in the launch files. | ||
ROS 2 offers an argument-overriding feature for these launch files. | ||
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. | ||
For instance, | ||
if we define an argument at the top-level launch, | ||
it will override the value on lower-level launches. | ||
|
||
As described in the flow diagram of the system launch pipeline, | ||
the `system.launch.xml` from the `tier4_system_launch` package directly launches the following packages: | ||
|
||
- [system_monitor](https://autowarefoundation.github.io/autoware.universe/main/system/system_monitor/) | ||
- [component_interface_tools](https://autowarefoundation.github.io/autoware.universe/main/common/component_interface_tools/) | ||
- [component_state_monitor](https://autowarefoundation.github.io/autoware.universe/main/system/component_state_monitor/) | ||
- [system_error_monitor](https://autowarefoundation.github.io/autoware.universe/main/system/system_error_monitor/) | ||
- [emergency_handler](https://autowarefoundation.github.io/autoware.universe/main/system/emergency_handler/) | ||
- [duplicated_node_checker](https://autowarefoundation.github.io/autoware.universe/main/system/duplicated_node_checker/) | ||
- [mrm_comfortable_stop_operator](https://autowarefoundation.github.io/autoware.universe/main/system/mrm_comfortable_stop_operator/) | ||
- [mrm_emergency_stop_operator](https://autowarefoundation.github.io/autoware.universe/main/system/mrm_emergency_stop_operator/) | ||
- [dummy_diag_publisher](https://autowarefoundation.github.io/autoware.universe/main/system/dummy_diag_publisher/) | ||
|
||
We don't have many modification options here, | ||
but you can change your system_error_monitor parameter file path. | ||
For example, | ||
you can run autoware with the following command line arguments | ||
if you want to change your system_error_monitor.param.yaml file path: | ||
|
||
```bash | ||
ros2 launch autoware_launch autoware.launch.xml ... system_error_monitor_param_path:=<YOUR-SYSTEM-ERROR-PARAM-PATH> ... | ||
``` | ||
|
||
Or you can change it on your `tier4_system_component.launch.xml` launch file: | ||
|
||
```diff | ||
- <arg name="system_error_monitor_param_path" default="$(find-pkg-share autoware_launch)/config/..."/> | ||
+ <arg name="system_error_monitor_param_path" default="<YOUR-SYSTEM-ERROR-PARAM-PATH>"/> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters