This python script was written to control an AR Drone 2.0 with a joystick. It support video (with ffplay) but much work remains...
I use this joystick to control the drone : http://www.thrustmaster.com/fr_FR/produits/t16000m
I took a little video about my project :
(Sorry for the bad quality :/)
This python script wonderfully work on a raspberry PI !
There is also a demo application included which shows the video from the drone and lets you remote-control the drone with the joystick:
Joystick t16000m
Button 7 : Take Off !
Button 13 : Land
Button 6 : Stop and Land !
Button 3 : Altitude UP !
Button 2 : Altitude Down !
Button 1 : Emmergency mode !
Button 0 : Animation Boom !
Button 4 : Animation Turnarround !
Button 9 : Animation Yaw Shake !
Button 8 : Animation Yaw Dance !
Button 5 : Animation ThetaMixed !
This software was tested with the following setup:
- Python 2.6.6
- Python pygame
- Unmodified AR.Drone firmware 2.0
You can now execute install.sh script to launch automatic installation of required packages on Ubuntu/Debian/Mint.