octomap_tutor
octomap_tutor copied to clipboard
First line of OcTree file header does not start with "# Octomap OcTree file
the xxx.ot file converted from 'pcd2octomap' or 'pcd2colorOctomap' have missed important information, which cause the error below, when I use the 'octovis' to see the result.
ERROR: First line of OcTree file header does not start with "# Octomap OcTree file
How to solve this problem? Thanks a lot.
I met the same problem, and I found that octomap should be written by 'writeBinary' to 'xxx.bt' file while colorful octomap be written by 'write' to 'xxx.ot' file. I solved the problem by fixing the mistake and hope this experience will be helpful.