Navx getRate values inorrect?

Finally got to test the robot with gyroscopic correction, and the behavior wasn’t good. It looks like the problem is that the values returned by the NavX getRate() function are not correct. The documentation says the value is in degrees per second, but I recorded vaues for getYaw() and getRate() in the shuffleboard. In the course of about one second, the yaw value goes from 0 to 115 degrees, which looks about right. It seemed to do a little bit more than a quarter turn in about one second. However, during that time, the sensor never reported a value greater than 3.5 degrees per second.

Something’s not adding up. Has anyone experienced that problem, and if so, is it caused by something wrong in setup or configuration? i.e. Can I fix it?

See https://github.com/kauailabs/navxmxp/issues/69

Awesome. Thanks.

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