Skip to content

Commit

Permalink
Merge pull request autowarefoundation#339 from tier4/sync-main-for-de…
Browse files Browse the repository at this point in the history
…velop

sync main for develop
  • Loading branch information
tier4-autoware-private-bot[bot] authored Aug 12, 2021
2 parents 284ec71 + fbd189a commit 97a61b1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions map_launch/launch/map.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,19 @@ def generate_launch_description():
output='screen',
)

def add_launch_arg(name: str, default_value=None):
return DeclareLaunchArgument(name, default_value=default_value)
def add_launch_arg(name: str, default_value=None, description=None):
return DeclareLaunchArgument(name, default_value=default_value, description=description)

return launch.LaunchDescription([
add_launch_arg('map_path', ''),
add_launch_arg('map_path', '', 'path to map directory'),
add_launch_arg('lanelet2_map_path', [
LaunchConfiguration('map_path'), '/lanelet2_map.osm']),
LaunchConfiguration('map_path'), '/lanelet2_map.osm'],
'path to lanelet2 map file'),
add_launch_arg('pointcloud_map_path', [
LaunchConfiguration('map_path'), '/pointcloud_map.pcd']),
add_launch_arg('use_intra_process', 'false'),
add_launch_arg('use_multithread', 'false'),
LaunchConfiguration('map_path'), '/pointcloud_map.pcd'],
'path to pointcloud map file'),
add_launch_arg('use_intra_process', 'false', 'use ROS2 component container communication'),
add_launch_arg('use_multithread', 'false', 'use multithread'),
SetLaunchConfiguration(
'container_executable',
'component_container',
Expand Down

0 comments on commit 97a61b1

Please sign in to comment.