ros-drivers / velodyne

ROS support for Velodyne 3D LIDARs
http://ros.org/wiki/velodyne
Other
657 stars 652 forks source link

std::bad_array_new_length error while mapping #507

Closed ghost closed 1 year ago

ghost commented 1 year ago

Please complete the following information:

Describe the bug I am running velodyne_pointcloud package and using VLP16_points.launch file , and using that package I am trying to generate a map using gmapping package but I am ending up with the below error ,

terminate called after throwing an instance of  'std::bad_array_new_length' 
what(): std::bad_array_new_length
[slam_gmapping-1] process has died [ exit code -6].

To Reproduce Steps to reproduce the behavior:

  1. run roslaunch velodyne_pointcloud VLP16_points.launch
  2. run roslaunch gmapping gmap.launch

You can see the error in the terminal itself.

Expected behavior I need to build a map using gmapping package.

JWhitleyWork commented 1 year ago

@Arunkumar-ARi I'm sorry but this looks to be an error with the slam_gmapping package rather than this driver. Additionally, Melodic is no longer a supported environment. If you will continue to use ROS1, please upgrade to Noetic.