-
Notifications
You must be signed in to change notification settings - Fork 145
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 <[email protected]> asd
- Loading branch information
1 parent
c891e67
commit 58e07af
Showing
5 changed files
with
57 additions
and
9 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
4 changes: 4 additions & 0 deletions
4
...w-to-guides/integrating-autoware/launch-autoware/map/images/map_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.
42 changes: 42 additions & 0 deletions
42
docs/how-to-guides/integrating-autoware/launch-autoware/map/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,42 @@ | ||
# Map Launch Files | ||
|
||
## Overview | ||
|
||
The Autoware map stacks start | ||
launching at `autoware_launch.xml` as we mentioned at [Launch Autoware](../index.md) page. | ||
The `autoware_launch` package includes `tier4_map_component.launch.xml` | ||
for starting map launch files invocation from `autoware_launch.xml`. | ||
This diagram describes some of the Autoware map launch files flow at `autoware_launch` | ||
and `autoware.universe` packages. | ||
|
||
<figure markdown> | ||
![map-launch-flow](images/map_launch_flow.svg){ align=center } | ||
<figcaption> | ||
Autoware map launch flow diagram | ||
</figcaption> | ||
</figure> | ||
|
||
The map.launch.py launch file from the tier4_map_launch package directly includes | ||
the necessary node definitions for mapping. In the current design of Autoware, the `lanelet2_map_loader`, | ||
`lanelet2_map_visualization`, `pointcloud_map_loader`, and `vector_map_tf_generator` composable | ||
nodes are included in the `map_container`. | ||
|
||
We don't have many modification options in the map launching files | ||
(as the parameters are included in the config files). | ||
However, you can specify the names for your pointcloud and lanelet2 map during the launch | ||
(the default values are pointcloud_map.pcd and lanelet2_map.osm). | ||
For instance, if you wish to change your map file names, you can run Autoware using | ||
the following command line arguments: | ||
|
||
```bash | ||
ros2 launch autoware_launch autoware.launch.xml ... pointcloud_map_file:=<YOUR-PCD-FILE-NAME> lanelet2_map_file:=<YOUR-LANELET2-MAP-NAME> ... | ||
``` | ||
|
||
Or you can change it on your `autoware.launch.xml` launch file: | ||
|
||
```diff | ||
- <arg name="lanelet2_map_file" default="lanelet2_map.osm" description="lanelet2 map file name"/> | ||
+ <arg name="lanelet2_map_file" default="<YOUR-LANELET2-MAP-NAME>" description="lanelet2 map file name"/> | ||
- <arg name="pointcloud_map_file" default="pointcloud_map.pcd" description="pointcloud map file name"/> | ||
+ <arg name="pointcloud_map_file" default="<YOUR-PCD-FILE-NAME>" description="pointcloud map file name"/> | ||
``` |
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
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