9760cdf2d7 | ||
---|---|---|
APMrover2 | ||
ArduCopter | ||
ArduPlane | ||
FollowMe | ||
Tools | ||
cmake | ||
libraries | ||
mk | ||
.gitignore | ||
.project | ||
COPYING.txt | ||
Doxyfile.in | ||
README.md | ||
reformat.sh | ||
uncrustify_cpp.cfg | ||
uncrustify_headers.cfg |
README.md
ArduPilot Project
Getting the source
You can either download the source using the "ZIP" button at the top of the github page, or you can make a clone using git:
git clone git://github.com/diydrones/ardupilot.git
Building using Arduino IDE
ArduPilot is no longer compatible with the standard Arduino distribution. You need to use a patched Arduino IDE to build ArduPilot.
-
The patched ArduPilot Arduino IDE is available for Mac and Windows from the downloads page. On Linux, you should use the makefile build.
-
Unpack and launch the ArduPilot Arduino IDE. In the preferences menu, set your sketchbook location to your downloaded or cloned
ardupilot
directory. -
In the ArduPilot Arduino IDE, select your ArduPilot type (APM1 or APM2) from the ArduPilot menu (in the top menubar).
-
Restart the ArduPilot Arduino IDE. You should now be able to build ArduPlane or ArduCopter from source.
-
Remember that, after changing ArduPilot type (APM1 or APM2) in the IDE, you'll need to close and restart the IDE before continuing.
Building using make
-
Before you build the project for the first time, you'll need to run
make configure
from a sketch directory. This will create aconfig.mk
file at the top level of the repository. You can set some defaults inconfig.mk
-
In the sketch directory, type
make
to build for APM2. Alternatively,make apm1
will build for the APM1. -
Type
make upload
to upload. You may need to set the correct default serial port in yourconfig.mk
.
User Technical Support
ArduPilot users should use the DIYDrones.com forums for technical support.
Development Team
The ArduPilot project is open source and maintained by a team of volunteers.
To contribute, you can send a pull request on Github. You can also join the development discussion on Google Groups. Note that the Google Groups mailing lists are NOT for user tech support, and are moderated for new users to prevent off-topic discussion.