Greeting! Our Programming team is stumped on how to use/program the NavX. We’re looking for assistance in how and what to do for it.
What should be done after that?
1 Like
That depends what you need to do. If you just want to get the Gyro angle, then you create an AHRS object (similar to AHRS navx{frc::I2C::Port::kMXP};
, then call GetAngle()
. If you need other values, please refer to the navX docs for what method to call.
Lots of c++ examples are here: https://pdocs.kauailabs.com/navx-mxp/examples/