Disable angle/Alt-hold based avoidance by default #29041
+21
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have never seen or heard of the "ping pong method" working successfully and I think we should disable/remove it by deafult. The parameter AVOID_ANGLE_MAX is also confusing because it does not work for simple avoidance and is only meant for the "ping-pong" method.
Recently I encountered a few setups that were trying to get the regular loiter-based avoidance working, and kept alt-hold on a switch for manual control/recovery. However, since the angle based avoidance was enabled by default in that mode which the operator did not know about, it almost led to a crash. I don't think anyone would mind removing this feature by default but it makes things cleaner and safer IMO.