ArduPlane, ArduCopter, ArduRover, ArduSub source
Go to file
Peter Barker 20027bad17 AP_RPM: attach_interrupt now takes a functor
AP_RPM: move PX4 IRQ handling into AP_HAL_PX4

AP_RPM: correct RPM sensor initialisation

The initialisation code used the type from the wrong configuration
parameters (if the first rpm sensor wasn't configured then the sensing
for the second sensor would use the type from the first).

The packing of drivers[...] was done in a non-sparse manner - i.e. if a
sensor wasn't detected then it would not take up space in the array.
The PX4 PWM backend relies on the instance number (offset in the drivers
array) corresponding to the parameters, so making this sparse is
required.

The main detection block fills in drivers based on the number of
instances detected so far, but the nullptr check checks based on the
number of detected backends.  If the second instance wasn't configured we
wouldn't attempt to configure a third.

AP_RPM: add error reporting for attaching of interrupts

AP_RPM: use detach_interrupt method

AP_RPM: use (uint8_t)-1 in place of 255
2018-08-21 20:34:01 +09:00
.github github: update issue templates 2018-06-19 01:21:49 +01:00
APMrover2 Rover: Remove unneeded ServoRelayEvent mask set 2018-08-20 21:31:06 -07:00
AntennaTracker Tracker: remove compass accumulate 2018-08-06 11:05:34 +10:00
ArduCopter Copter: Remove unneeded ServoRelayEvent mask set 2018-08-20 21:31:06 -07:00
ArduPlane Plane: Remove unneeded ServoRelayEvent mask set 2018-08-20 21:31:06 -07:00
ArduSub Sub: Remove unneeded ServoRelayEvent mask set 2018-08-20 21:31:06 -07:00
Tools Tools: ardupilotwaf: add -Werror=return-type to all boards 2018-08-21 20:34:01 +09:00
benchmarks waf: add gbenchmark Waf tool 2015-12-03 07:54:31 +11:00
docs docs: Add ardusub 2018-05-08 09:58:13 +10:00
libraries AP_RPM: attach_interrupt now takes a functor 2018-08-21 20:34:01 +09:00
mk mk: include Sprayer library 2018-08-17 15:33:35 +09:00
modules uavcan: allow CAN2 to be initialized without CAN1 2018-08-12 13:36:08 +01:00
tests tests: add macro for printing test parameter 2016-05-16 19:08:35 -03:00
.dir-locals.el emacs: add a .dir-locals.el 2016-10-24 09:41:31 -02: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: added .vscode folder to .gitignore 2018-07-18 08:44:45 +09:00
.gitmodules HAL_F4Light: removed submodules 2018-06-14 16:55:21 +10:00
.pydevproject AP_Relay: add -1:Disabled to list of param values 2014-05-15 17:13:37 +09:00
.travis.yml travis: added revo-bootloader to CI 2018-06-23 17:06:38 +10:00
BUILD.md Global: remove minlure 2018-06-26 07:32:08 -07:00
COPYING.txt cmake overhaul, cleaned up readme, added license 2011-09-30 17:32:51 -04:00
Doxyfile.in cfg: Fix typos 2016-05-13 19:20:07 -03:00
Makefile Sub: add to the main makefile 2017-07-18 19:18:28 +01:00
Makefile.waf waf: Makefile.waf: use check-all command instead of --alltests 2016-02-01 14:08:39 -02:00
README.md ReadMe: Updated TradHeli Maintainers 2018-03-26 09:05:48 +09:00
Vagrantfile Vagrant: add comment about utility of valgrind on xenial32 2018-05-17 17:27:43 +10:00
reformat.sh reformat: remove mention to .pde files 2016-05-07 22:55:48 -03:00
uncrustify_cpp.cfg cfg: Fix typos 2016-05-13 19:20:07 -03:00
uncrustify_headers.cfg cfg: Fix typos 2016-05-13 19:20:07 -03:00
waf waf: use the current python interpreter for sub-commands 2018-08-07 14:40:36 +10:00
wscript waf: fixes for python 3.7 2018-08-07 14:40:36 +10:00

README.md

ArduPilot Project

Gitter

Build SemaphoreCI

Build Travis

Coverity Scan Build Status

The ArduPilot project is made up of:

User Support & Discussion Forums

Developer Information

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 CONTRIBUTING.md for more information.