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

Fences ignored despite being enabled #28666

Closed
Ryanf55 opened this issue Nov 18, 2024 · 4 comments
Closed

Fences ignored despite being enabled #28666

Ryanf55 opened this issue Nov 18, 2024 · 4 comments
Assignees

Comments

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Nov 18, 2024

Bug report

Issue details

FENCE_ENABLE = 1
The plane is flying in TAKEOFF mode.
The plane is breaching the fence every rotation.
There is no indication in MAVProxy the fence is being breached.
MAVProxy shows FEN in gray, which I thought meant disabled.

Version
master today, hash f08a212
Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[x] Plane
[ ] Rover
[ ] Submarine

Airframe type
SITL

Hardware type
N/A
Logs

logs.zip
fence-items.txt

I found this trying to test the vehicle behavior with a non-simple polygon fence.

Screenshot
image

@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Nov 18, 2024

I've reproduced this with a simple polygon (square) fence.
image

From peter barker: It may even be two issues; in my case it might be a change in the edge-triggering of the RC fence switch. In tridge's case it might be FENCE_AUTOENABLE not working.

I'm not using RC fence switch, and FENCE_AUTOENABLE is disabled in both the above.

@Ryanf55 Ryanf55 self-assigned this Nov 18, 2024
@tridge
Copy link
Contributor

tridge commented Nov 18, 2024

@Ryanf55 in your screenshot fence is disabled:
image

@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Nov 18, 2024

@Ryanf55 in your screenshot fence is disabled: image

Yes, but the parameter says it's enabled. It's conflicting info.

@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Nov 24, 2024

I can't reproduce this despite numerous attempts on the same hash with both inclusion and exclusion fences.

I have found plenty of other fence issues, but not this specific one.

@Ryanf55 Ryanf55 closed this as completed Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants