YAGSL Absolute Encoder Offset Problem with TTB Analog Absolute Encoder

Hi everyone, my team and I just got swerve for this year and we found the marveleous YAGSL code. The thing is that I’m having problems configuring the Absolute Encoder Offset of all of my modules, the modules do not point straight forwards even tho i already put an offset value, for real it doesn’t even change lol, so i looked up at the YAGSL Documents and found out this.

We have a Swerve X(Neos, spark max, thrifty absolute encoder, and a navx)

If this also has occured to another team and found a solution please let me know, THANKS!

Have you checked to make sure that the encoders are reading reliably? i.e. make sure that they are mounted correctly and there is no slippage of the magnet.

One way you can do this is record your offsets, turn robot off, shuffle the wheels around a bunch, re-line up the wheels and see if the offsets remained the same.

Hey we had a similar problem, make sure all your firmware is up to date. YAGSL, Problems with AbsoluteEncoderOffset and CAN errors

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.