EKF: move small simple getters to header

- return by const reference where possible
This commit is contained in:
Daniel Agar
2020-10-30 09:48:45 -04:00
committed by GitHub
parent defb35d8f5
commit 48a8992caf
6 changed files with 109 additions and 131 deletions
-5
View File
@@ -161,11 +161,6 @@ void Ekf::fuseAirspeed()
}
}
Vector2f Ekf::getWindVelocity() const
{
return _state.wind_vel;
}
Vector2f Ekf::getWindVelocityVariance() const
{
return P.slice<2, 2>(22,22).diag();