Open FaiScofield opened 6 years ago
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.
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.