diff --git a/launch/robot_lidar.launch.py b/launch/robot_lidar.launch.py index 25aea82..647ee8f 100644 --- a/launch/robot_lidar.launch.py +++ b/launch/robot_lidar.launch.py @@ -19,6 +19,11 @@ def generate_launch_description(): angle_compensate = LaunchConfiguration('angle_compensate', default='true') 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([ DeclareLaunchArgument( 'channel_type', @@ -68,10 +73,5 @@ def generate_launch_description(): 'angle_compensate': angle_compensate }], #namespace = "/rmp" - ), - - IncludeLaunchDescription( - PythonLaunchDescriptionSource([ThisLaunchFileDir(), 'robot_scan_filter.launch.py']), - #launch_arguments={'my_arg': 'new_value'}.items() # You can pass arguments here - ), + ) ])