Hi,
Every time I enable OA_TYPE,1, RTL does not work. My copter rises to the RTL altitude but does not return, stays at the waypoint forever. After I set OA_TYPE back to 0, RTL works fine. I use one Radar Rangefinder facing front. Currently running Arducopter 4.0.5 . I use LOITER, AUTO and RTL on my flight modes. My radar readings show up perfectly in Mission Planner’s proximity viewer.
OA_DB_BEAM_WIDTH,5
OA_DB_DIST_MAX,0
OA_DB_EXPIRE,10
OA_DB_OUTPUT,1
OA_DB_QUEUE_SIZE,80
OA_DB_RADIUS_MIN,0.01
OA_DB_SIZE,100
OA_LOOKAHEAD,5
OA_MARGIN_MAX,5
OA_TYPE,1
I tested with Cube Black and with versions of Arducopter 4.03, 4.0.4 and 4.0.5. All behave the same. Collision Radar works fine
RTL works fine in Simple Object Avoidance (Copter stops in front of obstacles).
PRX_TYPE,4
AVOID_ANGLE_MAX,3000
AVOID_BEHAVE,1
AVOID_DIST_MAX,2
AVOID_ENABLE,3
AVOID_MARGIN,2
What could be wrong for RTL not work with OA_TYPE,1?