Lidar is working great indoor, i will test it outside in a few days.
test:
ros2 launch lakibeam1
lakibeam1_scan_view.launch.pyInsert to
lasers.launch.py, above the rplidar node
Node(
condition=LaunchConfigurationEquals('sensor', 'lakibeam'),
package='lakibeam1',
name='richbeam_lidar_node0',
output='screen',
executable='lakibeam1_scan_node',
remappings=[('scan', LaunchConfiguration('topic_name'))],
parameters=[{
'frame_id': LaunchConfiguration('frame_id'),
'output_topic': 'scan',
'inverted': False,
'hostip': "0.0.0.0",
'port': "2368",
'angle_offset': 0,
'sensorip': "192.168.198.2",
'scanfreq': "20",
'filter': "3",
'laser_enable': "true",
'scan_range_start': "45",
'scan_range_stop': "315",
}]
),
change .bashrc laser sensor to:
export LINOROBOT2_LASER_SENSOR=lakibeam
Found another driver, same issue but also working:
git clone
https://github.com/randykeithorton/lakibeam1.git