Josh Henderson
c0b18e4d52
AC_Avoid: use vector.xy().length() instead of norm(x,y)
3 years ago
Tatsuya Yamaguchi
43da962d34
AC_Avoid: use proximity_avoidance_enabled function
4 years ago
Tatsuya Yamaguchi
04deabbacb
AC_Avoid: confirm USE_PROXIMITY_SENSOR to check if proximity is enabled
4 years ago
Tatsuya Yamaguchi
4f12c94346
AC_Avoidance: handle upward proximity enable and disable
4 years ago
Peter Barker
5d52053232
AC_Avoidance: remove @Values from param metadata where @Bitmask exists
4 years ago
Rishabh
9a1a748348
AC_Avoid: Change ALT_MIN param to be copter only
4 years ago
Rishabh
730cf0ad9b
AC_Avoid: Add deadzone param to avoidance backaway
4 years ago
Rishabh
b301bd0ca4
AC_Avoid: Use plane intersection in prox stop mode
4 years ago
Hwurzburg
8903b8619a
AC_Avoidance: make centideg metadata incr and range consistent
4 years ago
Rishabh
7e79999b86
AC_Avoid: reenable avoidance logging
4 years ago
Rishabh
e31ea2f3ee
AC_Avoid: Change parameter defaults
4 years ago
Randy Mackay
f67cdf5a81
AC_Avoidance: use of AP_Proximity checks HAL_PROXIMITY_ENABLED
4 years ago
Rishabh
98287a1b2f
AC_Avoid: Use previous avoidance vel for limiting accel
4 years ago
Rishabh
cbf57af1f3
AC_Avoid: Limit acceleration while simple avoidance is active
4 years ago
Rishabh
865f3cda79
AC_Avoid: Add param to switch off proximity avoidance based on alt
4 years ago
Rishabh
74bda4952d
AC_Avoid: Return early if velocity is unchanged in proximity avoidance
4 years ago
Rishabh
37a14a78df
AC_Avoid: Refactor changes for 3-D avoidance
4 years ago
Rishabh
5092bc2f6d
AC_Avoid: Simplify accessing boundary
4 years ago
Rishabh
d359c5ddf2
AC_Avoid: Let user take control if they are backing away at a greater speed than what we have calculated
4 years ago
Rishabh
91132d00d9
AC_Avoid: Add deadzone to backaway code
4 years ago
Rishabh
ad6e013171
AC_Avoid: Support 3D Simple Avoidance and Bacakway
4 years ago
Leonard Hall
4e2c7880c5
AC_Avoidance: use AP_Math control functions
4 years ago
Iampete1
f5172cdecf
AC_Avoid: hide params with enable flag
4 years ago
Rishabh
0b112981f9
AC_Avoid: Back away if vehicle breaches margin to obstacle/fence
5 years ago
Rishabh
0b8f722dbd
AC_Avoid: Remove extra margin used in stop behaviour in circular fences
5 years ago
Rishabh
6e693596d6
AC_Avoid: Do not show unused param in Rover
5 years ago
Rishabh
4ec8602de2
AC_Avoid: Remove unnecessary sanity checks
5 years ago
Peter Barker
002d47447e
AC_Avoidance: rename APMrover2 to Rover
5 years ago
Peter Hall
556d90ca0c
AC_Avoidance: keep track of velocity liminting status
5 years ago
Peter Barker
0d624785f3
AC_Avoid: adjust for proximity status namespace change
5 years ago
Randy Mackay
9aeac012d2
AC_Avoid: add support for complex fence types
...
AP_OABendyRuler: support exclusion polygons
AP_OADijkstra: support exclusion polygons
AC_Avoid: adjust_velocity supports exclusion polygons
AC_Avoidance: handle fence::get_boundary_points returning nullptr instead of setting num_points to zero
AC_Avoidance: Dijkstra's works with only exclusion polygons
AC_Avoidance: Dijkstra: check for fence counts instead of polyfence validity
We really only care whether fences can be returned - and they won't be
returned unless they are valid
AC_Avoidance: BendyRuler: just try to get inclusion fence rather than checking validity
AC_Avoidance: BendyRuler supports exclusion circles
AC_Avoid: Dijkstra support for exclusion circles
AC_Avoid: BendyRuler support for inclusion circles
AC_Avoid: stop an inclusion/exclusion circular fences
AC_Avoid: stop at inclusion/exclusion circular fences
AC_Avoid: fixes to Dijkstra's use of inclusion/exclusion circles and polygons
AP_Avoidance: take semaphores when interacting with AHRS and polyfence
AC_Avoid: Dijkstra's fix for some_fences_enabled inclusion circles
5 years ago
Peter Barker
3a7f1b882e
AC_Avoidance: cope with polyfence holding boundary points
5 years ago
Randy Mackay
0a86bbdc9a
AC_Avoidance: add license to cpp file
6 years ago
Randy Mackay
607f996232
AC_Avoid: restructure logic of adjust_velocity_circle_fence
6 years ago
Randy Mackay
e846840a52
AC_Avoid: fix stopping at circular fence
6 years ago
Peter Barker
35d4555be0
AC_Avoid: improve documentation of AVOID_ENABLE options
6 years ago
Peter Barker
e9160cd9d5
AC_Avoid: correct iteration through edges
6 years ago
Peter Barker
cd6e5b48a1
AC_Avoid: move check for zero-desired-velocity into adjust_velocity_polygon
...
This is the method which divides by the length of this vector; the
check belongs in here.
6 years ago
Peter Barker
de9fa4c730
AC_Avoid: call Polygon_outside directly; avoids losing first point
6 years ago
Peter Barker
4be3a48275
AC_Avoid: adjust for renamed get_polygon_points
6 years ago
Peter Barker
43152a416c
AC_Avoid: stop taking references to ahrs, fence, proximity and beacon
6 years ago
Peter Barker
413ef5a3b4
AC_Avoid: add singleton
6 years ago
Randy Mackay
7aae970ae7
AC_Avoid: constify a few local variables
6 years ago
Randy Mackay
b7f3140441
AC_Avoid: stop includes margin for intersection calc
...
the simpler stop feature (as opposed to slide) was not including the margin when looking for intersections with the boundary meaning it could slow too late
6 years ago
JIMWAR
97b5af60f8
AC_Avoid: fix adjust_velocity_polygon
...
adjust_velocity_polygon function ignoring boundary[0]
6 years ago
murata
3577def8fd
AC_Avoid: use elseif because value does not change
7 years ago
murata
29b1a6ed41
AC_Avoid: fix comment
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
8ae4047a00
AC_Avoidance: NFC small renames and comment improvements
7 years ago
Randy Mackay
be804aa74e
AC_Avoid: limit velocity and get-max-speed become public
...
this allows AP_Follow to use these function
7 years ago
Randy Mackay
ebf405e53d
AC_Avoid: reduce min and default DIST_MAX values
7 years ago