|
|
|
@ -267,6 +267,20 @@ public:
@@ -267,6 +267,20 @@ public:
|
|
|
|
|
bool getRangeBeaconDebug(int8_t instance, uint8_t &ID, float &rng, float &innov, float &innovVar, float &testRatio, Vector3f &beaconPosNED, |
|
|
|
|
float &offsetHigh, float &offsetLow, Vector3f &posNED) const; |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Writes the measurement from a yaw angle sensor |
|
|
|
|
* |
|
|
|
|
* yawAngle: Yaw angle of the vehicle relative to true north in radians where a positive angle is |
|
|
|
|
* produced by a RH rotation about the Z body axis. The Yaw rotation is the first rotation in a |
|
|
|
|
* 321 (ZYX) or a 312 (ZXY) rotation sequence as specified by the 'type' argument. |
|
|
|
|
* yawAngleErr is the 1SD accuracy of the yaw angle measurement in radians. |
|
|
|
|
* timeStamp_ms: System time in msec when the yaw measurement was taken. This time stamp must include |
|
|
|
|
* all measurement lag and transmission delays. |
|
|
|
|
* type: An integer specifying Euler rotation order used to define the yaw angle. |
|
|
|
|
* type = 1 specifies a 312 (ZXY) rotation order, type = 2 specifies a 321 (ZYX) rotation order. |
|
|
|
|
*/ |
|
|
|
|
void writeEulerYawAngle(float yawAngle, float yawAngleErr, uint32_t timeStamp_ms, uint8_t type); |
|
|
|
|
|
|
|
|
|
// called by vehicle code to specify that a takeoff is happening
|
|
|
|
|
// causes the EKF to compensate for expected barometer errors due to ground effect
|
|
|
|
|
void setTakeoffExpected(bool val); |
|
|
|
|