In file included from ../../ArduCopter/Copter.h:90:0,
../../ArduCopter/config.h:692:4: error: #error Helicopter frame requires acro mode supportwhich is disabled
compilation terminated due to -Wfatal-errors.
Waf: Leaving directory `/home/b/MMC_ArduPilot/build/px4-v2'
-> task in 'bin/arducopter-heli' failed (exit status 1):
So I used a stereo camera, a TX2 on top of Pixhawk to achieve fully autonomous drone flight and collision avoidance.
In case someone is also interested, here is how I have done it:https://github.com/generalized-intelligence/GAAS/tree/master/demo/tutorial_1