Skip to content
Python library for the AR.Drone
Python
Branch: master
Clone or download

Latest commit

venthur Merge pull request #16 from flix-tech/demo_branch2
Some more trival whitspace fixes.
Latest commit 15adf22 Sep 17, 2017

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Added .gitignore and renamed README to README.md Feb 3, 2013
README.md added some text Oct 22, 2015
arnetwork.py Some trivial whitespace fixes. Jul 6, 2017
arvideo.py Some trivial whitespace fixes. Jul 6, 2017
demo.py Some more trival whitspace fixes. Jul 6, 2017
libardrone.py Some trivial whitespace fixes. Jul 6, 2017
test_libardrone.py Some trivial whitespace fixes. Jul 6, 2017

README.md

Flattr this

Video of the drone in action

A video of the library controlling a drone in action (click to jump to the video).

Getting Started:

>>> import libardrone
>>> drone = libardrone.ARDrone()
>>> # You might need to call drone.reset() before taking off if the drone is in
>>> # emergency mode
>>> drone.takeoff()
>>> drone.land()
>>> drone.halt()

The drone's property image contains always the latest image from the camera. The drone's property navdata contains always the latest navdata.

Demo:

There is also a demo application included which shows the video from the drone and lets you remote-control the drone with the keyboard:

RETURN      - takeoff
SPACE       - land
BACKSPACE   - reset (from emergency)
a/d         - left/right
w/s         - forward/back
1,2,...,0   - speed
UP/DOWN     - altitude
LEFT/RIGHT  - turn left/right

Here is a video of the library in action:

Repository:

The public repository is located here:

git://github.com/venthur/python-ardrone.git

Requirements:

This software was tested with the following setup:

  • Python 2.6.6
  • Psyco 1.6 (recommended)
  • Pygame 1.8.1 (only for the demo)
  • Unmodified AR.Drone firmware 1.5.1

License:

This software is published under the terms of the MIT License:

http://www.opensource.org/licenses/mit-license.php

You can’t perform that action at this time.