Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanfoulis/python-ardroneapi
A standalone pure python api to control the AR.Drone. EXPERIMENTAL and mostly untested!
https://github.com/stefanfoulis/python-ardroneapi
Last synced: 2 months ago
JSON representation
A standalone pure python api to control the AR.Drone. EXPERIMENTAL and mostly untested!
- Host: GitHub
- URL: https://github.com/stefanfoulis/python-ardroneapi
- Owner: stefanfoulis
- License: mit
- Created: 2011-03-25T01:24:35.000Z (over 13 years ago)
- Default Branch: develop
- Last Pushed: 2011-04-01T00:23:37.000Z (over 13 years ago)
- Last Synced: 2024-09-04T00:05:23.147Z (3 months ago)
- Language: Python
- Homepage: https://github.com/stefanfoulis/python-ardroneapi/wiki
- Size: 672 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=================
python-ardroneapi
=================A standalone pure python api to control the Parrot AR.Drone.
.. Warning::
This is highly EXPERIMENTAL and has not been fully tested!Preperation
===========You must be connected to the ad-hoc network of the AR.Drone. Check if
the drone can be pinged and if you can connect to it via telnet.
By default the drone will be at 192.168.1.1 and will assign your
computer the up 192.168.1.2.If you've not changed anything you can go right ahead and instanciate
the Drone without any parameters:>>> from ardroneapi import Drone
>>> from ardroneapi.constants import ARDRONE_LED_ANIMATION_DOUBLE_MISSILE
>>> d = Drone()
>>> d.connect() # initiates the socket
>>> d.animate_leds(ARDRONE_LED_ANIMATION_DOUBLE_MISSILE) # makes the leds blink.
>>> d.flat_trims() # calibrate drone (make sure it is on a flat horizontal surface first)
>>> d.takeoff()
>>> d.land()