mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-25 15:36:01 +08:00
chore(commander): remove unused flag_control_termination_enabled flag
This commit is contained in:
@@ -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