View Single Post
  #4   Spotlight this post!  
Unread 02-03-2016, 17:12
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 348
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Navx Labview Issue

Quote:
Originally Posted by pribusin View Post
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.