Copter: add beacon object to avoidance object

This commit is contained in:
Shingo Matsuura 2017-05-02 17:59:44 +09:00 committed by Randy Mackay
parent 7b0f6edf31
commit 0800c6be52

View File

@ -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),