Skip to content

Commit

Permalink
Changed from map.launch.py to map.launch.xml (#71)
Browse files Browse the repository at this point in the history
Signed-off-by: Shintaro Sakoda <[email protected]>
  • Loading branch information
SakodaShintaro authored Jul 19, 2024
1 parent f7569f6 commit 0cd9722
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
<arg name="out_pose_with_covariance_dr" default="/deviation_evaluator/dead_reckoning/pose_estimator/pose_with_covariance"/>
<arg name="out_pose_with_covariance_gt" default="/deviation_evaluator/ground_truth/pose_estimator/pose_with_covariance"/>
<arg name="out_init_pose_with_covariance" default="/deviation_evaluator/initialpose3d"/>
<arg name="lanelet2_map_file" default="$(var map_path)/lanelet2_map.osm"/>
<arg name="lanelet2_map_file" default="lanelet2_map.osm"/>
<arg name="pointcloud_map_file" default="pointcloud_map.pcd"/>

<group>
<node pkg="deviation_evaluator" exec="deviation_evaluator" name="deviation_evaluator" output="screen">
Expand Down Expand Up @@ -103,10 +104,16 @@

<!-- Map -->
<group>
<include file="$(find-pkg-share tier4_map_launch)/launch/map.launch.py" if="$(var rviz)">
<arg name="lanelet2_map_path" value="$(var lanelet2_map_file)"/>
<include file="$(find-pkg-share tier4_map_launch)/launch/map.launch.xml" if="$(var rviz)">
<arg name="pointcloud_map_path" value="$(var map_path)/$(var pointcloud_map_file)"/>
<arg name="pointcloud_map_metadata_path" value="$(var map_path)/pointcloud_map_metadata.yaml"/>
<arg name="lanelet2_map_path" value="$(var map_path)/$(var lanelet2_map_file)"/>
<arg name="map_projector_info_path" value="$(var map_path)/map_projector_info.yaml"/>

<arg name="pointcloud_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/pointcloud_map_loader.param.yaml"/>
<arg name="lanelet2_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/lanelet2_map_loader.param.yaml"/>
<arg name="map_tf_generator_param_path" value="$(find-pkg-share autoware_launch)/config/map/map_tf_generator.param.yaml"/>
<arg name="map_projection_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/map_projection_loader.param.yaml"/>
</include>
</group>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@
</include>

<!-- Map -->
<include file="$(find-pkg-share map_launch)/launch/map.launch.py">
<arg name="lanelet2_map_path" value="$(var map_path)/$(var lanelet2_map_file)"/>
<include file="$(find-pkg-share map_launch)/launch/map.launch.xml">
<arg name="pointcloud_map_path" value="$(var map_path)/$(var pointcloud_map_file)"/>
<arg name="pointcloud_map_metadata_path" value="$(var map_path)/pointcloud_map_metadata.yaml"/>
<arg name="lanelet2_map_path" value="$(var map_path)/$(var lanelet2_map_file)"/>
<arg name="map_projector_info_path" value="$(var map_path)/map_projector_info.yaml"/>

<arg name="pointcloud_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/pointcloud_map_loader.param.yaml"/>
<arg name="lanelet2_map_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/lanelet2_map_loader.param.yaml"/>
<arg name="map_tf_generator_param_path" value="$(find-pkg-share autoware_launch)/config/map/map_tf_generator.param.yaml"/>
<arg name="map_projection_loader_param_path" value="$(find-pkg-share autoware_launch)/config/map/map_projection_loader.param.yaml"/>
</include>

<!-- Rviz -->
Expand Down

0 comments on commit 0cd9722

Please sign in to comment.