This commit is contained in:
Björn Ellensohn 2023-10-16 08:44:55 +02:00
parent 3c78a4f33d
commit ee32134703

View File

@ -19,6 +19,11 @@ def generate_launch_description():
angle_compensate = LaunchConfiguration('angle_compensate', default='true') angle_compensate = LaunchConfiguration('angle_compensate', default='true')
scan_mode = LaunchConfiguration('scan_mode', default='Sensitivity') scan_mode = LaunchConfiguration('scan_mode', default='Sensitivity')
IncludeLaunchDescription(
PythonLaunchDescriptionSource([ThisLaunchFileDir(), 'robot_scan_filter.launch.py']),
#launch_arguments={'my_arg': 'new_value'}.items() # You can pass arguments here
),
return LaunchDescription([ return LaunchDescription([
DeclareLaunchArgument( DeclareLaunchArgument(
'channel_type', 'channel_type',
@ -68,10 +73,5 @@ def generate_launch_description():
'angle_compensate': angle_compensate 'angle_compensate': angle_compensate
}], }],
#namespace = "/rmp" #namespace = "/rmp"
), )
IncludeLaunchDescription(
PythonLaunchDescriptionSource([ThisLaunchFileDir(), 'robot_scan_filter.launch.py']),
#launch_arguments={'my_arg': 'new_value'}.items() # You can pass arguments here
),
]) ])