ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hey @bastien, here is an example you can include launch file from another package:
IncludeLaunchDescription( PythonLaunchDescriptionSource( os.path.join(get_package_share_directory('another_package'), 'launch', 'gzserver.launch.py') ), launch_arguments={ 'world': 'PATH', 'verbose': 'true' }.items() )
Your approach to pass multiple arguments seems to be correct.
2 | No.2 Revision |
Hey @bastien, here is an example you can include launch file from another package:
IncludeLaunchDescription(
PythonLaunchDescriptionSource(
os.path.join(get_package_share_directory('another_package'), 'launch', 'gzserver.launch.py')
),
launch_arguments={
'world': 'PATH',
'verbose': 'true'
}.items()
Your approach to pass multiple arguments seems to be correct.