FWPositionController: only store acceleration and velocity in x

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-03-16 16:58:08 +01:00
parent 28db47480d
commit b33a8686f7
2 changed files with 10 additions and 7 deletions
@@ -263,8 +263,8 @@ private:
float _yaw{0.0f};
float _yawrate{0.0f};
matrix::Vector3f _body_acceleration{};
matrix::Vector3f _body_velocity{};
float _body_acceleration_x{0.f};
float _body_velocity_x{0.f};
MapProjection _global_local_proj_ref{};
float _global_local_alt0{NAN};