Browse Source

Copter: add beacon object to avoidance object

mission-4.1.18
Shingo Matsuura 8 years ago committed by Randy Mackay
parent
commit
0800c6be52
  1. 2
      ArduCopter/Copter.cpp

2
ArduCopter/Copter.cpp

@ -80,7 +80,7 @@ Copter::Copter(void) : @@ -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…
Cancel
Save