NavX

In the past our team has used the ADXRS450_Gyro that goes in the SPI port for our autonomous code. This year, we are mounting our electronics vertically so we decided it would be easier to just use the NavX we have since it has 3 axis gyros. We’re having trouble pulling the angle for the NavX because of the way it is orientated. For the old gyro we just did: gyro->Reset(); gyro->GetAngle() How can I get the angle of the turn of the robot if the roborio is tilted up? Also, how can I zero the angle?
Thanks in Advanced for your help!

Hi Nathan,

If you look here you will see how to omnimount your navX:

https://www.pdocs.kauailabs.com/navx-mxp/installation/omnimount/

If this does not answer your questions please feel free to reach out again.

Tim