mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 16:00:35 +08:00
vehicle_status delete engine_failure_cmd
This commit is contained in:
committed by
Lorenz Meier
parent
17e17d79dd
commit
fc7c8b4b89
@@ -1786,7 +1786,7 @@ FixedwingPositionControl::tecs_update_pitch_throttle(float alt_sp, float airspee
|
||||
_reinitialize_tecs = false;
|
||||
}
|
||||
|
||||
if (_vehicle_status.engine_failure || _vehicle_status.engine_failure_cmd) {
|
||||
if (_vehicle_status.engine_failure) {
|
||||
/* Force the slow downwards spiral */
|
||||
pitch_min_rad = M_DEG_TO_RAD_F * -1.0f;
|
||||
pitch_max_rad = M_DEG_TO_RAD_F * 5.0f;
|
||||
|
||||
Reference in New Issue
Block a user