Quote:
Originally Posted by twiggzee
We did call the .start() and .reset() methods in the initialize() section of the command both when we used the Encoder and Counter classes.
the diamond infinity error showed for both .getRaw() and .getVoltage() methods in the PWM class. if that means i was reading 0 then that's no good either. =/
|
I'm looking at the datasheet for AS5130 and I don't see any square wave quadrature signals like what the WPILib Encoder class is expecting.
Quote:
|
we can check the wiring on the low pass filter tomorrow but my electrical guy says he's pretty sure he did it right.
|
Can you post a quick hand-sketch of the filter circuit you used and how you have the AS5130 wired to the cRIO analog input? Include pin numbers of the 5130 and component values of the filter.