Issues with Swerve Drive

Hello,

My team’s programmer and I are having issues with our swerve drive (first year using it). We can either get it to drive forward, backward, and side to side correctly, or we can get it to spin correctly, but we cannot get it to do both. We have been trying to figure it out for a while, but have had no luck. Would anyone happen to have any suggestions? Our code is below:

Thank you so much in advance.

You guys have already posted before here. Have you done what I suggested? What was the outcome?

Yes, we did. Unfortunately, it did not work. Thank you for your help though.

Looks like you are using neos I would recommend looking at this base . I have used this to implement PathPlanner and modified it to work with a NavX (Here)

I would look into the drive command under the commands folder

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