GithubHelp home page GithubHelp logo

Comments (7)

ZacharyTaylor avatar ZacharyTaylor commented on July 26, 2024

Hi, what does your launchfile look like, the esdf calculation and data visualization can both be fairly computationally expensive so are disabled by default.
Make sure generate_esdf and publish_slices are both set to true.

from voxblox.

bxc237 avatar bxc237 commented on July 26, 2024

@ZacharyTaylor Thank you for the reply. I have already set these two values to "true", otherwise the esdf_slice topic would not even show up in RVIZ. This is my launch file.

from voxblox.

bxc237 avatar bxc237 commented on July 26, 2024

cow_and_lady_dataset.launch.txt

from voxblox.

ZacharyTaylor avatar ZacharyTaylor commented on July 26, 2024

Okay I was able to replicate the issue and it turns out its a bug that shows up when float(voxel_size) > double(voxel_size) and a layer slice is requested exactly between two blocks. This is the case for voxel_size = 0.05 and slice_level = 0.5 such as in the example.

I have pushed a quick fix for it, though unfortunately it creates a double layer in these instances. See #145

Also in your launchfile you might want to get rid of the line
<param name="max_integration_time_s" value="0.02"/>
as this is quite a low limit and may cause quite a few voxels to be dropped, especially for smaller voxel sizes. I put this low limit in the main launchfile while testing and forgot to remove it before merging the changes. I will remove it in my next pr

from voxblox.

bxc237 avatar bxc237 commented on July 26, 2024

Thanks I can see the esdf_slice in RVIZ now. So I'm closing this issue about displaying ESDF.....I have not dug into the code yet. What is the possible cause for the double layer?

from voxblox.

ZacharyTaylor avatar ZacharyTaylor commented on July 26, 2024

The slice code works by displaying all voxels who are within (voxel_size / 2) of the specified height. For these settings there are voxels at a height of 0.475 and 0.525, so in requesting a slice at 0.5 you end up exactly between the two voxels and end up getting both.

from voxblox.

bxc237 avatar bxc237 commented on July 26, 2024

Thank you very much for the explanation!

from voxblox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.