mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 06:33:34 +08:00
Test Airspeed fusion
This commit is contained in:
@@ -163,6 +163,13 @@ Vector3f EkfWrapper::getVelocityVariance() const
|
||||
return Vector3f(_ekf->velocity_covariances().diag());
|
||||
}
|
||||
|
||||
Vector2f EkfWrapper::getWindVelocity() const
|
||||
{
|
||||
float temp[2];
|
||||
_ekf->get_wind_velocity(temp);
|
||||
return Vector2f(temp);
|
||||
}
|
||||
|
||||
Quatf EkfWrapper::getVisionAlignmentQuaternion() const
|
||||
{
|
||||
float temp[4];
|
||||
|
||||
@@ -80,6 +80,7 @@ public:
|
||||
matrix::Vector<float, 4> getQuaternionVariance() const;
|
||||
Vector3f getPositionVariance() const;
|
||||
Vector3f getVelocityVariance() const;
|
||||
Vector2f getWindVelocity() const;
|
||||
|
||||
Quatf getVisionAlignmentQuaternion() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user