mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 15:33:57 -04:00
The asin() in the pitch calculation can only take values between -1 and 1. This change ensures that the value is in range, and if it isn't then we force a normalization. If that fails we reset the matrix |
||
---|---|---|
.. | ||
examples/DCM_Test | ||
AP_DCM_HIL.cpp | ||
AP_DCM_HIL.h | ||
AP_DCM.cpp | ||
AP_DCM.h |