mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 07:53:34 +08:00
added getter function for wind states
This commit is contained in:
committed by
Julian Oes
parent
73b8ac954d
commit
168d9add76
@@ -202,3 +202,9 @@ void Ekf::fuseAirspeed()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Ekf::get_wind_velocity(float *wind)
|
||||
{
|
||||
wind[0] = _state.wind_vel(0);
|
||||
wind[1] = _state.wind_vel(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user