Git Product home page Git Product logo

Comments (1)

simondlevy avatar simondlevy commented on June 18, 2024

Good questions, ALHarake! The answer is that the crucial computations are done in the super-fast C code (coreslam,c) that is called by the Python code. For example, the scan_update function computes the angle based on the configuration of your lidar unit and the index of the scan distance. Let's say I have a really precise lidar that gives me 1000 scan distances over a 360 degree sweep. Then each distance is 360/1000 degrees from the one before it. The first distance is 0 degrees, the second is 0.36 degrees, the third is 0.72 degrees, etc.

I believe this also answers your second question, about timing. BreezySLAM can process the scans much faster than your lidar unit can deliver them. For example, the RPLidar scans at 5.5Hz (scans per second), whereas BreezySLAM running on an ODROID U3 can process 140 scans per second. So there's little chance of losing any scan data during the time it takes to process the scan.

from breezyslam.

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.