linorobot / linorobot2

Autonomous mobile robots (2WD, 4WD, Mecanum Drive)
Apache License 2.0
493 stars 165 forks source link

rplidar A1M8 not working #84

Closed otomoov closed 1 year ago

otomoov commented 1 year ago

Hello and good day,

I'm was not able to run slam with rplidar A1M8 lidar.

Commands used: ros2 launch linorobot2_bringup bringup.launch.py ros2 launch linorobot2_navigation slam.launch.py rviz:=true https://youtu.be/ytA8z4BuAxw

I was able to run sllidar node and view in the rviz https://github.com/Slamtec/sllidar_ros2 ros2 launch sllidar_ros2 view_sllidar_a1_launch.py https://youtu.be/lBsEx0DEzbA

specs: ros2 humble ubuntu 22.04 intel i5-8265U

Please help, thank you.

otomoov commented 1 year ago

I've followed the [Troubleshooting Guide] but it doesn't solve the issue.

2. [slam_toolbox]: Message Filter dropping message: frame 'laser' Try to up transform_timeout by 0.1 in linorobot2_navigation/config/slam.yaml until the warning is gone.

3. target_frame - frame does not exist Check your .properties.urdf.xacro and ensure that there's no syntax errors or repeated decimal points.

otomoov commented 1 year ago

Solved! I redid linorobot2_hardware and the issue solved.