Robotics StackExchange | Archived questions

load ocTree file to octomap_server

Hello,

At the moment I am trying to load a .ot file into octomapserver by running the command "rosrun octomapserver octomapservernode filename.ot".

The octree file is generated by the RGB-D SLAM package (missing link because of karma). I record a room, then stop the recording and select octomap->save octomap and save the file. It opens in octovis, but when trying to load it into octomap_server I get:

ben@Ben-laptop:~$ rosrun octomap_server octomap_server_node map.ot 
[ INFO] [1391604046.373768218]: Publishing latched (single publish will take longer, all topics are prepared)
[ERROR] [1391604046.426317762]: Could not read OcTree in file, currently there are no other types supported in .ot
[ERROR] [1391604046.426390233]: Could not open file quicksave.ot

I want to use this map later on to do localization and motion planning with a UAV.

Can someone tell me if I am doing something wrong, or what is going wrong? Many thanks!

Asked by BenJorissen on 2014-02-05 01:49:35 UTC

Comments

It might be a bit late. However, where you able to solve your issue? I am able to load a self-recorded octomap as you do.

Asked by Javier V. Gómez on 2015-05-15 07:49:54 UTC

Answers