Accessing 3D map data saved in bt file/formats to save octomap
I have been able to build a 3D map using octomap and have saved the same as a .bt file. I have to work on a localisation algorithm which requires the coordinates of free and occupied cells(especially the boundary cells of any occupied region) of the saved map.
Is it possible to extract the information like coordinates and no. of free and occupied cells from a bt file? If yes, how? If not, then what should be the accessible file format and how should I save my map in that format?
I am using ROS electric in Ubuntu 11.10. Please help.
@shubh991 How do you save the map into a.bt file when octomap_server is running?
ok found it : rosrun octomap_server octomap_saver map.bt