Code Monkey home page Code Monkey logo

ardrone-proxy's Introduction

ARDrone Proxy

This code enables the use of an on-board computer controlling the robot through the serial port of the ARDrone, instead of remotely (off-board) through wifi.

Dependencies

This code requires the use of a gcc/g++ ARM cross-compiler. Edit the CMakeLists.txt file according to your installation path for compiler executable names and boost location. You need the Boost library to be compiled for ARM as a dependency. You can compile a single threaded version to skip the pthread dependency. You will still require bzlib and zlib to be compiled for boost. I'm using Sourcery CodeBench Lite 2011.09-70 4.6.1, but you most likely will be able to use other compilers. You will also need mavlink installed so that the mavgen.py script can be used to generate the appropriate headers.

Compile

mkdir build
cd build
cmake ..
make

Send to drone

Connect to drone's wifi and do make upload. Executable ardrone-proxy will be saved on /data/video

Drone Modifications

You need to comment out the ttyPA0 line on /etc/inittab. To do this, connect to the drone's wifi and then telnet 192.168.1.1 Use vi to edit the file and reboot.

Running

Telnet into the drone, and execute ardrone-proxy. The process will be sent to background unless -F is passed as a parameter (mainly for debugging).

ardrone-proxy's People

Watchers

James Cloos 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.