Copter: do not report collision warning when action is COLLISION_ACTION_NONE:
This commit is contained in:
parent
b187e1f9a6
commit
a1bf791529
@ -78,6 +78,7 @@ MAV_COLLISION_ACTION AP_Avoidance_Copter::handle_avoidance(const AP_Avoidance::O
|
||||
|
||||
// unsupported actions and those that require no response
|
||||
case MAV_COLLISION_ACTION_NONE:
|
||||
return actual_action;
|
||||
case MAV_COLLISION_ACTION_REPORT:
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user