Slamtec / rplidar_ros

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

Buffer overflow detected for testing RPLIDAR A1M8 sensor #118

Closed AdrianUIC closed 11 months ago

AdrianUIC commented 1 year ago

Running into a Buffer Overflow detected warning when running the command "roslaunch rplidar_ros rplidar_a1.launch". I have tried to using solutions found to solve this issue but it still is happening despite it. If anyone can assist me on this, it would be greatly appreciated.

I am on a windows PC using ROS melodic to test my RPLIDAR sensor using Ubuntu 18.04.06 LTS.

deyouslamtec commented 1 year ago

I didn't reproduce it.How did you test it? image

deyouslamtec commented 11 months ago

I reproduced it. ubuntu 20.04,noetic。 image

The reason is that /dev/ttyUSB0 does not read and write permissions. just do sudo chmod 666 /dev/ttySUB0