Hello. We are trying to use Lamprey Absolute Encoders with Spark Max motor controllers and NEO motors. We’re having issues with getting values from getPosition. The value sometimes gets smaller and it changes inconsistently. With getVelocity, it switches between positive and negative.
I’ve looked at past threads for the Lamprey encoder. They talk about removing wires when used with the Talon SRX. There isn’t much info for the Spark Max and all I could find was nonspecific and mentioned having issues and using breakout boards. We currently have the encoder directly connected to the data port on the Spark Max with the provided cable. We’ve also set the Spark Max to use the alternate encoder at 1024 counts per revolution. What should we do to make the Lamprey encoder work correctly with the Spark Max?