cps_rmp220_support/launch/robot_lidar.launch.py

21 lines
584 B
Python
Raw Normal View History

import os
from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
Node(
2023-07-28 09:07:50 +00:00
package='sllidar_ros2',
executable='view_sllidar_launch',
output='screen',
parameters=[{
2023-07-28 09:07:50 +00:00
'serial_port': 'usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_3453995662b3af4f81f4a69eba5f3f29-if00-port0',
'frame_id': 'laser_frame',
'angle_compensate': True,
2023-07-28 09:07:50 +00:00
'scan_mode': 'Sensitivity'
}]
)
])