Skip to content

Commit

Permalink
feat(autoware_launch): move config from autoware.universe for map (au…
Browse files Browse the repository at this point in the history
…towarefoundation#128)

feat(autoware_launch): move config to autoware_launch for map

Signed-off-by: kminoda <koji.minoda@tier4.jp>

Signed-off-by: kminoda <koji.minoda@tier4.jp>
  • Loading branch information
kminoda committed Dec 21, 2022
1 parent fcdb9f4 commit ab6dbf5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
9 changes: 9 additions & 0 deletions autoware_launch/config/map/pointcloud_map_loader.param.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**:
ros__parameters:
enable_whole_load: true
enable_downsampled_whole_load: false
enable_partial_load: false
enable_differential_load: false

# only used when downsample_whole_load enabled
leaf_size: 3.0 # downsample leaf size [m]
2 changes: 1 addition & 1 deletion autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

<!-- Map -->
<group if="$(var launch_map)">
<include file="$(find-pkg-share tier4_map_launch)/launch/map.launch.py">
<include file="$(find-pkg-share autoware_launch)/launch/components/tier4_map_component.launch.xml">
<arg name="lanelet2_map_path" value="$(var map_path)/$(var lanelet2_map_file)"/>
<arg name="pointcloud_map_path" value="$(var map_path)/$(var pointcloud_map_file)"/>
</include>
Expand Down
12 changes: 12 additions & 0 deletions autoware_launch/launch/components/tier4_map_component.launch.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<launch>
<arg name="lanelet2_map_path"/>
<arg name="pointcloud_map_path"/>

<include file="$(find-pkg-share tier4_map_launch)/launch/map.launch.py">
<arg name="lanelet2_map_path" value="$(var lanelet2_map_path)"/>
<arg name="pointcloud_map_path" value="$(var pointcloud_map_path)"/>

<arg name="pointcloud_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/pointcloud_map_loader.param.yaml"/>
</include>
</launch>

0 comments on commit ab6dbf5

Please sign in to comment.