kauailabs / navxmxp

Robotics Navigation Sensors. NavX-MXP designed for the National Instruments RoboRIO & FIRST FRC Robotics. Navx-MIcro designed for Android-based FIRST FTC Robots
MIT License
105 stars 87 forks source link

Java AHRS: getDisplacement functions return wrong value #10

Open virtuald opened 8 years ago

virtuald commented 8 years ago

They return integrator.getVelocity*() instead of integrator.getDisplacementX().

kauailabs commented 8 years ago

Good catch; thanks, this is an issue in the backwards compatibility code (navX-MXP firmware v 2.0 moved the integration down into the navX-MXP microcontroller), and we missed that in testing.

This will get updated in a few days when we release the FRC 2016 version of the libraries.