TalonSRX with Lamprey encoders

Hello, this is Ryan from the 4829 Titanium Tigers programming team. We are trying to to swerve drive this season and are trying to figure it out. We are using Andymark Swerve modules but are soon switching to these WCP modules and are having trouble with our encoder values. We are using Lamprey Absolute encoders on a Talon SRX and the values are inconsistent.
We have tried some swerve examples from the internet and are also trying to just get it to turn 90 degrees. Turn 90 degree code and full swerve code. Our encoder values are perfect when the code is disabled, but when we enable all of it goes out the window.

Any ideas?
Thanks,
Ryan

Edit: We removed the tx and rx pins from the lampreys and it works fine now

1 Like

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