Skip to main content

Python interface to control Parrot drones

Project description

pyparrot

Python interface for Parrot Drones

pyparrot was designed and implemented by Dr. Amy McGovern to program Parrot Mambo and Parrot Bebop 2 drones using python. This interface was developed to teach K-20 STEM concepts (programming, math, and more) by programming a drone to fly autonomously. Anyone can use it who is interested in autonomous drone programming!

Installation, Quick-start, Documentation, FAQs

Extensive documentation is available at https://pyparrot.readthedocs.io

Major updates and releases:

  • 7/5/2018: Version 1.4.21: Added max_tilt and max_altitude to the Bebop commands.
  • 7/4/2018: Version 1.4.20: While move_relative is implemented, it seems to have a firmware bug so DO NOT USE.
  • 7/4/2018: Version 1.4.19: Added move_relative command to the Bebop API. For now, only dx, dy, and dradians should be used as there seems to be a bug internal to the firmware on dz.
  • 6/17/2018: Version 1.4.18 Added landed button status to the Drone Vision GUI for safety in user code
  • 6/16/2018: Version 1.4.17 Added flat trim to mambo also
  • 6/16/2018: Version 1.4.16 Added flat trim to bebop
  • 6/15/2018: Version 1.4.15 Removed a stray print, updated documentation, cast turn_degrees arguments to an int in Mambo.
  • 6/11/2018: Version 1.4.14 Added bebop sdp file to the release on pip
  • 6/7/2018: Version 1.4.13 Fixed duration in PCMD to use milliseconds instead of integer seconds
  • 6/7/2018: Version 1.4.12 Added an option to fly_direct to allow the command to be sent once
  • 6/6/2018: Version 1.4.11 Fixed a stray import statment not fixed from the move to pip
  • 5/31/2018: Version 1.4.10 Documentation updated significantly and moved to readthedocs
  • 5/30/2018: Version 1.4.7 and 1.4.8 and 1.4.9 fixed scripts location to release find_mambo script and added readthedocs documents
  • 5/29/2018: Version 1.4.6 Accepted fixes for Bebop 1 compatibility
  • 5/28/2018: Version 1.4.5 Fixed imports for new pypi structure and added xml files to pypi.
  • 5/25/2018: Version 1.4.3. Uploaded to pypi so pyparrot can now be installed directory from pip. Updated documentation for new vision.
  • 5/23/2018: Updated function (contributed) to download pictures from Mambo's downward facing camera.
  • 3/25/2018: Added DroneVisionGUI which is a version of the vision that shows the video stream (for Bebop or Mambo) in real time.
  • 2/22/2018: Version 1.3.2. Updated DroneVision to make the vision processing faster. Interface changed to only have the user call open_vision and close_vision (and not start_video_buffering)
  • 2/10/2018: Version 1.3.1. Updated DroneVision to work on Windows.
  • 2/8/2018: Version 1.3. Vision is working for both the Mambo and Bebop in a general interface called DroneVision. Major documenation updates as well.
  • 2/6/2018: Updated Mambo to add speed settings for tilt & vertical. Needed for class.
  • 2/4/2018: Unofficial updates to add ffmpeg support to the vision (will make an official release with examples soon)
  • 12/09/2017: Version 1.2. Mambo now gives estimated orientation using quaternions. Bebop now streams vision, which is accessible via VLC or other video clients. Coming soon: opencv hooks into the vision.
  • 12/02/2017: Version 1.1. Fixed sensors with multiple values for Mambo and Bebop.
  • 11/26/2017: Initial release, version 1.0. Working wifi and BLE for Mambo, initial flight for Bebop.

Programming and using your drones responsibly

It is your job to program and use your drones responsibly! We are not responsible for any losses or damages of your drones or injuries. Please fly safely and obey all laws.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyparrot-1.4.21.tar.gz (151.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyparrot-1.4.21-py3-none-any.whl (160.1 kB view details)

Uploaded Python 3

File details

Details for the file pyparrot-1.4.21.tar.gz.

File metadata

  • Download URL: pyparrot-1.4.21.tar.gz
  • Upload date:
  • Size: 151.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyparrot-1.4.21.tar.gz
Algorithm Hash digest
SHA256 e979c6a7c2c3ef4ef46d7373f5ee2e216e17e8482eadbed90bc9fb967b289aea
MD5 00a44b54b647cc710d8f9d95b7bf894a
BLAKE2b-256 e10a61aff595f11c49f42db223bfba5a933508253165ee5854353c8ed13aafb4

See more details on using hashes here.

File details

Details for the file pyparrot-1.4.21-py3-none-any.whl.

File metadata

File hashes

Hashes for pyparrot-1.4.21-py3-none-any.whl
Algorithm Hash digest
SHA256 e006e321a12909e06437fbdb1750e38e25176aace6eafc9bf666137e7a630f7c
MD5 e13181054ab386b5aab0a0cc796f10ca
BLAKE2b-256 10479db1766f54be8425d64b035897b1249168b400a120ac8669b1d28d083ddf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page