Skip to content

Commit

Permalink
pointcloud_map_path form autoware_launch as optional (autowarefoundat…
Browse files Browse the repository at this point in the history
…ion#45)

* pointcloud_map_path form autoware_launch as optional

* add lanelet2_map_path

* use map_file argments under map_path

* Fix unnecessary "default" tag to "value"

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
2 people authored and tkimura4 committed Dec 13, 2021
1 parent 1df60f7 commit fb014d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion launch/autoware_launch/launch/autoware.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<!-- Optional parameters -->
<arg name="rosbag" default="false" doc="use rosbag data"/>
<arg name="rviz" default="true" doc="launch rviz"/>
<arg name="lanelet2_map_file" default="lanelet2_map.osm" />
<arg name="pointcloud_map_file" default="pointcloud_map.pcd" />

<param name="/use_sim_time" value="$(arg rosbag)" />

Expand All @@ -23,7 +25,8 @@

<!-- Map -->
<include file="$(find map_launch)/launch/map.launch">
<arg name="map_path" value="$(arg map_path)"/>
<arg name="lanelet2_map_path" value="$(arg map_path)/$(arg lanelet2_map_file)" />
<arg name="pointcloud_map_path" value="$(arg map_path)/$(arg pointcloud_map_file)"/>
</include>

<!-- Sensing -->
Expand Down
5 changes: 4 additions & 1 deletion launch/autoware_launch/launch/planning_simulator.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<arg name="sensor_model"/>
<!-- Optional parameters -->
<arg name="rviz" default="true" doc="launch rviz"/>
<arg name="lanelet2_map_file" default="lanelet2_map.osm" />
<arg name="pointcloud_map_file" default="pointcloud_map.pcd" />

<!-- Vehicle -->
<include file="$(find vehicle_launch)/launch/vehicle.launch">
Expand All @@ -21,7 +23,8 @@

<!-- Map -->
<include file="$(find map_launch)/launch/map.launch">
<arg name="map_path" value="$(arg map_path)"/>
<arg name="lanelet2_map_path" value="$(arg map_path)/$(arg lanelet2_map_file)" />
<arg name="pointcloud_map_path" value="$(arg map_path)/$(arg pointcloud_map_file)"/>
</include>

<!-- Dummy Perception -->
Expand Down

0 comments on commit fb014d8

Please sign in to comment.