TU Delft - Lasergame with Autonomous AR Drone
Introduction
Our focus in the development of the autonomous AR.Drone is focused on the lasergaming industry. In this field our goal is to implement the AR.drone as a observing and later on in the project participating member of the game. We feel that there is quite a lot of potential for an implementation of the quad rotor.
In our project we have chosen to work with the Standard Development Kit (SDK), which is already present on the AR.Drone. To get this done we needed to combine Paparazzi with the programs JSBSim and FlightGear.
Github
For this project we used a repository, Github. Developers often use a repository for developing their software projects. When using a repository, developers can upload and download the code developed for the project. This allows multiple people to work on the same project at the same time without getting in eachother's way. It is in this case very useful and we will use Github, a populair open source repository site. For beginners, please read the manual to setup Github for Ubuntu:
The Laser Gaming Setup
Simulation
Model
Combining Paparazzi with FlightGear and JSBSim
To get the AR.Drone to fly autonomously a model of the system is required. This can be created using paparazzi combined with JSBSim and FlightGear. A more detailed explanation of how we did this can be found here: Setting up simulation environment.
Getting information
Getting Started
This project is developed by using Linux, ubuntu. Following these steps are at your own risk. You can only perform these steps if you use ubuntu. Before the developing part will start, the following installations are required:
- Download the SDK from Ardrone.org
- Download and install Paparazzi, see the installation guide for help: [1] Do not follow the instructions from 4), we use another cross-compiler for this project.
- Follow the instructions described in the "Getting the cross-compiler".
The cross-compiler
- Download the cross-compiler from [2]
- Open the terminal and direct to your home directory.
- Type the following commands (without the $):
$ sudo chmod +x codesetup.sh $ sudo ./codesetup.sh
Wait a few minutes and you're done!
AT Commands
The AR.Drone 2 has a self made protocol for controlling the AR.Drone 2 remotly over wifi. More information kan be found at AT Commands AR.Drone 2
GPS signals
Telnet
The AR.Drone 2 has a telnet interface that opens a root shell on the AR.Drone 2, which is needed to test and install software. More information can be found at Telnet AR.Drone2.
FTP
The AR.Drone 2 also has a FTP server running, which makes it possible to upload files like programs to the AR.Drone 2. More information can be found at FTP AR.Drone2.