Compare commits
257 Commits
OpenSolo-3
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5b745243a2 | ||
![]() |
9297447603 | ||
![]() |
3415f43c18 | ||
![]() |
bc82afda39 | ||
![]() |
48cd04fb93 | ||
![]() |
652be42857 | ||
![]() |
abbe08fc18 | ||
![]() |
7e8f0ab393 | ||
![]() |
9f1f83e970 | ||
![]() |
bf827a1fe2 | ||
![]() |
69a6d49633 | ||
![]() |
f687d6e785 | ||
![]() |
a97bdf15df | ||
![]() |
46fa85d366 | ||
![]() |
3ce97eb3f9 | ||
![]() |
a2f74baceb | ||
![]() |
711f478897 | ||
![]() |
4fb5f151ea | ||
![]() |
d875fbed16 | ||
![]() |
e2790f25c5 | ||
![]() |
4bc6c6c8d0 | ||
![]() |
ea763105fc | ||
![]() |
66d87f27d2 | ||
![]() |
dada378379 | ||
![]() |
ee96f9a0c4 | ||
![]() |
b1ee2c960f | ||
![]() |
d4a38f2092 | ||
![]() |
f72d21d4ad | ||
![]() |
8d70ed69dc | ||
![]() |
837e4f258f | ||
![]() |
37e4ed6441 | ||
![]() |
7d320abeda | ||
![]() |
f210977b33 | ||
![]() |
bf73bcd580 | ||
![]() |
88034de9c7 | ||
![]() |
f181e149ce | ||
![]() |
b7c50e4ca4 | ||
![]() |
935f602214 | ||
![]() |
8314deb85a | ||
![]() |
4e3e3368e1 | ||
![]() |
4f07205c37 | ||
![]() |
cac8cc9b5e | ||
![]() |
37a4180df0 | ||
![]() |
e284da62b6 | ||
![]() |
aff908ad1f | ||
![]() |
bd5bface8e | ||
![]() |
c72e90fe15 | ||
![]() |
29cc4e1914 | ||
![]() |
ab86b5be05 | ||
![]() |
ccae7d9bd7 | ||
![]() |
62225f70b6 | ||
![]() |
1e17943322 | ||
![]() |
2cd8ac3875 | ||
![]() |
2148f82457 | ||
![]() |
8a31f91919 | ||
![]() |
902b3eade9 | ||
![]() |
c078ca1bd6 | ||
![]() |
2b020e278c | ||
![]() |
d4f38d1347 | ||
![]() |
51dffffd80 | ||
![]() |
8abf555b35 | ||
![]() |
2d13cc9ccf | ||
![]() |
d63a8707e8 | ||
![]() |
e7cc0a3a47 | ||
![]() |
0188446013 | ||
![]() |
b64bb6f72b | ||
![]() |
d91ac6c8e3 | ||
![]() |
7b671cd55e | ||
![]() |
b47cacadb1 | ||
![]() |
5b6d623e25 | ||
![]() |
88fcadf4aa | ||
![]() |
c7a2702b64 | ||
![]() |
5146f93097 | ||
![]() |
1c2b741bc1 | ||
![]() |
c6b0f4bac0 | ||
![]() |
5781715be2 | ||
![]() |
2a1b2377e3 | ||
![]() |
7f75a99935 | ||
![]() |
2d47ce0068 | ||
![]() |
681542c765 | ||
![]() |
02528b046a | ||
![]() |
5cd2bf45e2 | ||
![]() |
5e23b61910 | ||
![]() |
8ca0b95f8d | ||
![]() |
a991a1cc26 | ||
![]() |
aa8898683b | ||
![]() |
c18cedef3d | ||
![]() |
645643a7bd | ||
![]() |
bd166caa4d | ||
![]() |
0cb87c563c | ||
![]() |
57c1b01b6f | ||
![]() |
0dc854d02a | ||
![]() |
f6c4d5c09a | ||
![]() |
99f3e129aa | ||
![]() |
8e77a30d6f | ||
![]() |
71460cfb14 | ||
![]() |
27f2ea2be0 | ||
![]() |
98e553cc2a | ||
![]() |
341646d7e8 | ||
![]() |
a619945804 | ||
![]() |
bc8c414b3b | ||
![]() |
67a0ebbaaf | ||
![]() |
1b762e3a3e | ||
![]() |
c2a51626fc | ||
![]() |
1e32faf5b9 | ||
![]() |
8e8cd007ac | ||
![]() |
a8991811d3 | ||
![]() |
4149b259bf | ||
![]() |
ceed07faa1 | ||
![]() |
8ba6feb817 | ||
![]() |
d15217f432 | ||
![]() |
2aceb543eb | ||
![]() |
a8b85a8e2b | ||
![]() |
f3d3e034ab | ||
![]() |
9232513c6d | ||
![]() |
77d268a388 | ||
![]() |
f5d2efe459 | ||
![]() |
80a483a544 | ||
![]() |
4b76c7a450 | ||
![]() |
4d97c620b8 | ||
![]() |
736c4a357f | ||
![]() |
d7a666205e | ||
![]() |
b880c501bc | ||
![]() |
e2d3e13d4e | ||
![]() |
d24199b26e | ||
![]() |
ebe24940f5 | ||
![]() |
69859d4de6 | ||
![]() |
329f1fc139 | ||
![]() |
f17a82082a | ||
![]() |
1a74743e05 | ||
![]() |
a0f4350810 | ||
![]() |
048872a3fd | ||
![]() |
5495bdf7f8 | ||
![]() |
0e24fe2e19 | ||
![]() |
5c78128fea | ||
![]() |
41e7130b0f | ||
![]() |
35ecb0197e | ||
![]() |
b2af2666fb | ||
![]() |
93daa65204 | ||
![]() |
4eadebe166 | ||
![]() |
9dabe25aac | ||
![]() |
a4bc7da3cd | ||
![]() |
33e9215636 | ||
![]() |
c90a11cd35 | ||
![]() |
bed42fd01e | ||
![]() |
19ea16784c | ||
![]() |
49b199ea64 | ||
![]() |
39743a9be0 | ||
![]() |
296a8af950 | ||
![]() |
244546d390 | ||
![]() |
879f8352a3 | ||
![]() |
276efaa94a | ||
![]() |
1786e4eddc | ||
![]() |
251d55a341 | ||
![]() |
0e6e2988f1 | ||
![]() |
5ba49f6b82 | ||
![]() |
63236aa25c | ||
![]() |
013de821c7 | ||
![]() |
37a420f81d | ||
![]() |
a7d62cb33e | ||
![]() |
2cea6abcba | ||
![]() |
46f0496fcf | ||
![]() |
7b0e397e18 | ||
![]() |
af34a87c77 | ||
![]() |
fbdc8c6f26 | ||
![]() |
7d7450b881 | ||
![]() |
a55f86fe8d | ||
![]() |
cc732e2d52 | ||
![]() |
f439caa678 | ||
![]() |
958f6a0f2b | ||
![]() |
655b878263 | ||
![]() |
b498573d32 | ||
![]() |
d3ba59ffde | ||
![]() |
cc2545c0bf | ||
![]() |
66b8435393 | ||
![]() |
bb3e799f61 | ||
![]() |
5b940138a6 | ||
![]() |
b7fe6e4703 | ||
![]() |
75e3c4ed3e | ||
![]() |
40067615f1 | ||
![]() |
63a642f3eb | ||
![]() |
e765cc0fce | ||
![]() |
8420c1023a | ||
![]() |
cd32f3f016 | ||
![]() |
bb6ecf5297 | ||
![]() |
74da167a39 | ||
![]() |
6d762afe59 | ||
![]() |
2d26a9b96d | ||
![]() |
a7c59798b7 | ||
![]() |
38f1ef4db8 | ||
![]() |
e48a93b1d9 | ||
![]() |
f21949d5d7 | ||
![]() |
51651ad7b2 | ||
![]() |
fbe9e71abf | ||
![]() |
ecf5e1f359 | ||
![]() |
1e40b3d88d | ||
![]() |
b3699fbf40 | ||
![]() |
6f24a48055 | ||
![]() |
7dc428bce0 | ||
![]() |
753dcf59b1 | ||
![]() |
01f5e34788 | ||
![]() |
c17456216e | ||
![]() |
75c16b82c7 | ||
![]() |
2afcb5f0cb | ||
![]() |
5640cc2b7a | ||
![]() |
6d98efe80b | ||
![]() |
4949cccbea | ||
![]() |
268efa2e7a | ||
![]() |
de0d54496a | ||
![]() |
29a3f076c0 | ||
![]() |
1169543724 | ||
![]() |
d161eb1b2f | ||
![]() |
83ccdf883b | ||
![]() |
31fbca16f4 | ||
![]() |
6d70a314a1 | ||
![]() |
9b04db5775 | ||
![]() |
2191c76e21 | ||
![]() |
08c148cab3 | ||
![]() |
e1b2042665 | ||
![]() |
3a0a240596 | ||
![]() |
2adaa8655f | ||
![]() |
5f24544d29 | ||
![]() |
bdb4d935ed | ||
![]() |
aaaa265984 | ||
![]() |
65cea35af1 | ||
![]() |
ee3003ba43 | ||
![]() |
ad341826ec | ||
![]() |
8942d4da35 | ||
![]() |
b3cd739e46 | ||
![]() |
adbe6ebbf3 | ||
![]() |
24d15eb032 | ||
![]() |
409c1b0587 | ||
![]() |
90263939c8 | ||
![]() |
2d9dfd653f | ||
![]() |
ed1e06b4a7 | ||
![]() |
49ad5b0cf2 | ||
![]() |
d468a5f62c | ||
![]() |
1767a7f737 | ||
![]() |
dc7b7532a5 | ||
![]() |
291de87220 | ||
![]() |
ead20ebce7 | ||
![]() |
bb1add3390 | ||
![]() |
c469fe573b | ||
![]() |
7f30bbb2f9 | ||
![]() |
873bb6500c | ||
![]() |
5ca0810ca8 | ||
![]() |
0d5b49b5c3 | ||
![]() |
aa21cfd79d | ||
![]() |
15db5e2e8a | ||
![]() |
b72acb9cd7 | ||
![]() |
e502858e6a | ||
![]() |
0d8fc2912f | ||
![]() |
c0d9f993a2 | ||
![]() |
f8c5f2c9df | ||
![]() |
2a8dfe789c | ||
![]() |
0849df43fb | ||
![]() |
a6fd569d69 |
17
.gitattributes
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Custom for Visual Studio
|
||||||
|
*.cs diff=csharp
|
||||||
|
|
||||||
|
# Standard to msysgit
|
||||||
|
*.doc diff=astextplain
|
||||||
|
*.DOC diff=astextplain
|
||||||
|
*.docx diff=astextplain
|
||||||
|
*.DOCX diff=astextplain
|
||||||
|
*.dot diff=astextplain
|
||||||
|
*.DOT diff=astextplain
|
||||||
|
*.pdf diff=astextplain
|
||||||
|
*.PDF diff=astextplain
|
||||||
|
*.rtf diff=astextplain
|
||||||
|
*.RTF diff=astextplain
|
28
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: vagrant-up
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
vagrant-up:
|
||||||
|
runs-on: macos-10.15
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Cache Vagrant boxes
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.vagrant.d/boxes
|
||||||
|
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-vagrant-
|
||||||
|
- name: Show Vagrant version
|
||||||
|
run: vagrant --version
|
||||||
|
|
||||||
|
- name: Run vagrant up
|
||||||
|
run: vagrant up
|
||||||
|
|
||||||
|
- name: ssh into box after boot
|
||||||
|
run: vagrant ssh -c "/vagrant/solo-builder/builder-ci.sh"
|
||||||
|
- name: ssh and run builder a second time, to be sure
|
||||||
|
run: vagrant ssh -c "/vagrant/solo-builder/builder-ci.sh"
|
124
.gitignore
vendored
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
# Byte-compiled / optimized / DLL files
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# C extensions
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Distribution / packaging
|
||||||
|
.Python
|
||||||
|
env/
|
||||||
|
build/
|
||||||
|
develop-eggs/
|
||||||
|
dist/
|
||||||
|
downloads/
|
||||||
|
eggs/
|
||||||
|
.eggs/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
|
parts/
|
||||||
|
sdist/
|
||||||
|
var/
|
||||||
|
wheels/
|
||||||
|
*.egg-info/
|
||||||
|
.installed.cfg
|
||||||
|
*.egg
|
||||||
|
|
||||||
|
# PyInstaller
|
||||||
|
# Usually these files are written by a python script from a template
|
||||||
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||||
|
*.manifest
|
||||||
|
*.spec
|
||||||
|
|
||||||
|
# Installer logs
|
||||||
|
pip-log.txt
|
||||||
|
pip-delete-this-directory.txt
|
||||||
|
|
||||||
|
# Unit test / coverage reports
|
||||||
|
htmlcov/
|
||||||
|
.tox/
|
||||||
|
.coverage
|
||||||
|
.coverage.*
|
||||||
|
.cache
|
||||||
|
nosetests.xml
|
||||||
|
coverage.xml
|
||||||
|
*,cover
|
||||||
|
.hypothesis/
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
*.mo
|
||||||
|
*.pot
|
||||||
|
|
||||||
|
# Django stuff:
|
||||||
|
*.log
|
||||||
|
local_settings.py
|
||||||
|
|
||||||
|
# Flask stuff:
|
||||||
|
instance/
|
||||||
|
.webassets-cache
|
||||||
|
|
||||||
|
# Scrapy stuff:
|
||||||
|
.scrapy
|
||||||
|
|
||||||
|
# Sphinx documentation
|
||||||
|
docs/_build/
|
||||||
|
|
||||||
|
# PyBuilder
|
||||||
|
target/
|
||||||
|
|
||||||
|
# Jupyter Notebook
|
||||||
|
.ipynb_checkpoints
|
||||||
|
|
||||||
|
# pyenv
|
||||||
|
.python-version
|
||||||
|
|
||||||
|
# celery beat schedule file
|
||||||
|
celerybeat-schedule
|
||||||
|
|
||||||
|
# dotenv
|
||||||
|
.env
|
||||||
|
|
||||||
|
# virtualenv
|
||||||
|
.venv
|
||||||
|
venv/
|
||||||
|
ENV/
|
||||||
|
|
||||||
|
# Spyder project settings
|
||||||
|
.spyderproject
|
||||||
|
|
||||||
|
# Rope project settings
|
||||||
|
.ropeproject
|
||||||
|
|
||||||
|
# =========================
|
||||||
|
# Operating System Files
|
||||||
|
# =========================
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
# =========================
|
||||||
|
|
||||||
|
# Windows thumbnail cache files
|
||||||
|
Thumbs.db
|
||||||
|
ehthumbs.db
|
||||||
|
ehthumbs_vista.db
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Recycle Bin used on file shares
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
|
# Windows Installer files
|
||||||
|
*.cab
|
||||||
|
*.msi
|
||||||
|
*.msm
|
||||||
|
*.msp
|
||||||
|
|
||||||
|
# Windows shortcuts
|
||||||
|
*.lnk
|
||||||
|
|
||||||
|
#Vagrant files to be ignored
|
||||||
|
.vagrant/
|
||||||
|
|
||||||
|
#Builder binaries
|
||||||
|
solo-builder/binaries/
|
18
.gitmodules
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[submodule "ardupilot-solo"]
|
||||||
|
path = modules/ardupilot-solo
|
||||||
|
url = https://github.com/OpenSolo/ardupilot-solo.git
|
||||||
|
[submodule "mavlink-solo"]
|
||||||
|
path = modules/mavlink-solo
|
||||||
|
url = https://github.com/OpenSolo/mavlink-solo.git
|
||||||
|
[submodule "dronekit-python-solo"]
|
||||||
|
path = modules/dronekit-python-solo
|
||||||
|
url = https://github.com/dronekit/dronekit-python-solo.git
|
||||||
|
[submodule "imx6-linux"]
|
||||||
|
path = modules/imx6-linux
|
||||||
|
url = https://github.com/OpenSolo/imx6-linux.git
|
||||||
|
[submodule "imx6-uboot"]
|
||||||
|
path = modules/imx6-uboot
|
||||||
|
url = https://github.com/OpenSolo/imx6-uboot.git
|
||||||
|
[submodule "MAVProxy"]
|
||||||
|
path = modules/MAVProxy
|
||||||
|
url = https://github.com/OpenSolo/MAVProxy.git
|
21
.travis.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
dist: trusty
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
git:
|
||||||
|
submodules: false
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/opt
|
||||||
|
- $/solo-build/sources
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo ln -sf /$TRAVIS_BUILD_DIR /vagrant
|
||||||
|
|
||||||
|
install:
|
||||||
|
- time /$TRAVIS_BUILD_DIR/install-vagrant-deps.sh 1>/dev/null
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cd /$TRAVIS_BUILD_DIR/solo-builder && ./source_sync.sh
|
||||||
|
- cd /$TRAVIS_BUILD_DIR/artoo && tup
|
202
LICENSE-APACHE
Normal file
@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# WELCOME TO OPEN SOLO #
|
||||||
|
|
||||||
|
[Go to the Open Solo github Wiki for Open Solo documentation and instructions](https://github.com/OpenSolo/OpenSolo/wiki)
|
44
Vagrantfile
vendored
Executable file
@ -0,0 +1,44 @@
|
|||||||
|
# -*- mode: ruby -*-
|
||||||
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Vagrant.configure(2) do |config|
|
||||||
|
|
||||||
|
config.vm.box = "ubuntu/trusty64"
|
||||||
|
config.vm.box_check_update = false
|
||||||
|
|
||||||
|
config.vm.provision "shell", path: "install-vagrant-deps.sh"
|
||||||
|
|
||||||
|
# detect number of cores,
|
||||||
|
# http://stackoverflow.com/questions/891537/detect-number-of-cpus-installed
|
||||||
|
def self.processor_count
|
||||||
|
case RbConfig::CONFIG['host_os']
|
||||||
|
when /darwin9/
|
||||||
|
`hwprefs cpu_count`.to_i
|
||||||
|
when /darwin/
|
||||||
|
((`which hwprefs` != '') ? `hwprefs thread_count` : `sysctl -n hw.ncpu`).to_i
|
||||||
|
when /linux/
|
||||||
|
`cat /proc/cpuinfo | grep processor | wc -l`.to_i
|
||||||
|
when /freebsd/
|
||||||
|
`sysctl -n hw.ncpu`.to_i
|
||||||
|
when /mswin|mingw/
|
||||||
|
require 'win32ole'
|
||||||
|
wmi = WIN32OLE.connect("winmgmts://")
|
||||||
|
cpu = wmi.ExecQuery("select NumberOfCores from Win32_Processor") # TODO count hyper-threaded in this
|
||||||
|
cpu.to_enum.first.NumberOfCores
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# fwd host ssh for git access
|
||||||
|
config.ssh.forward_agent = true
|
||||||
|
|
||||||
|
config.vm.provider "virtualbox" do |vb|
|
||||||
|
# not recommended to use less than 6GB
|
||||||
|
vb.memory = "6144"
|
||||||
|
vb.cpus = processor_count
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
20
artoo/.gitignore
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
.DS_Store
|
||||||
|
.tup
|
||||||
|
.vagrant
|
||||||
|
.gdbinit
|
||||||
|
|
||||||
|
*.o
|
||||||
|
*.elf
|
||||||
|
*.hex
|
||||||
|
*.bin
|
||||||
|
*.map
|
||||||
|
*.creator.user
|
||||||
|
*.pyc
|
||||||
|
*.orig
|
||||||
|
*.autosave
|
||||||
|
|
||||||
|
# generated by tup
|
||||||
|
src/version.cpp
|
||||||
|
src/resources-gen.cpp
|
||||||
|
src/resources-gen.h
|
27
artoo/COPYRIGHT-3DR
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
Copyright 2014-2016 3D Robotics
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use these files except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
~~~~
|
||||||
|
|
||||||
|
Contributors prior to public release:
|
||||||
|
|
||||||
|
* Liam Staskawicz
|
||||||
|
* Igor Napolskikh
|
||||||
|
* Stephen Garland
|
||||||
|
* Jonathan Challinger
|
||||||
|
* Jason Short
|
||||||
|
* John Finley
|
||||||
|
* Nick Speal
|
||||||
|
* Kevin Mehall
|
||||||
|
* Diego Medina
|
202
artoo/LICENSE-APACHE
Normal file
@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
7
artoo/ReadMe.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# ARTOO STM32 FIRMWARE #
|
||||||
|
|
||||||
|
The controller's STM32 is the hardware behind the buttons, sticks, and display. It is a separate piece of hardware from the IMX linux computers. When the solo-builder runs to compile the full copter and controller images, this Artoo STM32 firmware is included. You can also run the Artoo STM32 builder here separately if you only want to make changes to it. It is fast and simple compared to the entire copter and controller builds.
|
||||||
|
|
||||||
|
Some compiled versions of the Artoo STM32 firmware can be found in the [/Firmware/Artoo STM32](/Firmware/Artoo) directory.
|
||||||
|
|
||||||
|
[Go to the Open Solo github Wiki for Open Solo documentation and instructions](https://github.com/OpenSolo/OpenSolo/wiki/Artoo-STM32)
|
1
artoo/SOURCE
Normal file
@ -0,0 +1 @@
|
|||||||
|
This source code was released by 3DR in the file: artoo_1.2.11_0d6954be.tar.gz
|
97
artoo/Tupfile
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
|
||||||
|
PROJECT := artoo
|
||||||
|
|
||||||
|
### uncomment to enable semihosting for debug
|
||||||
|
### disabled by default
|
||||||
|
# SEMIHOSTING := yes
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# executables
|
||||||
|
|
||||||
|
PREFIX := arm-none-eabi
|
||||||
|
|
||||||
|
CC := $(PREFIX)-gcc
|
||||||
|
CXX := $(PREFIX)-g++
|
||||||
|
LD := $(PREFIX)-gcc
|
||||||
|
AR := $(PREFIX)-ar
|
||||||
|
AS := $(PREFIX)-as
|
||||||
|
OBJCOPY := $(PREFIX)-objcopy
|
||||||
|
OBJDUMP := $(PREFIX)-objdump
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# C flags
|
||||||
|
|
||||||
|
CFLAGS += -Wextra -Wshadow -Wimplicit-function-declaration
|
||||||
|
CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes
|
||||||
|
CFLAGS += -fno-common -ffunction-sections -fdata-sections -ffast-math
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# C++ flags
|
||||||
|
|
||||||
|
CXXFLAGS += -std=c++11
|
||||||
|
CXXFLAGS += -Wextra -Wshadow -Wredundant-decls -Weffc++
|
||||||
|
CXXFLAGS += -fno-common -ffunction-sections -fdata-sections -ffast-math
|
||||||
|
CXXFLAGS += -fno-exceptions -fno-threadsafe-statics -fno-rtti
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# C & C++ preprocessor common flags
|
||||||
|
|
||||||
|
CPPFLAGS += -Os -ggdb
|
||||||
|
CPPFLAGS += -Wall -Werror -Wundef
|
||||||
|
CPPFLAGS += -DMAVLINK_COMM_NUM_BUFFERS=1
|
||||||
|
ifeq ($(SEMIHOSTING),yes)
|
||||||
|
CPPFLAGS += -DSEMIHOSTING
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Linker flags
|
||||||
|
|
||||||
|
LDSCRIPT := src/ldscript.ld
|
||||||
|
LIB_DIR := .
|
||||||
|
|
||||||
|
LDFLAGS += --static --specs=nano.specs -nostartfiles -u _printf_float
|
||||||
|
ifeq ($(SEMIHOSTING),yes)
|
||||||
|
LDFLAGS += --specs=rdimon.specs
|
||||||
|
LIBS += -lrdimon
|
||||||
|
else
|
||||||
|
LIBS += -lnosys
|
||||||
|
endif
|
||||||
|
LDFLAGS += -L$(LIB_DIR)
|
||||||
|
LDFLAGS += -T$(LDSCRIPT)
|
||||||
|
LDFLAGS += -Wl,-Map=$(PROJECT).map,--cref,--gc-sections,-u,IVT
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# arch flags
|
||||||
|
|
||||||
|
ARCH_FLAGS = -mthumb -mcpu=cortex-m3 -msoft-float
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Used libraries
|
||||||
|
|
||||||
|
LDLIBS += -Wl,--start-group -lc -lm -lgcc $(LIBS) -Wl,--end-group
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Tasks
|
||||||
|
|
||||||
|
OBJDIR := obj
|
||||||
|
CPPSRCS := src/*.cpp src/stm32/*.cpp
|
||||||
|
|
||||||
|
# generate resources
|
||||||
|
: |> python tools/assetgen.py resources/assets.cfg src |> src/resources-gen.cpp src/resources-gen.h
|
||||||
|
|
||||||
|
# compile all cpp files
|
||||||
|
: foreach $(CPPSRCS) | src/resources-gen.h |> $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(ARCH_FLAGS) -c %f -o %o |> $(OBJDIR)/%B.o
|
||||||
|
|
||||||
|
# generate version string as well via tup trickery
|
||||||
|
# we pass source to GCC via stdin, then add the object file to our list of .o's to link
|
||||||
|
GIT_TAG := vers=`./git_describe_tag`
|
||||||
|
VERSION_SRC := "#include \"src/version.h\"\nconst char* Version::str() {return \"$vers\";}"
|
||||||
|
COMPILE_VERSION := $(GIT_TAG); echo $(VERSION_SRC) | $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(ARCH_FLAGS) -x c++ -c - -o $(OBJDIR)/version.o
|
||||||
|
|
||||||
|
# link binary
|
||||||
|
: $(OBJDIR)/*.o |> $(COMPILE_VERSION); $(LD) $(LDFLAGS) $(ARCH_FLAGS) %f $(LDLIBS) -o %o |> $(PROJECT).elf $(OBJDIR)/version.o | $(PROJECT).map
|
||||||
|
|
||||||
|
# create related binary formats
|
||||||
|
: $(PROJECT).elf |> $(OBJCOPY) -O ihex %f %o |> $(PROJECT).hex
|
||||||
|
: $(PROJECT).elf |> $(OBJCOPY) -O binary %f %o |> $(PROJECT).bin
|
10
artoo/Tupfile.ini
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
;
|
||||||
|
; Tupfile.ini indicates that this is the root of our project.
|
||||||
|
;
|
||||||
|
; We could configure more settings here if we wanted,
|
||||||
|
; but we're just using the defaults for now.
|
||||||
|
;
|
||||||
|
; See the INI FILES section at http://gittup.org/tup/manual.html
|
||||||
|
;
|
||||||
|
|
2
artoo/artoo.config
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
// Add predefined macros for your project here. For example:
|
||||||
|
// #define THE_ANSWER 42
|
1
artoo/artoo.creator
Normal file
@ -0,0 +1 @@
|
|||||||
|
[General]
|
434
artoo/artoo.files
Normal file
@ -0,0 +1,434 @@
|
|||||||
|
src/main.cpp
|
||||||
|
src/ldscript.ld
|
||||||
|
src/exti.cpp
|
||||||
|
src/stm32/setup.cpp
|
||||||
|
src/stm32/hw.h
|
||||||
|
src/stm32/vectors.cpp
|
||||||
|
src/stm32/vectors.h
|
||||||
|
src/stm32/gpio.cpp
|
||||||
|
src/stm32/gpio.h
|
||||||
|
src/stm32/spi.cpp
|
||||||
|
src/stm32/spi.h
|
||||||
|
src/stm32/dma.cpp
|
||||||
|
src/stm32/dma.h
|
||||||
|
src/stm32/sys.h
|
||||||
|
src/stm32/sys.cpp
|
||||||
|
src/stm32/adc.cpp
|
||||||
|
src/stm32/adc.h
|
||||||
|
src/stm32/usart.cpp
|
||||||
|
src/stm32/usart.h
|
||||||
|
src/board.h
|
||||||
|
src/stm32/common.h
|
||||||
|
src/inputs.h
|
||||||
|
src/inputs.cpp
|
||||||
|
src/stm32/hwtimer.cpp
|
||||||
|
src/stm32/hwtimer.h
|
||||||
|
src/buzzer.h
|
||||||
|
src/buzzer.cpp
|
||||||
|
src/hostprotocol.h
|
||||||
|
src/hostprotocol.cpp
|
||||||
|
src/stm32/systime.cpp
|
||||||
|
src/stm32/systime.h
|
||||||
|
src/stickaxis.h
|
||||||
|
src/stickaxis.cpp
|
||||||
|
src/button.h
|
||||||
|
src/button.cpp
|
||||||
|
src/packetbuffer.h
|
||||||
|
src/cameracontrol.cpp
|
||||||
|
src/cameracontrol.h
|
||||||
|
src/tween.cpp
|
||||||
|
src/tween.h
|
||||||
|
src/dsm.cpp
|
||||||
|
src/dsm.h
|
||||||
|
src/io.h
|
||||||
|
src/stm32/mcuflash.cpp
|
||||||
|
src/stm32/mcuflash.h
|
||||||
|
src/params.h
|
||||||
|
src/params.cpp
|
||||||
|
src/tasks.h
|
||||||
|
src/tasks.cpp
|
||||||
|
src/machine.h
|
||||||
|
src/ui.h
|
||||||
|
src/ui.cpp
|
||||||
|
src/version.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/ardupilotmega.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_ahrs.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_ahrs2.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_ahrs3.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_airspeed_autocal.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_ap_adc.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_autopilot_version_request.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_battery2.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_camera_feedback.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_camera_status.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_compassmot_status.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_data16.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_data32.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_data64.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_data96.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_digicam_configure.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_digicam_control.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_ekf_status_report.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_fence_fetch_point.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_fence_point.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_fence_status.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_axis_calibration_progress.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_control.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_erase_firmware_and_config.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_factory_parameters_loaded.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_home_offset_calibration_result.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_perform_factory_tests.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_report.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_report_factory_tests_progress.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_reset.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_set_factory_parameters.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_set_home_offsets.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_command.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_power_off.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_power_on.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_response.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_hwstatus.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_led_control.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_limits_status.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_mag_cal_progress.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_mag_cal_report.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_meminfo.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_mount_configure.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_mount_control.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_mount_status.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_radio.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_rally_fetch_point.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_rally_point.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_rangefinder.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_sensor_offsets.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_set_mag_offsets.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_simstate.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_wind.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/testsuite.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/version.h
|
||||||
|
src/mavlink/c_library/ASLUAV/ASLUAV.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_asl_obctrl.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_aslctrl_data.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_aslctrl_debug.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_asluav_status.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_ekf_ext.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_sens_atmos.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_sens_batmon.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_sens_mppt.h
|
||||||
|
src/mavlink/c_library/ASLUAV/mavlink_msg_sens_power.h
|
||||||
|
src/mavlink/c_library/ASLUAV/testsuite.h
|
||||||
|
src/mavlink/c_library/ASLUAV/version.h
|
||||||
|
src/mavlink/c_library/autoquad/autoquad.h
|
||||||
|
src/mavlink/c_library/autoquad/mavlink.h
|
||||||
|
src/mavlink/c_library/autoquad/mavlink_msg_aq_esc_telemetry.h
|
||||||
|
src/mavlink/c_library/autoquad/mavlink_msg_aq_telemetry_f.h
|
||||||
|
src/mavlink/c_library/autoquad/testsuite.h
|
||||||
|
src/mavlink/c_library/autoquad/version.h
|
||||||
|
src/mavlink/c_library/common/common.h
|
||||||
|
src/mavlink/c_library/common/mavlink.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_actuator_control_target.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_att_pos_mocap.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_attitude.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_attitude_quaternion.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_attitude_quaternion_cov.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_attitude_target.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_auth_key.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_autopilot_version.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_battery_status.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_change_operator_control.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_change_operator_control_ack.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_command_ack.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_command_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_command_long.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_data_stream.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_data_transmission_handshake.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_debug.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_debug_vect.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_distance_sensor.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_encapsulated_data.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_file_transfer_protocol.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_global_position_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_global_position_int_cov.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_global_vision_position_estimate.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps2_raw.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps2_rtk.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps_global_origin.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps_inject_data.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps_raw_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps_rtk.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_gps_status.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_heartbeat.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_highres_imu.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_controls.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_gps.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_optical_flow.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_rc_inputs_raw.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_sensor.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_state.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_hil_state_quaternion.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_local_position_ned.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_local_position_ned_cov.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_local_position_ned_system_global_offset.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_log_data.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_log_entry.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_log_erase.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_log_request_data.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_log_request_end.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_log_request_list.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_manual_control.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_manual_setpoint.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_memory_vect.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_ack.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_clear_all.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_count.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_current.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_item.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_item_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_item_reached.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_request.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_request_list.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_request_partial_list.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_set_current.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_mission_write_partial_list.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_named_value_float.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_named_value_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_nav_controller_output.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_optical_flow.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_optical_flow_rad.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_param_map_rc.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_param_request_list.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_param_request_read.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_param_set.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_param_value.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_ping.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_position_target_global_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_position_target_local_ned.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_power_status.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_radio_status.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_raw_imu.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_raw_pressure.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_rc_channels.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_rc_channels_override.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_rc_channels_raw.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_rc_channels_scaled.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_request_data_stream.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_safety_allowed_area.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_safety_set_allowed_area.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_scaled_imu.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_scaled_imu2.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_scaled_imu3.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_scaled_pressure.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_scaled_pressure2.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_serial_control.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_servo_output_raw.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_set_actuator_control_target.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_set_attitude_target.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_set_gps_global_origin.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_set_mode.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_set_position_target_global_int.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_set_position_target_local_ned.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_sim_state.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_statustext.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_sys_status.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_system_time.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_terrain_check.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_terrain_data.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_terrain_report.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_terrain_request.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_timesync.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_v2_extension.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_vfr_hud.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_vicon_position_estimate.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_vision_position_estimate.h
|
||||||
|
src/mavlink/c_library/common/mavlink_msg_vision_speed_estimate.h
|
||||||
|
src/mavlink/c_library/common/testsuite.h
|
||||||
|
src/mavlink/c_library/common/version.h
|
||||||
|
src/mavlink/c_library/matrixpilot/matrixpilot.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_airspeeds.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_altitudes.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_buffer_function.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_buffer_function_ack.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_command.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_command_ack.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_directory.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_directory_ack.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_read_req.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_flexifunction_set.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f13.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f14.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f15.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f16.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f2_a.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f2_b.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f4.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f5.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f6.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f7.h
|
||||||
|
src/mavlink/c_library/matrixpilot/mavlink_msg_serial_udb_extra_f8.h
|
||||||
|
src/mavlink/c_library/matrixpilot/testsuite.h
|
||||||
|
src/mavlink/c_library/matrixpilot/version.h
|
||||||
|
src/mavlink/c_library/minimal/mavlink.h
|
||||||
|
src/mavlink/c_library/minimal/mavlink_msg_heartbeat.h
|
||||||
|
src/mavlink/c_library/minimal/minimal.h
|
||||||
|
src/mavlink/c_library/minimal/testsuite.h
|
||||||
|
src/mavlink/c_library/minimal/version.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_attitude_control.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_brief_feature.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_detection_stats.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_image_available.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_image_trigger_control.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_image_triggered.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_marker.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_onboard_health.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_pattern_detected.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_point_of_interest.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_point_of_interest_connection.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_position_control_setpoint.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_raw_aux.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_set_cam_shutter.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_set_position_control_offset.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_watchdog_command.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_watchdog_heartbeat.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_watchdog_process_info.h
|
||||||
|
src/mavlink/c_library/pixhawk/mavlink_msg_watchdog_process_status.h
|
||||||
|
src/mavlink/c_library/pixhawk/pixhawk.h
|
||||||
|
src/mavlink/c_library/pixhawk/testsuite.h
|
||||||
|
src/mavlink/c_library/pixhawk/version.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_boot.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_control_surface.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_cpu_load.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_ctrl_srfc_pt.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_data_log.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_diagnostic.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_gps_date_time.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_isr_location.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_mid_lvl_cmds.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_novatel_diag.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_ptz_status.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_sensor_bias.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_sensor_diag.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_slugs_camera_order.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_slugs_configuration_camera.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_slugs_mobile_location.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_slugs_navigation.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_status_gps.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_uav_status.h
|
||||||
|
src/mavlink/c_library/slugs/mavlink_msg_volt_sensor.h
|
||||||
|
src/mavlink/c_library/slugs/slugs.h
|
||||||
|
src/mavlink/c_library/slugs/testsuite.h
|
||||||
|
src/mavlink/c_library/slugs/version.h
|
||||||
|
src/mavlink/c_library/test/mavlink.h
|
||||||
|
src/mavlink/c_library/test/mavlink_msg_test_types.h
|
||||||
|
src/mavlink/c_library/test/test.h
|
||||||
|
src/mavlink/c_library/test/testsuite.h
|
||||||
|
src/mavlink/c_library/test/version.h
|
||||||
|
src/mavlink/c_library/ualberta/mavlink.h
|
||||||
|
src/mavlink/c_library/ualberta/mavlink_msg_nav_filter_bias.h
|
||||||
|
src/mavlink/c_library/ualberta/mavlink_msg_radio_calibration.h
|
||||||
|
src/mavlink/c_library/ualberta/mavlink_msg_ualberta_sys_status.h
|
||||||
|
src/mavlink/c_library/ualberta/testsuite.h
|
||||||
|
src/mavlink/c_library/ualberta/ualberta.h
|
||||||
|
src/mavlink/c_library/ualberta/version.h
|
||||||
|
src/mavlink/c_library/checksum.h
|
||||||
|
src/mavlink/c_library/mavlink_conversions.h
|
||||||
|
src/mavlink/c_library/mavlink_helpers.h
|
||||||
|
src/mavlink/c_library/mavlink_types.h
|
||||||
|
src/mavlink/c_library/protocol.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gimbal_torque_cmd_report.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_get_request.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_get_response.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_heartbeat.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_set_request.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_gopro_set_response.h
|
||||||
|
src/mavlink/c_library/ardupilotmega/mavlink_msg_pid_tuning.h
|
||||||
|
src/ui_telemetry.h
|
||||||
|
src/ui_telemetry.cpp
|
||||||
|
src/stm32/pwr.h
|
||||||
|
src/stm32/pwr.cpp
|
||||||
|
src/flightmanager.h
|
||||||
|
src/flightmanager.cpp
|
||||||
|
src/vehicleconnector.h
|
||||||
|
src/vehicleconnector.cpp
|
||||||
|
src/buttonmanager.h
|
||||||
|
src/buttonmanager.cpp
|
||||||
|
src/powermanager.h
|
||||||
|
src/powermanager.cpp
|
||||||
|
src/stm32/fsmc.h
|
||||||
|
src/stm32/fsmc.cpp
|
||||||
|
src/ili9341parallel.h
|
||||||
|
src/ili9341parallel.cpp
|
||||||
|
src/resources-gen.cpp
|
||||||
|
src/resources-gen.h
|
||||||
|
src/haptic.h
|
||||||
|
src/haptic.cpp
|
||||||
|
src/gfx.h
|
||||||
|
src/gfx.cpp
|
||||||
|
src/board_bb03.h
|
||||||
|
src/board_bb02.h
|
||||||
|
src/telemetry.h
|
||||||
|
src/battery.h
|
||||||
|
src/battery.cpp
|
||||||
|
src/stm32/rcc.h
|
||||||
|
src/stm32/rcc.cpp
|
||||||
|
src/ui_arming.h
|
||||||
|
src/ui_arming.cpp
|
||||||
|
src/ui_pairing.h
|
||||||
|
src/ui_pairing.cpp
|
||||||
|
src/ui_gimbal.h
|
||||||
|
src/ui_gimbal.cpp
|
||||||
|
src/ringbuffer.h
|
||||||
|
src/mathx.h
|
||||||
|
src/buttonfunction.h
|
||||||
|
src/buttonfunction.cpp
|
||||||
|
src/ui_alert.h
|
||||||
|
src/ui_alert.cpp
|
||||||
|
src/ui_events.h
|
||||||
|
src/ui_splash.h
|
||||||
|
src/ui_splash.cpp
|
||||||
|
src/ui_power.h
|
||||||
|
src/ui_power.cpp
|
||||||
|
src/board_dvt.h
|
||||||
|
src/lockout.h
|
||||||
|
src/lockout.cpp
|
||||||
|
src/ui_updater.h
|
||||||
|
src/ui_updater.cpp
|
||||||
|
src/idletimeout.h
|
||||||
|
src/idletimeout.cpp
|
||||||
|
src/coord2d.h
|
||||||
|
src/geo.h
|
||||||
|
src/geo.cpp
|
||||||
|
src/selftest.h
|
||||||
|
src/selftest.cpp
|
||||||
|
src/manualoverride.h
|
||||||
|
src/manualoverride.cpp
|
||||||
|
src/factorytest.h
|
||||||
|
src/factorytest.cpp
|
||||||
|
src/ui_bottombox.h
|
||||||
|
src/ui_bottombox.cpp
|
||||||
|
src/ui_events.cpp
|
||||||
|
src/onedkalmanfilter.h
|
||||||
|
src/movingavgfilter.h
|
||||||
|
src/movingavgfilter.cpp
|
||||||
|
src/ui_fullscreenmodal.cpp
|
||||||
|
src/ui_fullscreenmodal.h
|
||||||
|
src/ui_holdprogressbar.h
|
||||||
|
src/ui_holdprogressbar.cpp
|
||||||
|
src/telemetry.cpp
|
||||||
|
src/ui_color.cpp
|
||||||
|
src/ui_color.h
|
||||||
|
src/ui_topbar.h
|
||||||
|
src/ui_topbar.cpp
|
||||||
|
src/mathx.cpp
|
||||||
|
src/home.h
|
||||||
|
src/home.cpp
|
||||||
|
src/stm32/bkp.h
|
||||||
|
src/stm32/bkp.cpp
|
||||||
|
src/mavlink.h
|
||||||
|
src/mavlink.cpp
|
||||||
|
src/sologimbal.h
|
||||||
|
src/sologimbal.cpp
|
14
artoo/artoo.includes
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
src
|
||||||
|
src/stm32
|
||||||
|
src/Adafruit-GFX-Library
|
||||||
|
src/mavlink/c_library/minimal
|
||||||
|
src/mavlink/c_library/slugs
|
||||||
|
src/mavlink/c_library/pixhawk
|
||||||
|
src/mavlink/c_library
|
||||||
|
src/mavlink/c_library/common
|
||||||
|
src/mavlink/c_library/ardupilotmega
|
||||||
|
src/mavlink/c_library/matrixpilot
|
||||||
|
src/mavlink/c_library/autoquad
|
||||||
|
src/mavlink/c_library/test
|
||||||
|
src/mavlink/c_library/ASLUAV
|
||||||
|
src/mavlink/c_library/ualberta
|
24
artoo/gdbinit.sample
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
set print pretty on
|
||||||
|
set mem inaccessible-by-default off
|
||||||
|
|
||||||
|
define hook-run
|
||||||
|
set confirm off
|
||||||
|
end
|
||||||
|
|
||||||
|
define hook-quit
|
||||||
|
set confirm off
|
||||||
|
end
|
||||||
|
|
||||||
|
define reload
|
||||||
|
load
|
||||||
|
run
|
||||||
|
end
|
||||||
|
|
||||||
|
# update for default path on your machine
|
||||||
|
target extended-remote /dev/cu.usbmodemE3BB9CE1
|
||||||
|
monitor jtag_scan
|
||||||
|
att 1
|
||||||
|
|
||||||
|
# set the DBG_STANDBY | DBG_STOP | DBG_SLEEP bits in the DBGMCU_CR register
|
||||||
|
set *(uint32_t*)0xE0042004 = 0x7
|
7
artoo/git_describe_tag
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Returns the most recent release tag string
|
||||||
|
## If the head is the most recent tag, it will display only the tag such as v3.0.0
|
||||||
|
## If there are untagged commits after the last tag, it will display something v3.0.0-2-876FH
|
||||||
|
git describe --tags
|
||||||
|
|
2
artoo/obj/.gitkeep
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
# ensure this directory exists on a fresh git checkout
|
212
artoo/resources/assets.cfg
Normal file
@ -0,0 +1,212 @@
|
|||||||
|
|
||||||
|
# list each asset to be converted on a separate line.
|
||||||
|
# paths are interpreted relative to this file.
|
||||||
|
# name before colon is symbol that can be accessed in generated code.
|
||||||
|
|
||||||
|
[Images PaletteA]
|
||||||
|
|
||||||
|
#Update Sequence
|
||||||
|
|
||||||
|
Icon_Batsu: images/update_sequence/Icon_Batsu.png
|
||||||
|
Icon_Check: images/update_sequence/Icon_Check.png
|
||||||
|
Icon_Wrench: images/update_sequence/Icon_Wrench.png
|
||||||
|
Icon_FailWrench: images/update_sequence/Icon_FailWrench.png
|
||||||
|
|
||||||
|
#Hold Fly Button Interactions
|
||||||
|
|
||||||
|
Hold_PBarCap: images/Hold_PBarCap.png
|
||||||
|
Kill_PBarCap: images/Kill_PBarCap.png
|
||||||
|
|
||||||
|
#Pairing Sequence
|
||||||
|
|
||||||
|
Icon_SoloWhite: images/pairing/Solo_White.png
|
||||||
|
Icon_SoloGreen: images/pairing/Solo_Green.png
|
||||||
|
|
||||||
|
#Basic Telemetry
|
||||||
|
|
||||||
|
Unit_FT: images/basic_telem/Unit_FT.png
|
||||||
|
Unit_MPH: images/basic_telem/Unit_MPH.png
|
||||||
|
Unit_M: images/basic_telem/Unit_M.png
|
||||||
|
Unit_KPH: images/basic_telem/Unit_KPH.png
|
||||||
|
Icon_ChargingBolt: images/top_bar_icons/Icon_charging.png
|
||||||
|
GPS_Lock: images/top_bar_icons/New_GPS_Lock.png
|
||||||
|
GPS_NoLock: images/top_bar_icons/New_GPS_NoLock.png
|
||||||
|
|
||||||
|
|
||||||
|
# Button Icons (Updates to match Artoo physical buttons)
|
||||||
|
|
||||||
|
Icon_Power_Btn: images/button_icons/Power_Button.png
|
||||||
|
Icon_New_A_Btn: images/button_icons/New_A_Button_Disengaged.png
|
||||||
|
Icon_New_A_Btn_On: images/button_icons/New_A_Button_Engaged.png
|
||||||
|
Icon_New_A_Btn_Dis: images/button_icons/New_A_Button_Disabled.png
|
||||||
|
|
||||||
|
Icon_New_B_Btn: images/button_icons/New_B_Button_Disengaged.png
|
||||||
|
Icon_New_B_Btn_On: images/button_icons/New_B_Button_Engaged.png
|
||||||
|
Icon_New_B_Btn_Dis: images/button_icons/New_B_Button_Disabled.png
|
||||||
|
|
||||||
|
Icon_1_Btn_OnBlack: images/button_icons/1_Button_OnBlk.png
|
||||||
|
Icon_2_Btn_OnBlack: images/button_icons/2_Button_OnBlk.png
|
||||||
|
Icon_1_Btn_OnGrn: images/button_icons/1_Button_OnGrn.png
|
||||||
|
Icon_2_Btn_OnGrn: images/button_icons/2_Button_OnGrn.png
|
||||||
|
|
||||||
|
#Battery Messaging
|
||||||
|
|
||||||
|
Icon_Batt_Check_Frame: images/battery_check_icon/Battery_Check_Frame.png
|
||||||
|
Batt_Fill_Green_LeftCap: images/battery_check_icon/Left_GreenCap.png
|
||||||
|
Batt_Fill_Green_RightCap: images/battery_check_icon/Right_GreenCap.png
|
||||||
|
Batt_Fill_Red_LeftCap: images/battery_check_icon/Left_RedCap.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Camera Angle and Angle Presets Feedback
|
||||||
|
|
||||||
|
Camera_Angle_Indicator: images/camera_angle/Camera_Ball.png
|
||||||
|
Preset_Marker_Save: images/camera_angle/Preset_Marker_Save.png
|
||||||
|
Preset_Marker_SaveBlue: images/camera_angle/Preset_Marker_Save_UpdateBlue.png
|
||||||
|
Preset_Marker: images/camera_angle/Preset_Marker.png
|
||||||
|
Preset_MarkerBlue: images/camera_angle/Preset_MarkerBlue.png
|
||||||
|
Tilt_Arc: images/camera_angle/Tilt_Arc.png
|
||||||
|
Icon_Angle1Green: images/camera_angle/Icon_GreenAngle1.png
|
||||||
|
Icon_Angle2Green_Update: images/camera_angle/Icon_GreenAngle2.png
|
||||||
|
Icon_Angle1Blue_Update: images/camera_angle/Icon_BlueAngle1.png
|
||||||
|
Icon_Angle2Blue: images/camera_angle/Icon_BlueAngle2.png
|
||||||
|
Label_SweepSec: images/camera_angle/Label_SweepSec.png
|
||||||
|
|
||||||
|
#Modal Screen Icons
|
||||||
|
|
||||||
|
|
||||||
|
Grn_Icon_ConRecon: images/modal_screen_icons/Green_ControllerReconnect.png
|
||||||
|
Red_Icon_ConDis: images/modal_screen_icons/Red_ControllerDisconnect.png
|
||||||
|
Grn_Icon_GPS: images/modal_screen_icons/Green_GPS_Regain.png
|
||||||
|
Orng_Icon_GPS: images/modal_screen_icons/Orange_GPS_Lost_02.png
|
||||||
|
Orng_Icon_Com: images/modal_screen_icons/Orange_Compass.png
|
||||||
|
Red_Icon_Com: images/modal_screen_icons/Red_Compass.png
|
||||||
|
Orng_Icon_Exclam: images/modal_screen_icons/Orange_Exclamation.png
|
||||||
|
Orange_Icon_SenorCal: images/modal_screen_icons/Orange_SensorCal.png
|
||||||
|
Green_Icon_SensorCal: images/modal_screen_icons/Green_SensorCal.png
|
||||||
|
Red_Icon_Exclam: images/modal_screen_icons/Red_Exclamation.png
|
||||||
|
Orng_Icon_Level: images/modal_screen_icons/Orange_LevelError.png
|
||||||
|
Red_Icon_Level: images/modal_screen_icons/Red_LevelError.png
|
||||||
|
Red_Icon_Alt: images/modal_screen_icons/Red_AltitudeCal.png
|
||||||
|
Red_Icon_Crash: images/modal_screen_icons/Red_Crash.png
|
||||||
|
Red_Icon_Camera: images/modal_screen_icons/Red_GoProError.png
|
||||||
|
Red_Icon_SensError: images/modal_screen_icons/Red_SensorError.png
|
||||||
|
Grn_Icon_Wifi: images/modal_screen_icons/Green_wifi.png
|
||||||
|
Red_Icon_Ticket: images/modal_screen_icons/Red_TroubleTicket.png
|
||||||
|
|
||||||
|
[Images PaletteB]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Takeoff Sequence
|
||||||
|
Icon_Fly_Button: images/takeoff_sequence/Icon_Fly_Button.gif
|
||||||
|
|
||||||
|
Icon_Fly_Btn_New: images/takeoff_sequence/Icon_Fly_Button_New.png
|
||||||
|
Icon_Fly_Btn_Grey_New: images/takeoff_sequence/Icon_Fly_Button_Grey_New.png
|
||||||
|
|
||||||
|
Icon_Fly_Btn_for22: images/button_icons/Icon_Fly_For_Prompt.png
|
||||||
|
|
||||||
|
|
||||||
|
# Spinner
|
||||||
|
|
||||||
|
Spinner00: images/spinner/spinner_0.gif
|
||||||
|
Spinner01: images/spinner/spinner_1.gif
|
||||||
|
Spinner02: images/spinner/spinner_2.gif
|
||||||
|
Spinner03: images/spinner/spinner_3.gif
|
||||||
|
Spinner04: images/spinner/spinner_4.gif
|
||||||
|
Spinner05: images/spinner/spinner_5.gif
|
||||||
|
Spinner06: images/spinner/spinner_6.gif
|
||||||
|
Spinner07: images/spinner/spinner_7.gif
|
||||||
|
Spinner08: images/spinner/spinner_8.gif
|
||||||
|
Spinner09: images/spinner/spinner_9.gif
|
||||||
|
Spinner10: images/spinner/spinner_10.gif
|
||||||
|
Spinner11: images/spinner/spinner_11.gif
|
||||||
|
Spinner12: images/spinner/spinner_12.gif
|
||||||
|
Spinner13: images/spinner/spinner_13.gif
|
||||||
|
Spinner14: images/spinner/spinner_14.gif
|
||||||
|
Spinner15: images/spinner/spinner_15.gif
|
||||||
|
Spinner16: images/spinner/spinner_16.gif
|
||||||
|
Spinner17: images/spinner/spinner_17.gif
|
||||||
|
Spinner18: images/spinner/spinner_18.gif
|
||||||
|
|
||||||
|
#Motor Shut Off
|
||||||
|
|
||||||
|
Icon_White_A_Btn: images/motor_shut_off/Icon_White_A_Btn.png
|
||||||
|
Icon_White_B_Btn: images/motor_shut_off/Icon_White_B_Btn.png
|
||||||
|
Icon_White_Pause_Btn: images/motor_shut_off/Icon_White_Pause_Btn.png
|
||||||
|
|
||||||
|
Icon_A_Btn_for22: images/button_icons/Icon_A_For_Prompt.png
|
||||||
|
Icon_B_Btn_for22: images/button_icons/Icon_B_For_Prompt.png
|
||||||
|
Icon_Pause_for22: images/button_icons/Icon_Pause_For_Prompt.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#Alert Icons
|
||||||
|
|
||||||
|
Icon_VertBattRedBar: images/alerts/VerticalBatt_Red.png
|
||||||
|
Icon_VertBattOrangeBar: images/alerts/VerticalBatt_Orange.png
|
||||||
|
Icon_VertBattAlertFrame: images/alerts/VerticalBatt_Frame.png
|
||||||
|
Red_Icon_GPS: images/alerts/GPS_Lost_02.png
|
||||||
|
Icon_ArtooforBatteryAlert: images/alerts/Battery_Artoo.png
|
||||||
|
Icon_ArtooNew: images/alerts/ArtooRCNew.png
|
||||||
|
Icon_AutoShutdownZ: images/alerts/ZZZ.png
|
||||||
|
Icon_Artoo_AutoShutoff: images/alerts/Artoo_shutoff.png
|
||||||
|
Icon_ArtooBattWarning_Level1: images/alerts/ArtooBatt_ChargeBeforeFlight.png
|
||||||
|
Icon_ArtooBattWarning_Level2: images/alerts/ArtooBatt_LandSoon-Recharge.png
|
||||||
|
Icon_ArtooBattWarning_Level3: images/alerts/ArtooBatt_AutoRTH.png
|
||||||
|
Icon_FlightBattWarning_Level1: images/alerts/FlightBatt_LandSoon-Recharge.png
|
||||||
|
Icon_FlightBattWarning_Level2: images/alerts/FlightBatt_AutoLand.png
|
||||||
|
Label_FlightBattOrange: images/alerts/FlightBatt_Orange.png
|
||||||
|
Label_FlightBattRed: images/alerts/FlightBatt_Red.png
|
||||||
|
Icon_ArtooBatt_Unkown: images/alerts/ArtooBatt_unknown.png
|
||||||
|
|
||||||
|
#Logo Startup Sequence
|
||||||
|
|
||||||
|
Icon_Solo_Startup_Logo: images/logo_startup/Solo_Logo.png
|
||||||
|
|
||||||
|
Icon_ArtooRC: images/alerts/ArtooRC.png
|
||||||
|
|
||||||
|
|
||||||
|
#Basic Telem Update
|
||||||
|
|
||||||
|
Label_UD_Alt: images/basic_telem_update/Altitude.png
|
||||||
|
Label_UD_FlightBatt: images/basic_telem_update/FlightBatt.png
|
||||||
|
Label_UD_Home: images/basic_telem_update/Home.png
|
||||||
|
Icon_UD_Bolt: images/basic_telem_update/BattBolt.png
|
||||||
|
Icon_UD_GPS: images/basic_telem_update/GPS_New.png
|
||||||
|
Red_Label_UD_FlightBatt: images/basic_telem_update/Red_FlightBatt.png
|
||||||
|
Red_Icon_UD_GPS: images/basic_telem_update/Red_GPS_New.png
|
||||||
|
Unit_UD_Feet: images/basic_telem_update/New_foot.png
|
||||||
|
Unit_UD_Meter: images/basic_telem_update/New_Meter.png
|
||||||
|
Unit_UD_Percent: images/basic_telem_update/New_Percent.png
|
||||||
|
Unit_UD_Red_Percent: images/basic_telem_update/Red_New_Percent.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# unicode glyphs
|
||||||
|
Degree40White: images/camera_angle/degree-digit-40-white.png
|
||||||
|
Degree40Green: images/camera_angle/degree-digit-40-green.png
|
||||||
|
|
||||||
|
# Battery Check
|
||||||
|
Battery_Frame: images/battery_check_icon/Battery_Check_Frame.png
|
||||||
|
Battery_Left_RedCap: images/battery_check_icon/Left_RedCap.png
|
||||||
|
Battery_Left_GreenCap: images/battery_check_icon/Left_GreenCap.png
|
||||||
|
Battery_Right_GreenCap: images/battery_check_icon/Right_GreenCap.png
|
||||||
|
|
||||||
|
|
||||||
|
[Fonts]
|
||||||
|
|
||||||
|
HelveticaNeueLTProRoman26: path=fonts/HelveticaNeueLTPro-Roman.otf, size=26
|
||||||
|
HelveticaNeueLTProLightLarge: path=fonts/HelveticaNeueLTPro-Lt.otf, size=30
|
||||||
|
HelveticaNeueLTProLightLargeWhiteOnBlack: path=fonts/HelveticaNeueLTPro-Lt.otf, size=30, color=#ffffff, bg=#000
|
||||||
|
HelveticaNeueLTProLightWhiteOnBlack: path=fonts/HelveticaNeueLTPro-Lt.otf, size=16, color=#ffffff, bg=#000
|
||||||
|
HelveticaNeueLTProRoman: path=fonts/HelveticaNeueLTPro-Roman.otf, size=16, color=#bcbdbe
|
||||||
|
HelveticaNeueLTProRoman16DarkGrey: path=fonts/HelveticaNeueLTPro-Roman.otf, size=16, color=#555656
|
||||||
|
|
||||||
|
Helvetica16: path=fonts/HelveticaNeueMedium.ttf, size=16
|
||||||
|
Copenhagen25BlueDigits: path=fonts/Copenhagen_Light.otf, size=25, start_ch=0, end_ch=9, color=#2a9ad5
|
||||||
|
Copenhagen40: path=fonts/Copenhagen_Light.otf, size=40, start_ch=0, end_ch=9
|
||||||
|
Copenhagen40Green: path=fonts/Copenhagen_Light.otf, size=40, start_ch=0, end_ch=9, color=#86C441
|
||||||
|
Copenhagen85: path=fonts/Copenhagen_Light.otf, size=85, start_ch=0, end_ch=9
|
BIN
artoo/resources/fonts/Copenhagen_Light.otf
Normal file
BIN
artoo/resources/fonts/HelveticaNeueLTPro-Lt.otf
Normal file
BIN
artoo/resources/fonts/HelveticaNeueLTPro-Roman.otf
Normal file
BIN
artoo/resources/fonts/HelveticaNeueMedium.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Black.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-BlackItalic.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Bold.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-BoldItalic.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Italic.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Light.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-LightItalic.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Medium.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-MediumItalic.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Regular.otf
Normal file
BIN
artoo/resources/fonts/Roboto-Regular.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-Thin.ttf
Normal file
BIN
artoo/resources/fonts/Roboto-ThinItalic.ttf
Normal file
BIN
artoo/resources/fonts/RobotoCondensed-Bold.ttf
Normal file
BIN
artoo/resources/fonts/RobotoCondensed-BoldItalic.ttf
Normal file
BIN
artoo/resources/fonts/RobotoCondensed-Italic.ttf
Normal file
BIN
artoo/resources/fonts/RobotoCondensed-Light.ttf
Normal file
BIN
artoo/resources/fonts/RobotoCondensed-LightItalic.ttf
Normal file
BIN
artoo/resources/fonts/RobotoCondensed-Regular.ttf
Normal file
BIN
artoo/resources/fonts/RobotoTTF.zip
Normal file
25
artoo/resources/fonts/notes.txt
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
The following files were removed from this directory for licensing reasons:
|
||||||
|
|
||||||
|
Copenhagen_Light.otf
|
||||||
|
HelveticaNeue.dfont
|
||||||
|
HelveticaNeueLTPro-Lt.otf
|
||||||
|
HelveticaNeueLTPro-Roman.otf
|
||||||
|
HelveticaNeueMedium.ttf
|
||||||
|
|
||||||
|
.dfont files are sometimes an archive of several different variants of .ttf files
|
||||||
|
|
||||||
|
by default, PIL just uses the first, and doesn't provide a way to specify which one to use.
|
||||||
|
http://fondu.sourceforge.net/ is a tool that extracts each of them into individual .ttf files (install on OS X via `brew install fondu`).
|
||||||
|
|
||||||
|
This was used to generate HelveticaNeueMedium.ttf from HelveticaNeue.dfont
|
||||||
|
|
||||||
|
Alternatively, 'Roboto' is an Apache Licensed Free Font by google that can be gotten from here:
|
||||||
|
https://material.io/guidelines/resources/roboto-noto-fonts.html
|
||||||
|
( wget https://storage.googleapis.com/material-design/publish/material_v_11/assets/0B0J8hsRkk91LRjU4U1NSeXdjd1U/RobotoTTF.zip
|
||||||
|
and we might be able to get away with using these instead of helveticaNeue?
|
||||||
|
Roboto-Regular arrives in the zip as a .ttf, converting it to .otf is easy with any online tool for this, eg: https://everythingfonts.com/ttf-to-otf
|
||||||
|
finally, to use Roboto where the system is expecting helvetica we'll do this:
|
||||||
|
cp Roboto-Regular.otf HelveticaNeueLTPro-Lt.otf
|
||||||
|
cp Roboto-Regular.otf HelveticaNeueLTPro-Roman.otf
|
||||||
|
cp Roboto-Regular.otf HelveticaNeueMedium.ttf
|
||||||
|
cp Roboto-Regular.otf Copenhagen_Light.otf
|
BIN
artoo/resources/images/BatteryIcon.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
artoo/resources/images/FlightBatt.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
artoo/resources/images/Hold_PBarCap.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
artoo/resources/images/Home_Distance.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
artoo/resources/images/Home_Distance_Grey.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/IconSpeed.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
artoo/resources/images/Kill_PBarCap.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
artoo/resources/images/LabelAltitude.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
artoo/resources/images/ModePill_LeftCap_White.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
artoo/resources/images/ModePill_RightCap_White.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
artoo/resources/images/Speed.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
artoo/resources/images/Speed_Grey.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
artoo/resources/images/alerts/ArtooBatt_AutoRTH.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
artoo/resources/images/alerts/ArtooBatt_ChargeBeforeFlight.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
artoo/resources/images/alerts/ArtooBatt_LandSoon-Recharge.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
artoo/resources/images/alerts/ArtooBatt_unknown.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
artoo/resources/images/alerts/ArtooRC.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
artoo/resources/images/alerts/ArtooRCNew.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/alerts/Artoo_shutoff.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
artoo/resources/images/alerts/Battery_Artoo.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
artoo/resources/images/alerts/FlightBatt_AutoLand.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
artoo/resources/images/alerts/FlightBatt_LandSoon-Recharge.png
Normal file
After Width: | Height: | Size: 489 B |
BIN
artoo/resources/images/alerts/FlightBatt_Orange.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
artoo/resources/images/alerts/FlightBatt_Red.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
artoo/resources/images/alerts/GPS_Lost_02.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
artoo/resources/images/alerts/GPS_lost.png
Normal file
After Width: | Height: | Size: 511 B |
BIN
artoo/resources/images/alerts/VerticalBatt_Frame.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
artoo/resources/images/alerts/VerticalBatt_Orange.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
artoo/resources/images/alerts/VerticalBatt_Red.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
artoo/resources/images/alerts/ZZZ.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
artoo/resources/images/attic/BatteryText_Btm.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
artoo/resources/images/attic/GpsLock.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/attic/GpsNolock.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
artoo/resources/images/attic/IconAButton.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/attic/IconAltitude.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/attic/IconBButton.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/attic/LabelDistance.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/attic/LabelMeters.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
artoo/resources/images/attic/LabelMetersPerSec.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
artoo/resources/images/attic/ModePill_LeftCap.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
artoo/resources/images/attic/ModePill_RightCap.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
artoo/resources/images/attic/RcBatt.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
artoo/resources/images/attic/Signal_Full.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
artoo/resources/images/attic/StartUp_01.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
artoo/resources/images/attic/StartUp_02.png
Normal file
After Width: | Height: | Size: 127 KiB |
BIN
artoo/resources/images/attic/StartUp_03.png
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
artoo/resources/images/attic/StartUp_04.png
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
artoo/resources/images/attic/StartUp_05_Btm.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
artoo/resources/images/attic/StartUp_05_Md.png
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
artoo/resources/images/attic/StartUp_06.png
Normal file
After Width: | Height: | Size: 103 KiB |
BIN
artoo/resources/images/attic/Take0ff_03and04.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
artoo/resources/images/attic/Takeoff_01Txt.png
Normal file
After Width: | Height: | Size: 34 KiB |