Quote:
Originally Posted by pribusin
Is there a way to tell when the start-up calibration is complete? We are just now revisiting the Navx for autonomous and we're unable to zero any parameters. Are we not waiting long enough before resetting them to zero? Does the start-up calibration happen every time the RoboRio restarts code after a download or only on power-up?
In fact we're even getting very strange results from 'displacement' as well. Not a continuously increasing value when the robot drives forward but almost a velocity reading.
|
As long as you're running navX-MXP firmware version 2.0 or higher and you are using the 2.0 LabVIEW Library, you can check whether calibration is complete via the Z900_navX_Get_SystemInformation_Status.vi. This VI outputs a status cluster with a "Calibration Status" indicator; calibration is complete when it's value is IMU_CAL_STATE_COMPLETE.
The estimated displacement values are not accurate enough for tracking robot position to the accuracy typically needed for FRC robotics. There's more information on this at the
navX-MXP Frequently Asked Questions page.