octomap_tutor icon indicating copy to clipboard operation
octomap_tutor copied to clipboard

First line of OcTree file header does not start with "# Octomap OcTree file

Open FaiScofield opened this issue 6 years ago • 1 comments

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.

FaiScofield avatar Oct 17 '17 14:10 FaiScofield

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.

righthand0618 avatar May 04 '18 09:05 righthand0618