mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-05 14:58:52 +08:00
Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user