AP_AHRS: added get_error_rp and get_error_yaw to AHRS_View
This commit is contained in:
parent
4cb43b1c27
commit
5f02b7eddb
@ -145,6 +145,18 @@ public:
|
|||||||
return ahrs.getLastPosDownReset(posDelta);
|
return ahrs.getLastPosDownReset(posDelta);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// return the average size of the roll/pitch error estimate
|
||||||
|
// since last call
|
||||||
|
float get_error_rp(void) const {
|
||||||
|
return ahrs.get_error_rp();
|
||||||
|
}
|
||||||
|
|
||||||
|
// return the average size of the yaw error estimate
|
||||||
|
// since last call
|
||||||
|
float get_error_yaw(void) const {
|
||||||
|
return ahrs.get_error_yaw();
|
||||||
|
}
|
||||||
|
|
||||||
float roll;
|
float roll;
|
||||||
float pitch;
|
float pitch;
|
||||||
float yaw;
|
float yaw;
|
||||||
|
Loading…
Reference in New Issue
Block a user