Comments (11)
Updated the original post. You're welcome :)
from pyrplidar.
Awesome, thank you again , you helped me a lot and surely a lot of others who will see this post later on.
from pyrplidar.
doing this still gives errors with sync bytes mimsmatched and descriptor mismatch
from pyrplidar.
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.
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.
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.
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.
Distance is in mm (millimetres). Angle is in regular degrees.
from pyrplidar.
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.
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.
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)
- IndexError: string index out of range HOT 11
- lidar.connect() does not clear DTR and motor will stop
- Code for readme animation HOT 3
- RPLIDAR S1 doesn't work HOT 4
- Rplidar 3 descriptor length mismatch HOT 7
- IndexError: index out of range HOT 9
- How to set scan mode(s)?
- set/get motor speed and sampling rate
- In Windows force_scan does not work and start_scan mangles data after 20000 cycles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrplidar.