Path Planner mvoing in diagonal No matter what I give it

Path Planner moving in diagonal No matter what I give it. It is correcting for Rotation, but it does not turn or move in a different direction.

  • Motors: Spark Max + neo
  • Angle Encoder: Built in for PID and CANcoder for absolute
  • Modules: Mk4i
  • Gyro: NavX

Edit:

Code: GitHub - Team7520/UltimateSwerveBase: Custom Fork Of UltimateSwerveBase With NavX + CANCoder + Neo/SparkMax Support

Could you post your github link? We’re having a similar issue.
Using MaxSwerve, though.

Make sure you are using the right alliance color if you have flipping the path per alliance on or not configured

Sorry I forgot, here:GitHub - Team7520/UltimateSwerveBase: Custom Fork Of UltimateSwerveBase With NavX + CANCoder + Neo/SparkMax Support

1 Like

It was just a PID Issue!

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