Peter Barker
ed82421f27
Sub: remove argument to check()
...
Also, fence_check was renamed to check()
7 years ago
Peter Barker
268b8799d0
Sub: stop setting home distance in fence
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
9f6342a1d1
Sub: Move some common functions to AP_Math (NFC)
7 years ago
Jacob Walser
3e471e808a
Sub: Refactor methods in navigation.cpp
8 years ago
Jacob Walser
1990aa7829
Sub: Update stale references to Copter
8 years ago
Jacob Walser
4112fd1316
Sub: Remove mode header
8 years ago
Jacob Walser
5233b25910
Sub: Format all C++ with Tools/CodeStyle/astylerc
8 years ago
Jacob Walser
852374ab4d
Sub: Manual control failsafe
8 years ago
Jacob Walser
e2a7ba5b0c
Sub: replace land with surface mode
8 years ago
Rustom Jehangir
c1f05b9e25
Sub: Match copter mode change stuff
8 years ago
jaxxzer
8ff479ca1e
Sub: Enable altitude fences for sub
8 years ago
Rustom Jehangir
83ff3931b8
Sub: Refactor "Copter" to "Sub".
8 years ago
Rustom Jehangir
3da7c95e9b
Sub: New vehicle type, derived from ArduCopter.
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Jonathan Challinger
1356deab8b
Copter: add control_mode_reason
9 years ago
Randy Mackay
290cdcf6fb
Copter: check fence when disarmed
...
this allows catching fence breaches as part of arming checks
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Randy Mackay
9dbef1c6ee
Copter: check fence alt without home being set
...
Alt limit is based on EKF origin if home-alt is not set. This is
generally the same but could be different if there's a lot of baro drift
before take-off or the vehicle is carried to a different altitude after
power-on.
10 years ago
Randy Mackay
55d8f440d4
Copter: fix alt sent to fence_check to be meters
10 years ago
Jonathan Challinger
be8c118b63
Copter: change altitude fence to work on home altitudes instead of origin altitudes
10 years ago
Randy Mackay
43ba94e99a
Copter: rename manual_flight_mode to mode_has_manual_throttle
10 years ago
Randy Mackay
7bd8d48809
Copter: fence breach causes disarm if landed
...
Previously it would only disarm if the throttle was also at zero.
Pair programmed with Tridge
10 years ago
Jonathan Challinger
a04ec79efa
Copter: add land_complete to fence disarm check
10 years ago
Jonathan Challinger
8e3d163c3d
Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero
10 years ago
Randy Mackay
dba8fac515
Copter: remove unused variables from fence.pde
...
saves 2 bytes
11 years ago
Randy Mackay
03831cdd28
Copter: GPS ok only when not glitching
...
Removed redundant checks to GPS_ok before setting flight mode to RTL
(this check is already performed inside the set_mode function)
Removed reset of home distance and bearing when GPS lock is lost, it now
remains at the last known value
11 years ago
Randy Mackay
8e62035328
Copter: remove unnecessary check of flight mode from fence response
11 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
12 years ago
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
12 years ago
Randy Mackay
66cecbfdc3
Copter Fence: bug fix to avoid repeatedly invoking LAND mode
12 years ago
Olivier-ADLER
24e1f074d0
Copter: Fence missing GPS 3D fix check
...
Fence was missing GPS 3D fix check before selecting recovery decision.
12 years ago
Randy Mackay
6836964e3c
Copter: resolve compiler warning re fence
12 years ago
Randy Mackay
3aca35777f
Copter: use mavlink fence message
...
Note: we should consider moving this send via mavlink into the fence
library
12 years ago
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
12 years ago