mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -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),
|
fence(ahrs, inertial_nav),
|
||||||
#endif
|
#endif
|
||||||
#if AC_AVOID_ENABLED == ENABLED
|
#if AC_AVOID_ENABLED == ENABLED
|
||||||
avoid(ahrs, inertial_nav, fence, g2.proximity),
|
avoid(ahrs, inertial_nav, fence, g2.proximity, &g2.beacon),
|
||||||
#endif
|
#endif
|
||||||
#if AC_RALLY == ENABLED
|
#if AC_RALLY == ENABLED
|
||||||
rally(ahrs),
|
rally(ahrs),
|
||||||
|
Loading…
Reference in New Issue
Block a user