mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Copter: add beacon object to avoidance object
This commit is contained in:
parent
7b0f6edf31
commit
0800c6be52
@ -80,7 +80,7 @@ Copter::Copter(void) :
|
||||
fence(ahrs, inertial_nav),
|
||||
#endif
|
||||
#if AC_AVOID_ENABLED == ENABLED
|
||||
avoid(ahrs, inertial_nav, fence, g2.proximity),
|
||||
avoid(ahrs, inertial_nav, fence, g2.proximity, &g2.beacon),
|
||||
#endif
|
||||
#if AC_RALLY == ENABLED
|
||||
rally(ahrs),
|
||||
|
Loading…
Reference in New Issue
Block a user