fxedwingPositionControl: Add slew rate at the end for all mode instead inside each

This commit is contained in:
Konrad
2023-12-05 10:42:23 +01:00
committed by Silvan Fuhrer
parent ae3aee3402
commit d1b8a2e8d5
4 changed files with 13 additions and 35 deletions
@@ -256,6 +256,7 @@ private:
double _current_longitude{0};
float _current_altitude{0.f};
float _roll{0.f};
float _pitch{0.0f};
float _yaw{0.0f};
float _yawrate{0.0f};
@@ -720,6 +721,7 @@ private:
void publishOrbitStatus(const position_setpoint_s pos_sp);
SlewRate<float> _airspeed_slew_rate_controller;
SlewRate<float> _roll_slew_rate;
/**
* @brief A wrapper function to call the TECS implementation