mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 16:03:34 +08:00
TECS: Updated throttle control for airspeed sensorless vehicles. It includes the P gain controller instead of feedforward only. I term is still disabled.
This commit is contained in:
@@ -504,10 +504,6 @@ void TECSControl::_updateThrottleSetpoint(float dt, const SpecificEnergy &se, co
|
|||||||
// Add the integrator feedback during closed loop operation with an airspeed sensor
|
// Add the integrator feedback during closed loop operation with an airspeed sensor
|
||||||
throttle_setpoint += _throttle_integ_state;
|
throttle_setpoint += _throttle_integ_state;
|
||||||
|
|
||||||
} else {
|
|
||||||
// when flying without an airspeed sensor, use the predicted throttle only
|
|
||||||
throttle_setpoint = throttle_predicted;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ramp in max throttle setting with underspeediness value
|
// ramp in max throttle setting with underspeediness value
|
||||||
|
|||||||
Reference in New Issue
Block a user