Code Monkey home page Code Monkey logo

Comments (2)

ZacharyTaylor avatar ZacharyTaylor commented on August 23, 2024

Honestly getting down to below 1 cm with Voxblox in realtime is going to be difficult.

First one small point. If you don't set the integration_threads parameter voxblox will automatically use the same number of threads as you have CPU cores, which should be optimal for processing speed.

There are two main issues limiting Voxblox's performance on very small voxels:

  1. Voxblox integrates rays all the way from the detected point to the sensor. This means whereas other TSDF libraries scale with the square of the voxel size, Voxblox scales with the cube. Because of this we have only run the system in realtime down to about 3cm. Going from 3cm to 1cm will use around 27 times the CPU and RAM. You can disable full ray integration and just use the area around the truncation distance by setting voxel_carving_enabled to false, which will improve the scaling. However, this will prevent Voxblox from removing noise and outliers that occur in freespace.

  2. Voxblox accesses memory in a fairly random order. This means it makes terrible use of the cache and the CPU is continually stuck waiting for data. You have probably noticed on quite powerful CPUs Voxblox doesn't get anywhere near 100% CPU usage even when falling behind. This means while a more powerful computer will always help, you will hit diminishing returns fairly quickly.

from voxblox.

JiaruiWang-Jill avatar JiaruiWang-Jill commented on August 23, 2024

Thnxx a lot!

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.