Code Monkey home page Code Monkey logo

siegdrone's Introduction

A project with the AR Drone 2.0, ps_drone and pydrone programs in Python.

You will need to install the pip 'pygame' and have a PlayStation 4 DS controller.

Plug in battery -> Wait for all clear -> Connect to ARDrone network -> Connect PS4 Controller -> Run "python SiegDrone.py"

siegdrone.py writtten by Greg Siegfried
Sources used were:
     ps_drone.py
     (w)+(c) J. Philipp de Graaff, www.playsheep.de, [email protected], 2012-2015
     Project homepage: www.playsheep.de/drone and 
         https://sourceforge.net/projects/ps-drone/

     ps4constroller.py
     (w)+(c) Jacob Laney MIT 2016
     Project homepage: https://github.com/JacobLaney/py-drone

This project tries to use the pygame as input and feedback for the user.
The current button configuration is:
Pad:
Down/Up = -/+ Animation Options             Triangle = Doggy Nod
Left/Right = -/+ Led Options       Square = Doggy Hop    Circle = Doggy Wag
                                            eXe = Takeoff/Land

Shoulder:    L1 = LED PATTERN        R1 = ANIMATE! PATTERN

SPECIAL:    
Share:    Set Magneto Trim (Must be in flight!)
Option:    Set Drone Soft Reset (Must be on ground!)
*** PLAYSTATION BUTTON = ENDS THE RUNNING STATE TO EXIT THE PROGRAM!
                        ***    BE ON THE GROUND WHEN PRESSED!

The axis for the PS4 controller are:
    W/Forward = Left-Stick Up    S/Backward = Left-Stick Down
    A/SideLeft = Left-Stick Left  D/SideRight = Left-Stick Right
   
    Raise Drone = Right-Stick Up    Lower Done = Right-Stick Down
    Turn Left = Right-Stick Left    Turn Right = Right-Stick Right

END

siegdrone's People

Contributors

siegfriedgreg avatar

Watchers

James Cloos avatar

Forkers

jpbefx

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.