Alternate main() which implements power cycling

File uploaded by Mike Stanley Employee on Aug 22, 2016
Version 1Show Document
  • View in full screen mode

This this shows how to implement the power cycling feature described in Section 4.8, Fusion Standby mode, of the Version 7.00 Sensor Fusion User Guide.  It will power down the gyro when the board is stationary, and also suspend sensor fusion.   Last computed results continue to be sent until new motion is detected.  One nice side effect is that 6-axis yaw drift is almost eliminated.