mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2024-11-23 23:55:09 +00:00
21 lines
573 B
Python
21 lines
573 B
Python
|
import os
|
||
|
from launch import LaunchDescription
|
||
|
from launch_ros.actions import Node
|
||
|
|
||
|
def generate_launch_description():
|
||
|
|
||
|
return LaunchDescription([
|
||
|
|
||
|
Node(
|
||
|
package='rplidar_ros',
|
||
|
executable='rplidar_composition',
|
||
|
output='screen',
|
||
|
parameters=[{
|
||
|
'serial_port': '/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-port0',
|
||
|
'frame_id': 'laser_frame',
|
||
|
'angle_compensate': True,
|
||
|
'scan_mode': 'Standard'
|
||
|
}]
|
||
|
)
|
||
|
])
|