Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.

This commit is contained in:
baumanta
2019-03-12 11:24:33 +01:00
committed by Beat Küng
parent f42b378b9b
commit d42b9205f9
7 changed files with 18 additions and 19 deletions
@@ -227,7 +227,7 @@ bool FlightTaskAuto::_evaluateTriplets()
_mission_gear = _sub_triplet_setpoint->get().current.landing_gear;
}
if (MPC_OBS_AVOID.get() && _sub_vehicle_status->get().is_rotary_wing) {
if (COM_OBS_AVOID.get() && _sub_vehicle_status->get().is_rotary_wing) {
_checkAvoidanceProgress();
}