@rmackay9 I performed a short flight, having an inclusion-type fence. The mission plan was made such that the copter breaches the fence. This was done to see if it stops or slides over the fence boundary.
The copter breached the fence and went into RTL as per FENCE_ACTION. While returning home it again breached the fence and did not give any message on GCS for breach. So I was wondering if RTL actually obeys Geo-fencing.
Also can AVOID_ENABLE = 0 & AVOID_BEHAVE = 0/1 help here?
The stop/slide behaviour is for simple avoidance which only works in manual modes (Loiter, etc). To make RTL avoid the fences @manavgandhi17 is right that Dijkstra’s or BendyRuler needs to be enabled. I’d recommend Dijkstra’s for this use case.
I don’t think that Plane uses Dijkstra’s or BendyRuler. There have been discussions about adding support and in fact BendyRuler was initially developed on Plane for use in the Outback Challenge it’s never made it into the main branch (aka “master”, aka “latest”).