ROBOTIS-GIT / ld08_driver

ROS package for TurtleBot3 LD08 Lidar
Apache License 2.0
6 stars 21 forks source link

RpLidar A1M8 stops spinning when calling roslaunch turtlebot3_bringup turtlebot3_robot.launch #6

Open DarekLin opened 2 years ago

DarekLin commented 2 years ago

Originally, I posted the entry here, but I think this place is more appropriate.

When I power my turtlebot3 robot, the lidar is spinning by default. But when I run ros2 launch turtlebot3_bringup robot.launch.py command, my lidar stops spinning and not receiving any scan values in the ros2 topic echo /scan. In the log file I see:

[ld08_driver-2] /dev/ttyUSB0 CP2102 USB to UART Bridge Controller [ld08driver-2] FOUND LiDAR [ld08driver-2] LiDAR started successfully but lidar not spinning and not send any data in topic /scan. I installed the SBC base on https://emanual.robotis.com/docs/en/platform/turtlebot3/sbc_setup/#sbc-setup manual "FOXY" tabs

A1exan10er commented 1 year ago

I met this problem before and tried replacing the lidar launch, view files. And it could run. Check the files in /opt/ros/foxy/share/hls_lfcd_lds_driver/launch and /opt/ros/foxy/share/hls_lfcd_lds_driver/rviz/