-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fence warn at the margins #28840
base: master
Are you sure you want to change the base?
Fence warn at the margins #28840
Conversation
ce3674f
to
9fbfa49
Compare
9fbfa49
to
336ea4e
Compare
336ea4e
to
9fbfa49
Compare
Do you have any references to the specific regulatory requirements for fences? |
Let's be careful about spamming the user when in Loiter mode and the user pushes the vehicle against the fence |
9fbfa49
to
4f9ad37
Compare
libraries/AP_Math/polygon.cpp
Outdated
return the closest distance that point p comes to an edge of closed | ||
polygon V, defined by N points | ||
*/ | ||
template <typename T> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't move this in the file
This PR allows you to get a repeated warning when flying outside FENCE_MARGIN but inside the fence itself. Can be enabled by setting FENCE_OPTIONS=4. Multiple people have requested this because they are required to have a hard fence with failsafe action for regulatory reasons but want to know when they are close so they can avoid the action (typically when flying manually)