ArduPlane, ArduCopter, ArduRover, ArduSub source
Go to file
Peter Barker dba3158446 Copter: correct mode change for GCS failsafe in SmartRTL mode
In the case that you:
 - have previously done a successful SmartRTL flight
 - get a mid-air gcs failsafe and enter SmartRTL
 - recover from that gcs failsafe but remain in SmartRTL
 - get another mid-air failsafe

then without this patch you will enter LAND mode.

When determining our failsafe action, we were looking at whether we
should just continue landing.  To do that, we ask the current mode if we
are landing.  Problem is that SmartRTL was handing back the wrong answer
- it was handing back ModeRTL's answer rather than its own, and
ModeRTL's answer was "yes, I'm landing", as that's the last state that
step 1 in the above list leaves that mode in.

This patch simply hands back the correct answer for, "am I landing"
2020-09-08 09:05:03 +09:00
.azure Azure: fix build with uavcan support 2020-04-23 08:43:46 +10:00
.github git: add discord details to contributing page 2020-07-02 09:50:17 +09:00
AntennaTracker Tracker: move to using CANManager library 2020-08-19 17:31:09 +10:00
ArduCopter Copter: correct mode change for GCS failsafe in SmartRTL mode 2020-09-08 09:05:03 +09:00
ArduPlane Plane: Update THR_FAILSAFE param metadata 2020-09-04 07:08:03 +10:00
ArduSub Sub: remove dangling method declaration 2020-08-29 09:55:38 +09:00
benchmarks waf: add gbenchmark Waf tool 2015-12-03 07:54:31 +11:00
docs docs: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
libraries GCS_MAVLink: fixed locking of mavlink in serial control 2020-09-08 09:01:16 +10:00
mk Make: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
modules module: update gbenchmark to lastest release to prevent some warning 2020-09-06 19:13:04 +10:00
Rover Rover: roll and pitch input sent to motors 2020-09-01 09:33:24 +09:00
tests tests: avoid warning 2020-05-10 15:11:22 +10:00
Tools autotest: add test for SmartRTL getting another GCS failsafe 2020-09-08 09:05:03 +09:00
.dir-locals.el emacs: add a .dir-locals.el 2016-10-24 09:41:31 -02:00
.dockerignore dockerignore: fix removing of test directory on context 2020-05-26 09:15:26 +10:00
.editorconfig all: Change the editorconfig so that it won't want to reformat 2014-07-09 19:03:18 -07:00
.flake8 Global: add .flake8 2018-08-15 10:16:13 +10:00
.gitattributes Revert ".gitattributes: automatically clean up newlines in source files" 2015-04-20 11:04:59 +09:00
.gitignore .gitignore: add LogMessages output to ignore list 2020-08-25 20:01:27 +10:00
.gitmodules git: added libcanard submodule 2019-08-27 10:29:56 +10:00
.pydevproject AP_Relay: add -1:Disabled to list of param values 2014-05-15 17:13:37 +09:00
.travis.yml travis: shift tests around to avoid 50m limit on travis 2020-09-07 12:57:51 +10:00
.valgrind-suppressions Valgrind: add supressions file and .valgrindrc using it 2019-07-18 16:49:11 +10:00
.valgrindrc Valgrind: add supressions file and .valgrindrc using it 2019-07-18 16:49:11 +10:00
appveyor.yml CI: fixed appveyor python install 2019-07-03 11:05:55 +10:00
BUILD.md BUILD_MD: Add instruction to clone repository as first step 2020-08-16 14:21:30 +10:00
COPYING.txt cmake overhaul, cleaned up readme, added license 2011-09-30 17:32:51 -04:00
Dockerfile Dockerfile: use DEBIAN_FRONTEND=noninteractive as ARG ie just on build 2020-09-05 13:31:03 +10:00
Doxyfile.in cfg: Fix typos 2016-05-13 19:20:07 -03:00
Makefile Make: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
README.md README: Add soaring maintainer. 2020-05-10 15:35:00 +10:00
Vagrantfile Vagrantfile: add focal 2020-06-05 14:26:09 +10:00
waf waf: use Python from environment 2018-11-13 10:30:34 +11:00
wscript waf: moved include of ap_config.h into configure step 2020-09-03 09:56:29 +10:00

ArduPilot Project

Gitter

Build Travis Build SemaphoreCI Build Status

Coverity Scan Build Status

Autotest Status

Ardupilot is the most advanced, full-featured and reliable open source autopilot software available. It has been under development since 2010 by a team of diverse professional engineers and computer scientists. It is the only autopilot software capable of controlling almost any vehicle system imaginable, from conventional airplanes, multirotors, and helicopters, to boats and even submarines. And now being expanded to feature support for new emerging vehicle types such as quad-planes and compound helicopters.

The ArduPilot project is made up of:

User Support & Discussion Forums

Developer Information

Top Contributors

How To Get Involved

License

The ArduPilot project is licensed under the GNU General Public License, version 3.

Maintainers

Ardupilot is comprised of several parts, vehicles and boards. The list below contains the people that regularly contribute to the project and are responsible for reviewing patches on their specific area. See also the list of developers with merge rights.