Initial commit, based on .tar.gz file as provided by 3DR , see SOURCE file

This commit is contained in:
Buzz 2017-07-29 17:55:41 +10:00
commit 24d15eb032
674 changed files with 428002 additions and 0 deletions

20
artoo/.gitignore vendored Normal file
View 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

37
artoo/.travis.yml Normal file
View File

@ -0,0 +1,37 @@
# build script for https://travis-ci.org
language: cpp
before_script:
- sudo add-apt-repository 'deb http://ppa.launchpad.net/anatol/tup/ubuntu precise main' -y
- sudo add-apt-repository 'ppa:terry.guo/gcc-arm-embedded' -y
- sudo apt-get update -q
- sudo apt-get install tup gcc-arm-none-eabi
- sudo pip install pillow
# try to clone enough revisions to see the last tag
# so `git describe` can generate a version string
git:
depth: 500
script:
- tup generate build-once.sh
- ./build-once.sh
- ./scripts/versioned-binaries.sh
deploy:
provider: releases
api_key:
secure: redacted
file_glob: true
file:
- "bins/artoo_*.elf"
- "bins/artoo_*.bin"
- "bins/artoo_*.hex"
skip_cleanup: true
on:
tags: true
repo: 3drobotics/artoo

27
artoo/COPYRIGHT-3DR Normal file
View 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
View 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.

84
artoo/ReadMe.md Normal file
View File

@ -0,0 +1,84 @@
WARNING - WORK IN PROGRESS
```
This code is known to be broken and/or incomplete. IT DOES NOT WORK.
We are actively working on fixing it, and we really, really do not recommend you download it just yet.
We will remove this warning from the repository when it is no longer required.
```
# artoo
firmware for Artoo, the Solo controller
### requirements
* ARM GCC Embedded - toolchain to build firmware. https://launchpad.net/gcc-arm-embedded
* tup - build tool. http://gittup.org/tup/ (install via homebrew on OS X)
* fuse-dev is required as a prerequisite to set up tup on Ubuntu (install via `apt-get install libfuse-dev`)
* pillow - image manipulation in tools/image-codegen.py. http://python-pillow.github.io (install via `pip install pillow` or similar for your env)
* note - you'll also need libfreetype installed *before* installing pillow. (`brew install freetype` on OS X)
* on at least one Ubuntu 14.04 image, `apt-get install python-pillow` was required, rather than `pip install pillow`
* on at least one other Ubuntu 14.04 image, `pip install --upgrade pillow' was required, to force getting pillow 2.7.0 rather than using Ubuntu's 2.3.0
* pymavlink - only required when running tools/slip-mavlink.py. http://qgroundcontrol.org/mavlink/pymavlink (install via `pip install pymavlink` or similar for your env)
To build with tup, simply invoke it at the root of the project directory:
$ tup
### dev environment
I'm primarily using Qt Creator (https://qt-project.org/downloads) for editing, which is tracked in the following project files: artoo.{config, creator, files, includes}
Any editor you like should be fine, though.
I've been using a Black Magic Probe for debug, the easiest way to setup is to copy the sample gdbinit file:
cp gdbinit.sample .gdbinit
Start a debug session:
$ arm-none-eabi-gdb artoo.elf
$ ... GDB startup ...
$ (gdb) load
$ (gdb) run
If you get super hosed, you may need to execute `mon connect_srst enable`, possibly with the reset button held, in order to recover.
#### stick calibration
Stick calibration data (along with other params) are stored in the STM32's MCU flash. There exists as GUI to calibrate them as part of the manufacturing process, but if you're interested in calibrating an existing Artoo, use `tools/stick-cal.py` as follows:
* copy both `tools/slip.py` and `tools/stick-cal.py` to the iMX6 board in your Artoo unit, via `scp` or similar
* `ssh` into the iMX6, and run `python stick-cal.py`, move the sticks and camera controls to their extremes, then press `ctrl-C` to complete the calibration
#### test against simulation
It is possible to do some basic testing against a simulated vehicle with the SITL environment provided by ardupilot. http://dev.ardupilot.com/wiki/setting-up-sitl-on-linux should get you set up to run it.
To connect your board to the simulation environment:
* connect an FTDI cable (or similar) to the UART that is normally connected to the iMX6
* if using a VM, pass the virtual serial device into the VM
* run `tools/slip-mavlink.py` (within the VM if you're using one) - this translates mavlink data from SITL into SLIP encoded data, and passes it to the STM32. It should print the IP address it's listening on - pass this to the `--out` argument of SITL when you start it below.
From within the ardupilot project folder, start up SITL and then :
$ cd ArduCopter
$ ../Tools/autotest/sim_vehicle.sh --console --out xxx.xxx.xxx.xxx
$ ... SITL starts up ...
Now, stick values and mavlink data are sent bidirectionally between artoo<->SITL, and you should be able to fly as normal.
#### semihosting
For print/log-based debugging, semihosting support is available (i've only tested this with Black Magic Probe, though hopefully openocd supports it as well).
In the top level Tupfile, uncomment `SEMIHOSTING := yes` and rebuild. You can now use the `DBG_LOG()` macro in the same way that you'd use `printf()` (it's aliased directly to printf when semihosting is enabled) and you should see the output in your gdb session.
Code should not be checked in with semihosting enabled, since we don't want to link against those libraries in a production build.

1
artoo/SOURCE Normal file
View 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
View 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 --tags`
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
View 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
;

20
artoo/Vagrantfile vendored Normal file
View File

@ -0,0 +1,20 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "ubuntu/precise64"
config.vm.provision "shell", path: "tools/install-vagrant-deps.sh"
config.vm.provider "virtualbox" do |v|
v.cpus = 4
end
end

2
artoo/artoo.config Normal file
View File

@ -0,0 +1,2 @@
// Add predefined macros for your project here. For example:
// #define THE_ANSWER 42

1
artoo/artoo.creator Normal file
View File

@ -0,0 +1 @@
[General]

434
artoo/artoo.files Normal file
View 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
View 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
View 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

2
artoo/obj/.gitkeep Normal file
View File

@ -0,0 +1,2 @@
# ensure this directory exists on a fresh git checkout

212
artoo/resources/assets.cfg Normal file
View 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

View File

@ -0,0 +1,14 @@
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

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Some files were not shown because too many files have changed in this diff Show More