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: added option bit for union of inclusion areas #24379

Merged
merged 1 commit into from Aug 1, 2023

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Jul 22, 2023

this allows for treating total inclusion area as union of all inclusion areas. This is useful for:

  • circles with corridors between them
  • a fence for each flying site all loaded at once
  • temporary addition of an extra area to a complex fence

Note that FENCE_OPTIONS is plane only, so this change only impacts planes

this allows for treating total inclusion area as union of all
inclusion areas. This is useful for:

- circles with corridors between them
- a fence for each flying site all loaded at once
- temporary addition of an extra area to a complex fence
@tridge tridge requested a review from peterbarker July 22, 2023 22:03
@IamPete1
Copy link
Member

IamPete1 commented Jul 22, 2023

#15550 is more or less the same thing, except it works with avoid and pathpanning. It is configurable via mavlink using fence groups.

@tridge
Copy link
Contributor Author

tridge commented Jul 31, 2023

@IamPete1 that is much more complex and has been languishing for nearly 3 years. Even if we did get that in I think we'd want this option to give union semantics for all fences as that is what most fence users would want and makes for a much simpler UI
Also note that the FENCE_OPTIONS parameter is plane only, so this doesn't impact copter at all

@tridge tridge added the Plane label Jul 31, 2023
@rmackay9
Copy link
Contributor

I think we should definitely consider @IamPete1's PR because it is more complete.

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Aug 1, 2023
@peterbarker
Copy link
Contributor

Mine is a pragmatic approval; I'd prefer PH's PR but that could be a long time coming into ArduPilot.

@tridge tridge merged commit a8c1787 into ArduPilot:master Aug 1, 2023
82 checks passed
@Hwurzburg
Copy link
Collaborator

@tridge does this include tincans also or just TYPE=2

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

Successfully merging this pull request may close these issues.

None yet

6 participants