floatlazer / semantic_slam

Real time semantic slam in ROS with a hand held RGB-D camera
GNU General Public License v3.0
612 stars 177 forks source link

Cannot save Octomap #16

Closed jsdd25 closed 5 years ago

jsdd25 commented 5 years ago

Hi! Your work is amazing! I tried to save the Octomap. However, the binary file which is saved does not contain an OcTree! Could you give me some advice about how to save Octomap?

jin@jin-System-Product-Name:~/map$ octovis map.bt 
ERROR: Binary file does not contain an OcTree!
ERROR: First line of OcTree file header does not start with "# Octomap OcTree binary file"

Thanks!

victor123499 commented 5 years ago

@jsdd25 Are you try to change the type? You can try to save the map.ot, it have the color type.

jsdd25 commented 5 years ago

I have saved the color map. Thank you very much!