Giter VIP home page Giter VIP logo

py-minidrone's Introduction

py-minidrone

This is an unfinished Python library to control Parrot Rolling Spiders (one of the minidrones announced in 2014) over BLE.

I've started working on this project in September 2014, then stopped due to lack of free time. The code is NOT clean (especially the demo), I was still in the middle of testing and implementing several functions. There are things that just do not work.

Expect something like this: https://www.youtube.com/watch?v=zAfGR75qia8

I am planning to finish the library (at least what I planned originally), though.

I am not responsible for any harm done by/to your drone! Use this at your own risk.

How do I get set up?

  • Install Python 2.7+, Pexpect (pip install pexpect)
  • Install BlueZ 5+ (probably you will need to compile it from source, watch out for dependencies)
    • If you compiled it from source, don't forget to copy the %BlueZ%/attrib/gatttool binary to your PATH
  • Clone repo
  • Edit top of demo.py, replace MAC with yours
    • You can check it from CLI with "sudo hcitool lescan"
  • ./demo.py
  • Press 'c'
  • If the top menu gets filled with data from the drone, you're all set
  • FLY!
  • If anything goes wrong, press Esc (emergency cut-off)

BT chips (both in the drone and in adapters) are pretty nitpicking regarding BLE connections, you might need to turn off/on your drone sometimes, also don't forget to use 'sudo hciconfig hciX reset'.

Contribution

  • Pull requests are more than welcome

py-minidrone's People

Contributors

sethyx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.