Code Monkey home page Code Monkey logo

Comments (11)

omkger avatar omkger commented on July 17, 2024 1

Updated the original post. You're welcome :)

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024 1

Awesome, thank you again , you helped me a lot and surely a lot of others who will see this post later on.

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024

doing this still gives errors with sync bytes mimsmatched and descriptor mismatch

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024

its an a3, it runs on 256000. I was able to fix this by changing to express scan mode , normal scan mode gives me the mismatched bytes and descriptor mismatch too. bbut express scan is giving me the correct numbers.

For anyone running an A3 , doing this works and lets you run force scan and express scan.

from pyrplidar.

omkger avatar omkger commented on July 17, 2024

Express mode 0 is the normal scan. In my experience mode 3 gives the best result overall. I prettied up the original post for future readers.
https://imgur.com/ZFiudfI

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024

Thanks, really informative. I am using right now Express mode 4 which I assume is stability mode on the A3 which fits my needs. As a side, if you know how to print or call out specific values such as angle, and distance you could write them for future people reading this post.

I believe using print(scan.angle) would print only the angle.

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024

Small note here , awesome editing on the first post.

Do you know the units at which the distance is reported? I cannot find what type of unit is and I am assuming it is Cm . Thanks in advance.

from pyrplidar.

omkger avatar omkger commented on July 17, 2024

Distance is in mm (millimetres). Angle is in regular degrees.

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024

Distance is in mm (millimetres). Angle is in regular degrees.

Hey, a small question. have you bbeen able to verify which mode is which? Lately express_mode (4) seems to have a low precision.

from pyrplidar.

omkger avatar omkger commented on July 17, 2024

Please refer to https://imgur.com/ZFiudfI. The first is 0 last is 4. In my experience 3 works best, then 2, then the rest.

from pyrplidar.

Mytre avatar Mytre commented on July 17, 2024

Please refer to https://imgur.com/ZFiudfI. The first is 0 last is 4. In my experience 3 works best, then 2, then the rest.

Yes, it has the better readings indoors. But I am trying to use the lidar outdoors during daytime. Following that 4 should be fine for my needs , I will just continue testing. Thank you.

from pyrplidar.

Related Issues (10)

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.