Git Product home page Git Product logo

udirc_hacking's Introduction

UDIRC Hacking

This repo presents a small, and very broken, implementation of a controller for a cheap WiFi FPV drone. There are likely multiple drones that could be controlled with something like this, as a lot of these manufacturers use the same firmware/control software.

Everything here was teased out of many wireshark captures.

This code is offered as-is. Here are some of the biggest issues:

  • JPEG video frames seem... incomplete. The packet reassembly seems straightforward, but the images are corrupted, and seem to be missing a good chunk of entropy-encoded data. Even though each reassembled frame has the appropriate JPEG header and trailer (FFD8 and FFD9)
  • Controller timing is sloppy. It seems as if some of the control signals (takeoff in particular), require being asserted for a period of time. All of the timing in this example is suspect.
  • The keyboard controller is complete crap. It exists only to demonstrate some level of control.

This has only been tested on OS X.

# connect to Drone's WiFi AP
mkdir build
cd build
cmake ..
./udirc_example

Some commands:

  • 't' - takeoff
  • 'l' - land (unreliable)
  • '' - disable (reliably turns off motors)
  • 'q' - throttle down
  • 'e' - throttle up
  • 'w' - pitch forward
  • 's' - pitch back
  • 'a' - roll left
  • 'l' - roll right

Currently no speed control or yaw for the keyboard controller.

udirc_hacking's People

Contributors

badiozam avatar codygriffin avatar

Watchers

 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.