MAXswerve Field Oriented help

We would like some help with getting our MAXswerve field relative. We are using the template that is provided by REV. When we set field relative to true it kind of works. If the robot’s front or back is facing north/south (relative to the driver) everything works as expected. If the robot’s left or right are facing north/south (relative to the driver) everything is inverted.

Are you using NavX?

Yes. We did replace the standard gyro with the NavX.

The gyro invert in the Rev example doesn’t work. Add a negative to every gyro reading

Rev please I submitted a PR Fix for Inverted Gyros mainly NavX by Technologyman00 · Pull Request #14 · REVrobotics/MAXSwerve-Java-Template · GitHub

1 Like

Thank you so much! We got it working now.

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