Skip to content
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

AC_Fence.cpp "get_breach_distance" function does not account for polygon fence breach #13125

Open
rishabsingh3003 opened this issue Dec 28, 2019 · 2 comments

Comments

@rishabsingh3003
Copy link
Contributor

Issue details

AC_Fence.cpp (Fence Library) contains a get_breach_distance() function which returns the distance a vehicle has breached a fence. It is used here . The function, however, does not include polygon fence breaches and only checks for altitude and circle type fences. Is this done intentionally for a reason that I could not see?

Version
master

Platform
[ ] All
[ ] AntennaTracker
[ x ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

@rishabsingh3003
Copy link
Contributor Author

If someone can indeed confirm this is a bug, I would like to try and submit a patch!

@peterbarker
Copy link
Contributor

peterbarker commented Dec 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants