Skip to content

Commit

Permalink
revert(tier4_map_launch): move config back to autoware.universe (#2561)
Browse files Browse the repository at this point in the history
* revert(tier4_map_launch): move config back to autoware.universe

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

* fix map.launch.xml

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

Signed-off-by: kminoda <koji.minoda@tier4.jp>
  • Loading branch information
kminoda authored Dec 22, 2022
1 parent a7deda6 commit f2fabfe
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions launch/tier4_map_launch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ autoware_package()
ament_auto_package(
INSTALL_TO_SHARE
launch
config
)
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]
6 changes: 5 additions & 1 deletion launch/tier4_map_launch/launch/map.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ def add_launch_arg(name: str, default_value=None, description=None):
),
add_launch_arg(
"pointcloud_map_loader_param_path",
"",
[
FindPackageShare("tier4_map_launch"),
"/config/pointcloud_map_loader.param.yaml",
# ToDo(kminoda): This file should eventually be removed as well as the other components
],
"path to pointcloud_map_loader param file",
),
add_launch_arg("use_intra_process", "false", "use ROS2 component container communication"),
Expand Down
2 changes: 1 addition & 1 deletion launch/tier4_map_launch/launch/map.launch.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<launch>
<!-- Parameter files -->
<arg name="pointcloud_map_loader_param_path"/>
<arg name="pointcloud_map_loader_param_path" default="$(find-pkg-share tier4_map_launch)/config/pointcloud_map_loader.param.yaml"/>

<arg name="map_path" default=""/>
<arg name="lanelet2_map_path" default="$(var map_path)/lanelet2_map.osm"/>
Expand Down

0 comments on commit f2fabfe

Please sign in to comment.