I am using this encoder with these encoder adapters:
https://www.dfrobot.com/product-777.html
https://www.dfrobot.com/product-976.html
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
---
header:
seq: 50463
stamp:
secs: 1545431728
nsecs: 374480665
frame_id: ''
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]
effort: []
---
avr_speed: 9.55416168218e-307
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?
-- CBQ
Update:
Solved. There was a bug in the driver, and a patch was created, and merged quickly:
https://github.com/ros-drivers/phidgets_drivers/pull/30