add functions to compute yaw (321 and 312 sequence)

from quaternion and rotation matrix
This commit is contained in:
Kamil Ritz
2020-08-27 09:51:56 +10:00
committed by Paul Riseborough
parent 15afa8ae17
commit fdc86c247a
9 changed files with 60 additions and 32 deletions
-3
View File
@@ -816,9 +816,6 @@ private:
void checkRangeAidSuitability();
bool isRangeAidSuitable() { return _is_range_aid_suitable; }
// return the square of two floating point numbers - used in auto coded sections
static constexpr float sq(float var) { return var * var; }
// set control flags to use baro height
void setControlBaroHeight();