Reusing octomap data from rosbag as a VoxelGrid #325
Replies: 2 comments
-
You can try to increase the pitch when converting from pointcloud to mesh, that would help. You cannot directly use octomap voxels in cuRobo as cuRobo requires signed distance. If you are using a depth camera, then you can use nvblox to generate a ESDF voxel map. Another approach is to compute a signed distance grid from octomap and use the voxel collision checker. Here is an example of how to load a esdf grid into our collision checker: curobo/benchmark/curobo_voxel_benchmark.py Line 310 in 14b554b |
Beta Was this translation helpful? Give feedback.
-
@balakumar-s thanks for the answer. The problem is that I don't have that ESDF grid in the first place, but I still want to be able to use the world description stored in octomap voxels 🙂 I managed to produce the following scene using I'm interested in the binary octomap format, i.e. the cells are marked only as free or occupied, not in their occupancy probabilities. In this simpler form, those voxels are basically cubes with center points. Thus the procedure boils down to:
It is still a mesh after all, hence its collision-checking performance cannot be near of NV blox or a voxel grid, but it allows motion planning on the existing planning scenes.
Any hints on this one? I read through cuMotion's update_voxel_grid, but it still requires a depth cam to exist, which would fill the underlying NVblox structure in parallel and return the ESDF data on request to be later processed in get_esdf_voxel_grid |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, I have a collection of rosbag files with octomap data. I want to reproduce them in cuRobo as a

curobo.geom.types.VoxelGrid
. I adopted anoctomap->curobo.geom.types.PointCloud->curobo.geom.types.Mesh
conversion, but the result is not very satisfactory. See below:Having those voxels as meshes is not very good, I would like to have proper voxels in a typical octomap. Is there a way to do that?
Beta Was this translation helpful? Give feedback.
All reactions