I am trying to use `octomap_server` (`octomap_mapping.launch` file) for building a 3D map using point cloud data from velodyne. So i drive my robot around, record all sensor data for `octomap_server` to post process it on my desktop. I really want to play the rosag at slower rate so that I can get a better 3D map, but unfortunately the slower I run the rosbag more I get the following error (process has died, exit code -6):
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Once this error occurs, I have to restart `octomap_server` and then I loose the previously saved 3D map. If I play my `rosbag` at more than 2x speed, then `octomap_server` doesn't fail but I don't get a good 3D map. Does someone have anything on why am I getting this error?
Also, sometimes the following error pops up, I don't know what that means but it doesn't seem to effect octomap processing. Can someone throw some light on this too.
[ERROR] [1412812984.342799452]: Error serializing OctoMap
↧