Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
485 stars 527 forks source link

Motor does not stop (auto or using service) #129

Closed hilary-luo closed 10 months ago

hilary-luo commented 11 months ago

Version: 2.1.3-3jammy.20230724.202913 Use case: Turtlebot4 with ROS 2 Humble

Problem description: The lidar motor will not stop. This has been tested with the auto standby mode on as well as with the auto standby mode off and using the /stop_motor service. In the logs I can see start and stop entries as I would expect, however the motor doesn't actually respond, it remains spinning.

Aug 02 17:20:36 ttb turtlebot4-start[1033]: [rplidar_composition-4] [INFO] [1690996836.757865700] [robot1.rplidar_composition]: Start
Aug 02 17:20:37 ttb turtlebot4-start[1033]: [rplidar_composition-4] [INFO] [1690996837.450237225] [robot1.rplidar_composition]: current scan mode: Sensitivity, sample rate: 8 Khz, max_distance: 12.0 m,>
Aug 02 17:20:51 ttb turtlebot4-start[1033]: [rplidar_composition-4] [INFO] [1690996851.503359979] [robot1.rplidar_composition]: Stop

This was working not that long ago, although I do not have a version tag to associate with when it was working.