CTR TunerX Swerve Code Generator Trobule Shooting, Krakens go crazy spining

When we start Tuner X code generators validate drive test wheels go crazy.
Same thing hapenes when we upload the code given by the code generator.
our hardware:
MK4N, pigeon, cancoders, kraken x60s.
Because tunerx 2024 dosen’t supports mk4n we use custom module with correct information, our wheel to wheel size is 24.750in.

Here is video of it:
https://imgur.com/a/ncTJwae

we would appreciate any assistance you can provide

If you don’t get the answer here call/email CTRE. They provide excellent support.

I had a team with strange issues last week and they got on the phone with me and worked through solutions.

I will email them, thanks

Usually this means that the when the steer test asked you if the wheels rotated counterclockwise, you said yes, but they actually rotated clockwise.

Rerun the steer test and make sure you are looking at it from the top of the robot.

Additionally, make sure your CANcoder is CCW positive by plotting it’s velocity.

  • Click on the CANcoder in the device view
  • Plot velocity
  • Rotate the wheel CCW
  • CANcoder velocity should increase positively
2 Likes