Closed Piroro-hs closed 5 years ago
https://github.com/robopeak/rplidar_ros/blob/master/src/node.cpp#L270 you can try to change the code by an const angle_compensate_multiple ; //angle_compensate_multiple = (int)(1000*1000/current_scan_mode.us_per_sample/10.0/360.0); angle_compensate_multiple = 1;
Hello.
I cloned this repo, and
catkin_make
d on both my PC and Raspberry Pi 3. TherplidarNode
is running well on my PC (Ubuntu 16.04 x64, ROS Kinetic), but always crash on Raspberry Pi 3(Ubuntu MATE 16.04, ROS Kinetic). Below is a error message.Also it sometimes throws
std::length_error
, instead ofstd::bad_alloc
.Thank you.