mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:03:34 +08:00
ekf2_test: test yaw variance after reset
This commit is contained in:
@@ -889,6 +889,15 @@ Vector3f Ekf::calcRotVecVariances() const
|
||||
return rot_var;
|
||||
}
|
||||
|
||||
float Ekf::getYawVar() const
|
||||
{
|
||||
Vector24f H_YAW;
|
||||
float yaw_var = 0.f;
|
||||
computeYawInnovVarAndH(0.f, yaw_var, H_YAW);
|
||||
|
||||
return yaw_var;
|
||||
}
|
||||
|
||||
// initialise the quaternion covariances using rotation vector variances
|
||||
// do not call before quaternion states are initialised
|
||||
void Ekf::initialiseQuatCovariances(Vector3f &rot_vec_var)
|
||||
|
||||
Reference in New Issue
Block a user