ArduPlane, ArduCopter, ArduRover, ArduSub source
Go to file
Peter Barker e8f96efe72 autotest: wait for stats initialisation before rebooting
If the RTC time we reset parameters (STAT_RESET) is zero then we reset all parameters.

In SITL we only set that time if we see a GPS due to the AP_RTC RTC_TYPES parameter default bitmask value of 1

So if you reboot SITL fast enough while STAT_RESET is zero you can see that STAT_BOOTCNT does not increase. Easily reproducible in SITL; start with -w and type reboot in several times before SITL sees the GPS come up and you can see STAT_BOOTCNT doesn't increase.

Fix is to ensure STAT_RESET is non-zero before rebooting.
2021-03-31 13:33:39 +11:00
.azure .azure: reduce copter test to coptertest1 to pass time limit (60m) 2021-01-12 10:44:05 +11:00
.github .github: Disable examples tests 2021-03-08 09:30:22 +11:00
.semaphore .semaphore: add base semaphore.yml 2021-03-18 07:13:47 +11:00
AntennaTracker AntennaTracker: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
ArduCopter ArduCopter: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
ArduPlane ArduPlane: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
ArduSub ArduSub: make Location(Vector3f) require ALTFRAME 2021-03-30 08:56:35 +09:00
benchmarks waf: add gbenchmark Waf tool 2015-12-03 07:54:31 +11:00
Blimp Blimp: correct compilation for do_aux_function sig change 2021-03-31 13:27:07 +11:00
docs docs: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
libraries AP_Baro: work around bad WHOAMI read on DPS310 2021-03-31 13:26:52 +11:00
mk Make: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
modules mavlink: move reference forward to master 2021-03-30 10:54:30 +11:00
Rover Rover: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
tests tests: avoid warning 2020-05-10 15:11:22 +10:00
Tools autotest: wait for stats initialisation before rebooting 2021-03-31 13:33:39 +11: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 .flake8: ignore E221 multiple spaces before operator 2021-02-18 10:43:05 +11:00
.gitattributes Revert ".gitattributes: automatically clean up newlines in source files" 2015-04-20 11:04:59 +09:00
.gitignore AP_OSD: remove font bins from gitignore 2021-02-23 15:22:22 +11: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 .github: migrate all chibios build to Github Actions 2020-11-24 22:13:07 +11: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: Updated waf configure commands for CubeBlack and fmuv3 2021-01-27 12:38:11 +11:00
COPYING.txt cmake overhaul, cleaned up readme, added license 2011-09-30 17:32:51 -04:00
Dockerfile Docker: move to ubuntu 20.04 and correct bash-completion support 2021-03-19 22:36:36 +11: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.md: remove APM1 and APM2 as supported boards 2021-03-14 11:23:32 +11:00
Vagrantfile Vagrant: create a bionic64-desktop VM 2021-02-22 15:00:38 +11:00
waf waf: use Python from environment 2018-11-13 10:30:34 +11:00
wscript waf: added blimp target 2021-03-31 12:27:07 +11:00

ArduPilot Project

Discord

Test Copter Test Plane Test Rover Test Sub Test Tracker

Test AP_Periph Test Chibios Test Linux SBC Test Replay

Test Unit Tests

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 diverse team of professional engineers, computer scientists and community contributors. Our autopilot software is capable of controlling almost any vehicle system imaginable, from conventional airplanes, quadplanes, multirotors, and helicopters, to rovers, boats, balancebots and even submarines. It is continually being expanded to provide support for new emerging vehicle types.

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.