Skip to content

afq984/pyardrone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

~ Github ~ PyPI ~ Online Docs ~

Requirements

  • Python 3.4 or later
  • opencv 3.0 or later (for video support)

Installation

pip install pyardrone

Basic Usage

import time
from pyardrone import ARDrone
drone = ARDrone()
drone.navdata_ready.wait()  # wait until NavData is ready
while not drone.state.fly_mask:
    drone.takeoff()
time.sleep(20)              # hover for a while
while drone.state.fly_mask:
    drone.land()

To move forward:

while True:
    drone.move(forward=1)   # move forward at full speed
.. seealso::

    *   :ref:`ardrone`
    *   `ARDrone Developer Guide from Parrot
        <https://github.com/afg984/pyardrone/raw/dev-resources/ARDrone_Developer_Guide.pdf>`_ (mirrored)

About

Parrot AR.Drone client library for Python 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published