Questions tagged [octomap]

10 questions
2
votes
0 answers

Converting octomap to either .fbx or .obj

I have installed Octomap on my com and its running properly. Is there a way to export Octomap 3D occupancy map and convert it to .fbx or .obj format?
J.Doe
  • 21
  • 1
1
vote
1 answer

Visualizing UAV 3D LiDAR scan with octomap on RVIZ

I have a UAV with a LiDAR onboard flying and scanning on 3D space. I have the UAV's GPS position with good precision, and I wanted to know how to build a 3D map using the LiDAR's pointCloud. Our goal is for the UAV to avoid obstacles in front of it,…
Leandro
  • 15
  • 6
1
vote
1 answer

How to use non catkin package in catkin one

i am trying to do some changes on octomap source using octomap_server, so first i have installed Octomap like sudo apt-get install ros-melodic-octomap and then i have cloned octomap_server package to my catkin workspace, the things goes fine where…
Mjd Kassem
  • 17
  • 3
1
vote
2 answers

How to convert a Gazebo world to a point cloud?

I am using the PX4 toolchain to build an autonomous UAV. I am using it through the Gazebo simulator, using ROS and MAVROS. For now, I need to work on path finding algorithms, not sensors, so I would like a "ground truth" map of a Gazebo simulation.…
R. Hidra
  • 21
  • 6
1
vote
1 answer

Octomap (octree) coordinates in xyx space

Given an octomap::OcTree, how can I get the cartesian coordinates of the occupied cells? double printOccupied(boost::shared_ptr octree) { // Get some octomap config data auto res = octree->getResolution(); unsigned int…
BoltzmannBrain
  • 5,082
  • 11
  • 46
  • 79
0
votes
1 answer

C++ - Undefined reference to octomap::OcTree::OcTree(double)'

I'm trying to use the library octomap and have installed according to the instructions in their GitHub. However, when I try to build and run this simple code with VSCode build task (with g++) I get the error: undefined reference to…
CPP
  • 13
  • 2
0
votes
1 answer

.simplemap to octomap/point cloud and ground truth robot pose conversion

I want to use dataset at https://ingmec.ual.es/datasets/lidar3d-pf-benchmark/ in my project. The available map is .simplemap. What I understand is it stores both map and the robot poses as well. I want to get the point cloud representation of this…
fafz
  • 1
0
votes
3 answers

c++ - Does allocating memory to an empty class casues memory leak?

The following function appears in the OctoMap code: class AbstractOcTreeNode {}; -> They declare an empty class AbstractOcTreeNode** children; -> This is declared in the OcTreeDataNode class header file template void…
RonD
  • 26
  • 5
0
votes
1 answer

How to build Qmake for Visual studio project? specifically for QGLViewer for octomap library

I need to build an octomap on visual studio 2017. According to website they have asked to do the following open a windows shell (e.g., from the START-Menu -> QT) cd octovis/src/extern/QGLViewer qmake -t vclib QGLViewer.pro -spec…
Joker
  • 715
  • 1
  • 14
  • 31
-1
votes
1 answer

Show Grid line of 2d Map in image

i had search through anywhere on google and forums but i couldnt found what i wanted. hope someone could help me here... i had generated a 2d map from octomap using map_server map_saver from a pcd file it generated 2 file which is pgm and yaml…
zhang yu
  • 45
  • 1
  • 4