Iampete1
259e70b2b1
AC_Fence: add options param on plane
3 years ago
Iampete1
e7cb949f5f
AC_Fence: plane needs larger circle backup distance
3 years ago
Iampete1
e141731146
AC_Fence: params always use set method
3 years ago
Iampete1
2fc9cf97d4
AC_Fence: defualt to AP_FENCE_ENABLED 2, 1 disables dummy methods
3 years ago
Iampete1
4b6a0f0b4f
AC_Fence: change AC_FENCE to AP_FENCE_ENABLED
3 years ago
Iampete1
9dc318f0cc
AC_Fence: move to config file and rename from AC_FENCE to AP_FENCE_ENABLED
3 years ago
Iampete1
fa440d532a
AC_Fence: add dummy methods
3 years ago
Iampete1
6a6f3ec4e5
AC_Fence: add AC_FENCE define
3 years ago
Tatsuya Yamaguchi
cb6c1a1c80
AC_Fence: Move {Plane} mark from Value to Param
3 years ago
Peter Barker
2398d16a5f
AC_Fence: include cleanups
3 years ago
Peter Barker
965b03f143
AC_Fence: rename AP_AHRS::get_position to get_location
3 years ago
Peter Barker
56b0f8b218
AC_Fence: void index when overwriting fence count on fencepoint-close
3 years ago
Andrew Tridgell
8a95a7d80d
AC_Fence: fixed fence count for old upload
...
when uploading a fence that is smaller than an old fence we were not
correctly setting the inclusion fence size.
3 years ago
Peter Barker
af92c9679f
AC_Fence: make invalid polygon vertex count clearer
3 years ago
Peter Barker
a8b37d7064
AC_Fence: remove @Values from param metadata where @Bitmask exists
4 years ago
Peter Barker
76408c77dd
AC_Fence: provide compatability with bad integer-stored radii
4 years ago
Peter Barker
e3db030d7a
AC_Fence: load and store fence radii in floats
...
These were simply being cast down to integers
4 years ago
Hwurzburg
faf4993436
AP_Fence: add pre-arm check for fence enabled but none selected
4 years ago
Hwurzburg
6fbf2d227c
AC_Fence: Correct Rover metadata
4 years ago
Randy Mackay
5b0f107631
AC_Fence: remove alt from TYPE param desc for Rover
4 years ago
chobitsfan
73a3b5f832
AC_Fence: remove unused declaration
4 years ago
James O'Shannessy
43e06e9040
AC_Fence: Fix int32_t overflow with large longitude values
4 years ago
James O'Shannessy
8ef68c8fb0
AC_Fence: Send text to gcs when fence is auto-enabled
4 years ago
James O'Shannessy
b4bf41c6f9
AC_Fence: Adjustments to default parameters for addition to plane
4 years ago
James O'Shannessy
c316711351
ArduPlane: Add conversion from ArduPlane geofence param to AC_Fence param
4 years ago
James O'Shannessy
254c28f142
AC_Fence: Improve auto enable documentation
4 years ago
James O'Shannessy
b6d29d746b
AC_Fence: Add common auto enable and auto disable
4 years ago
James O'Shannessy
e4f1e26b5c
AC_Fence: Disable fence floor when disabling the rest of the fence
4 years ago
Steven Josefs
c783410494
AC_Fence: adjusted AP_GROUPINFO to contain all copters
4 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
22bdc3e54c
AC_Fence: extend pre-arm checks
...
Fix comments
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
2e422f249a
AC_Fence: small comment improvements. Do not call the same function four times
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
15e95be7d7
AC_Fence: do not delete the FENCE_ENABLE parameter. It would confuse many users.
...
Talked to Randy about this. The consensus was not to delete the parameter
4 years ago
James O'Shannessy
783a4b7965
AC_Fence: Change logic to fence enable and sys_status reporting
4 years ago
James O'Shannessy
87b66b4b49
AC_Fence: Add parameters from Geofence to AC_Fence
...
AC_Fence: Add fence floor breach checks and calculations
AC_Fence: Add event logging to enable/disable of fence floor
AC_Fence: Adjust sys_status reporting to look at total fence count
AC_Fence: Make retrieving of the return point accessible
AC_Fence: Check whether fence is enabled or autoenable is set for arming checks
Checks whether the fence is currently enabled OR if the fence is intended to be enabled automatically.
These checks are used to find out enabled fences, or prearm checks
4 years ago
James O'Shannessy
f6231db618
AC_Fence: Add breach calculation variant to use LLA
...
Adds a parameter to make selection between vector pos_cm from origin and lat/lng.
4 years ago
murata
3824277d11
AC_Fence: Add Smart RTL or LAND to the fence action
4 years ago
Peter Barker
a0172fd2ca
AC_Fence: emit a FENCE_STATUS message if we newly-breach the fences
...
This should resolve a problem in autotest where we don't detect the
fence as being breached as ArduPilot never announces the fact it has
breached - it just changes mode to RTL but the interval on the
FENCE_STATUS message never aligns with the time the vehicle is breached.
4 years ago
Patrick José Pereira
345fe1a9e4
AC_Fence: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
c787231435
AC_Fence: remove timeout for waiting on fence semaphore, make nonblocking
...
Also move where we indicate we've attempted a load.
4 years ago
Peter Barker
53553c7c71
AC_Fence: remove dead and misleading assignment
...
This is never used again. Presumably this was factored out of something
else where it might have mattered.
5 years ago
Rishabh
85692312ac
AC_Fence: Add Pre-Arm check for margin < radius
5 years ago
murata
b12fcff89a
AC_Fence: Matching Message Style
5 years ago
Peter Barker
799c538c3e
AC_Fence: ALT_MAX is Copter-and-Sub only
5 years ago
Rishabh
b3a2b360e6
AC_Fence: clear breach if breached fence is not enabled
5 years ago
Peter Barker
973b103a4a
AC_Fence: write log event when fence enabled or disabled
5 years ago
Peter Barker
069bd04bdc
AC_Fence: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Peter Barker
e545a429a0
AC_Fence: rename APMrover2 to Rover
5 years ago
Tatsuya Yamaguchi
5688031f02
AC_Fence: add the description of FENCE_ACTION in Rover
5 years ago
Randy Mackay
9e51731bae
AC_Fence: turn off debug msg re memory allocation
5 years ago
Randy Mackay
7c034990b5
AC_Fence: relax sys-status healthy reporting
5 years ago