Commit Graph

25 Commits

Author SHA1 Message Date
Ep Pravitra db72fd16d4 AP_AdvancedFailsafe: make GCS failsafe timeout a parameter 2023-09-13 18:06:28 +10:00
Ep Pravitra 9700e65d19 AP_AdvancedFailsafe: option to automatically set mode to auto when datalink is loss
When enabled, it ensures vehicle enters AUTO even if it is currently in other autonomous modes (for example Guided)
2023-09-12 09:09:39 +10:00
Ep Pravitra 1372e48515 AP_AdvancedFailsafe: option to continue the mission even after data link is recovered
This feature is useful when the landing sequence is part of the flight plan. New parameter AFS_OPTIONS was added.

Update libraries/AP_AdvancedFailsafe/AP_AdvancedFailsafe.cpp

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
Update libraries/AP_AdvancedFailsafe/AP_AdvancedFailsafe.h

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
enum convention changed
2023-09-06 20:32:32 +10:00
Peter Barker 6ce546d2fb AP_AdvancedFailsafe: add and use AP_ADVANCEDFAILSAFE_ENABLED 2023-02-08 19:00:13 +11:00
Peter Barker ad0df546a7 AP_AdvancedFailsafe: use fence singleton in afs check 2022-10-25 11:31:14 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker 3013017369 AP_AdvancedFailsafe: use mission singleton inside AP_AdvancedFailsafe 2021-08-03 10:35:24 +10:00
Peter Barker 5d686b9cb1 AP_AdvancedFailsafe: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Peter Barker bea8765da7 AP_AdvancedFailsafe: remove unused RCMAP includes 2020-02-10 13:55:05 +11:00
Peter Barker 9f8553d422 AP_AdvancedFailSafe: add singleton getter 2019-09-17 09:13:43 +10:00
Andrew Tridgell 4a6fdc00c9 AP_AdvancedFailsafe: added AFS_MAX_RANGE option
this allows a maximum range since first arm to be set in
AFS_MAX_RANGE. This value (in km) will trigger the configured
termination type if the GPS location shows that it has been breached.

This feature, in combination with the @READONLY apj parameter feature,
is intended to be used to meet regulatory restrictions on a vehicles
maximum range
2019-09-12 09:59:17 +10:00
Michael du Breuil 9b162563d6 AP_Advanced_Failsafe: Reduce scope of AP_Baro.h 2019-06-27 14:56:21 +10:00
Michael du Breuil 3194b073ca AP_AdvancedFailsafe: Use AP_GPS singleton 2019-06-18 10:02:05 +10:00
Peter Barker d250442e68 AP_AdvancedFailsafe: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker ac0e126099 Copter: correct AFS terminate-via-land for Copter
In the case we're terminating via land it's a good idea to continue to
constantly adjust our motor outputs for stabilization and the like....
2018-10-01 11:23:46 +09:00
Peter Barker efdf03e27d AP_AdvancedFailsafe: remove rcmap member from AP_AdvancedFailsafe 2018-05-05 18:06:31 +09:00
Michael du Breuil dab13f0e34 AP_AdvancedFailsafe: Allow GCS teriminate to supply a reason cause 2018-03-27 22:12:21 +01:00
Peter Barker 747dbea476 AP_AdvancedFailsafe: use baro singleton 2018-03-08 21:20:05 -08:00
Michael du Breuil 0bbbb3d08d AP_AdvancedFailsafe: Allow landing to be a termination action 2017-09-13 13:15:08 -07:00
Michael du Breuil 97c1785bef AP_AdvancedFailsafe: Allow the GCS to request terminations 2017-08-15 15:14:56 +01:00
Randy Mackay cf47a0d563 AP_AdvancedFailsafe: minor formatting fix 2017-07-19 15:24:21 +09:00
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.
2016-10-24 09:42:01 -02:00
Andrew Tridgell 838728348f AP_AdvancedFailsafe: re-work for use as vehicle derived class 2016-08-16 12:55:50 +10:00
Andrew Tridgell 8163db1adb AP_AdvancedFailsafe: cleanups for new naming 2016-08-16 12:55:50 +10:00
Andrew Tridgell cef4635ad9 AP_AdvancedFailsafe: rename from APM_OBC 2016-08-16 12:55:50 +10:00