sphero-inc / sphero-sdk-raspberrypi-python

Sphero RVR SDK to run on Raspberry Pi using Python
Other
77 stars 50 forks source link

Expose motor encoder values via SDK #7

Closed avirtuos closed 3 years ago

avirtuos commented 4 years ago

I tried to find if there was a way to read the motor encoder values but was unable to find a way to do so. Can you point me in the right direction or consider this as a feature request to expose the encoder values. This is extremely useful for using RVR with basic SLAM or dead-reconning algorithms that depend on or can be enhanced by odometry.

acampos81 commented 4 years ago

Hello @avirtuos, I apologize for the delay in responding. We've been super slammed lately. As of right now we do not expose the motor encoder values in our public SDK, but are considering making it available with our next firmware release. Would a 32-bit signed tick accumulator for each encoder be suitable data for SLAM usage?

avirtuos commented 4 years ago

Yea that should work.

cletusw commented 3 years ago

Looks like this should be closed due to this summer's firmware update?

Code

Jim-Konish commented 3 years ago

Yes, this is covered by the August 2020 firmware/SDK update.