mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
chore(commander): remove unused flag_control_termination_enabled flag
This commit is contained in:
1 parent
f33b5769fc
commit
5d2cec97f1
2 files changed
-2
No files matched your search
@@ -15,4 +15,3 @@ bool flag_control_climb_rate_enabled # true if climb rate is controlled
|
||||
bool flag_control_attitude_enabled # true if attitude stabilization is mixed in
|
||||
bool flag_control_rates_enabled # true if rates are stabilized
|
||||
bool flag_control_allocation_enabled # true if control allocation is enabled
|
||||
bool flag_control_termination_enabled # true if flighttermination is enabled
|
||||
@@ -106,7 +106,6 @@ void getVehicleControlMode(uint8_t nav_state, uint8_t vehicle_type,
|
||||
|
||||
case vehicle_status_s::NAVIGATION_STATE_TERMINATION:
|
||||
/* disable all controllers on termination */
|
||||
vehicle_control_mode.flag_control_termination_enabled = true;
|
||||
break;
|
||||
|
||||
case vehicle_status_s::NAVIGATION_STATE_OFFBOARD:
|
||||
|
||||
Reference in new issue
Block a user