mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 03:33:34 +08:00
FW Position Controller: change airspeed setpoint init
-remove dedicated vtol transition airspeed init logic -init airspeed setpoint on first usage of tecs -init to max of current airspeed and min airspeed Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -384,13 +384,8 @@ private:
|
||||
|
||||
bool _tecs_is_running{false};
|
||||
// VTOL / TRANSITION
|
||||
|
||||
float _airspeed_after_transition{0.0f};
|
||||
bool _was_in_transition{false};
|
||||
bool _is_vtol_tailsitter{false};
|
||||
matrix::Vector2d _transition_waypoint{(double)NAN, (double)NAN};
|
||||
param_t _param_handle_airspeed_trans{PARAM_INVALID};
|
||||
float _param_airspeed_trans{NAN}; // [m/s]
|
||||
|
||||
// ESTIMATOR RESET COUNTERS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user