This repository contains all resources for a quadcopter controller for the X32 softcore. The quadcopter controller software was developed as part of the quadcopter project of the course IN4073 Embedded Real-Time Systems taught at the TU Delft.
See the project resource page.
- Ensure that the quadcopter is accessible over a usb-serial link. By default
/dev/ttyusb0
is used. - In
ufo/fpga
, make and upload the code to the quadcopter. Runmake uploadrun
to perform this whole process in one command. - To verify that the software has been succesfully uploaded and is running on the quadcopter, led 1 should be blinking at 1 Hz.
- In
ufo/pc
, compile the terminal usingmake term
. The program will be compiled to an executableterm
. - To run the terminal simply run
./term
. Again here the the usb-serial link is assumed to be at/dev/ttyusb0
. - The program has various configurable options, which can be listed using
./term -h
. - Note: the use of a joystick is by default disabled. To enable it, run the program as
./term -j <path/to/joysticktty>
.
- The quadcopter is by default in safe mode. This means that the quadcopter will remain stationary and will not respond to any control input.
- To start flying, press
2
to enable manual mode for example. You will now be able to fly using the quadcopter using the controls listed in the terminal. For the full specification of the controls see section C in the project manual.
Read-only overleaf: https://www.overleaf.com/read/vvwwhdwckfrh
https://drive.google.com/file/d/0B7ptJ-oV8EigZ29sT0FNdzBqT1k/view?usp=sharing