Stay-out zones for geofencing
It would be great if you could create a fence that instead of keeping you inside, kept you outside. For example, there is a huge tree in the middle of an open field. Create a radius and altitude fence around this tree so if you start flying into it the aircraft is redirected.
I like this one. Keep me from climbing a 50 ft tree! "If it saves just 1 life, it would be worth it" LOL
This is a very good feature to add. Will increase the safety of flights. It will be very useful to mark on the mission map no-fly zones (set with a radius and height or a polygon and height) to mark tall buildings, trees, antennas or other places.
+1
I agree! Is there any progress on this?
I have an application where I would like autonomous flight over an area but would like to avoid pre-defined tall objects such as towers or particular trees. A "keep out" or exclusion zone would be sort of an inverse geofence, so if the Path between waypoint 1 and 2 were to intersect this zone, the autopilot would maintain distance and either follow the perimeter of the zone, or compute a more efficient route that avoids it entirely. Is anyone actively working on this? I may be able to help fund development of this feature.
Sounds like a great feature On Mar 19, 2015 6:34 PM, "kd5ftn" [email protected] wrote:
I have an application where I would like autonomous flight over an area but would like to avoid pre-defined tall objects such as towers or particular trees. A "keep out" or exclusion zone would be sort of an inverse geofence, so if the Path between waypoint 1 and 2 were to intersect this zone, the autopilot would maintain distance and either follow the perimeter of the zone, or compute a more efficient route that avoids it entirely. Is anyone actively working on this? I may be able to help fund development of this feature.
— Reply to this email directly or view it on GitHub https://github.com/diydrones/ardupilot/issues/391#issuecomment-83844176.
I'm tentatively targeting Copter-3.4 for this feature but no promises
Pushing to AC3.5. We just ran out of time for AC3.4.
@rmackay9
I might be seeing this issue wrong, but don't we already have all the code infrastructure validated, verified and in place for this ? If the polygon fence checks if it's inside, couldn't we just check if we're outside. Than we could even use a fence type to determine if it's a fly inside/fly outside polygon fence ?? This would cover a great number of situations, and won't invalidate any further more comprehensive multi no fly zones.
@lvale, yes, we have about 70% of what we need. What we're missing is just a way to store lots of individual shapes to act as stay-out-zones. So that's probably going to need some new mavlink messages and some work on storing the shapes. A lot of re-use of the polygon fence code is possible.
@rmackay9 I would start with a KISS approach. One single polygon stay-out zone. I sincerely think that it would cover a large percentage of the use cases and would gets us some time to rethink (if required) a more comprehensive approach, that would make the 30% you mention. All the current options (except height) used for fence could be re-used but with reversed functionality, ie stay-out instead of stay-in. So users would have to choose either a stay-out or a stay-in option for fence.
I remember that some 2+ years ago, Horizon Hobby had a similar function on their Blade350 copter that they called something like a SAFE function. Their implementation was quite simple, and basically was a cylinder with 5 meters radius with the center of cylinder placed a bit more than 5 meters behind the arming location of the copter, so that the copter would never enter the pilot zone. It was fun to use that for "look at me"/dronie similar functionality using manual control.
We whould merge this in with the discussion around standardizing the mavlink protocol for sending fence points.
Did the outback challenge "Exclusion zones" have any affect on this?
Leave this open unless there’s a duplicate. There was a bunch of work (mainly by Don, input from @wickedshell) to design a new fence protocol that facilitates this, which is implemented in qgc but not ArduPilot. The OBC work is part of the way to getting it in, but that work hasn’t been merged.
Leave this open unless there’s a duplicate. There was a bunch of work (mainly by Don, input from @WickedShell) to design a new fence protocol that facilitates this, which is implemented in qgc but not ArduPilot. The OBC work is part of the way to getting it in, but that work hasn’t been merged.
it is possible in the qgc? new fence protocol? how can i do that? i already download qgc, but i can't find that function!
I’m not sure of the current status. @peterbarker has been working on it.
On 5 Apr 2019, at 1:02 am, NoYoungRea [email protected] wrote:
Leave this open unless there’s a duplicate. There was a bunch of work (mainly by Don, input from @WickedShell) to design a new fence protocol that facilitates this, which is implemented in qgc but not ArduPilot. The OBC work is part of the way to getting it in, but that work hasn’t been merged.
it is possible in the qgc? new fence protocol? how can i do that? i already download qgc, but i can't find that function!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
it is possible in the qgc? new fence protocol? how can i do that? i already download qgc, but i can't find that function!
At the moment ArduPilot fence is not supported on QGC
Support for inclusion and exclusion polygons and circles is in master for Copter and Rover and will go out with version 4.0.0 in the coming weeks. Thanks @peterbarker!
Thanks everyone