ros-perception / slam_gmapping

http://www.ros.org/wiki/slam_gmapping
656 stars 528 forks source link

Assertion `beams<LASER_MAXBEAMS' failed. #70

Closed sirawats closed 3 years ago

sirawats commented 5 years ago

My LiDAR is pepperl_fuchs_r2000, if set samples_per_scan more than 1800 it will cause this issue. Is it possible to modified parameters to avoid this error?

slam_gmapping: /root/catkin_ws/src/openslam_gmapping/scanmatcher/scanmatcher.cpp:563: void GMapping::ScanMatcher::setLaserParameters(unsigned int, double*, const OrientedPoint&): Assertion `beams<LASER_MAXBEAMS' failed.