This repository has the code that will run onboard the ADEPT-FC aircraft, to test flight control with distributed electric propulsion.
- install dependencies (zcm, Navio2) - instructions in
notes
directory. - build the software
make all
. - copy
config_files/rc.local
intoetc/rc.local
- Type
./run.sh
. - This will print outputs to the terminal and to the file
outlog.dat
(usefull for flights when the terminal isn't attached).
- Once all the modules are booted, type
help me
to see a list of options in the monitor app. - Must type
pwm arm
for outputs to be armed, and for logging to begin. - Once satisfied, disconnect from the software by typing
monitor exit
- Fly!
- Regain access to the software by running the monitor app:
sudo ./bin/monitor
. - disarm pwm outputs.
- type
all exit
to shutdown all modules.
- change
hitl false
tohitl true
inconfig_files/adept_fc.config
. - Run the autopilot as usual.
note: the 'hitl' module expects udp messages upon startup.
This repository has a mixed license. The header of each source file indicates whether the file falls under the MIT License (see https://github.com/tbretl/adept-fc/blob/master/LICENSE_MIT) or the GPLv3 License (see https://github.com/tbretl/adept-fc/blob/master/LICENSE_GPL).