I am using this encoder with these encoder adapters:
https://www.dfrobot.com/wiki/index.php/ ... er_FIT0324
Here's an example of running a few cycles of the PWM at full speed (255) on all the channels:
Code: Select all
name: [joint0, joint1, joint2, joint3]
position: [-9560.0, -2698.0, -1.7348451648957836e-305, -9.18844e-319]
velocity: [0.0, 0.0, 0.0, 0.0]
The values on channels 2 and 3 are crazy small and very close to 0 on those last 2 channels. The avr_speed calculation is very wrong:
Channels 0 and 1 are reasonable (i.e. standard looking), but not the same, they're off by some factor, and the same factor when I switch out the same motor. Something is off with with the encoder readings.
Is there a way to reset the firmware or reset any values ticker or index or all the values on the PhidgetsEncoder?
How do I reset or get it back to factory state?
Solved. There was a bug in the driver, and a patch was created, and merged quickly: