mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 03:51:36 +08:00
WIP: FW attitude control limit airspeed scaling changes per iteration
This commit is contained in:
committed by
Lorenz Meier
parent
eba0bb389a
commit
36aeb9defc
@@ -132,6 +132,8 @@ private:
|
||||
float _flaps_applied{0.0f};
|
||||
float _flaperons_applied{0.0f};
|
||||
|
||||
float _airspeed_scaling{1.0f};
|
||||
|
||||
bool _landed{true};
|
||||
|
||||
float _battery_scale{1.0f};
|
||||
@@ -298,5 +300,6 @@ private:
|
||||
void global_pos_poll();
|
||||
void vehicle_status_poll();
|
||||
void vehicle_land_detected_poll();
|
||||
void get_airspeed_and_scaling(float &airspeed, float &airspeed_scaling);
|
||||
|
||||
float get_airspeed_and_update_scaling();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user