Skip to content
Ratnesh Madaan edited this page Mar 8, 2015 · 30 revisions

Let's start developing with CV Drone !

For Windows (Visual Studio)

  1. Download CV Drone from "Code" page.

Download from github

  1. Extract the .zip file in any directory.

Extract CV Drone

  1. Open .\build\vs20xx\test.sln.

Extract CV Drone

  1. Press F7 to build. "Release" build is recommended.

Release build

  1. Connect your AR.Drone.

Wifi

  1. Press F5 to run the program.

You can see AR.Drone's camera image.

AR.Drone 2.0 camera image

For Macintosh

  1. Download CV Drone from "Code" page.

  2. Extract the .zip file in any directory.

  3. Install FFmpeg and OpenCV by MacPorts.

$ sudo port selfupdate

$ sudo port install opencv

$ sudo port install ffmpeg

NOTE: You may need to set PATHs to build.

$ export LIBRARY_PATH=/opt/local/lib:$LIBRARY_PATH

$ export LD_LIBRARY_PATH=/opt/local/lib:$LD_LIBRARY_PATH

$ export C_INCLUDE_PATH=/opt/local/include:$C_INCLUDE_PATH

$ export CPLUS_INCLUDE_PATH=/opt/local/include:$CPLUS_INCLUDE_PATH

  1. Go to linux directory and execute the makefile.

$ cd cvdrone-master/build/linux

$ make

  1. Connect your AR.Drone.

  2. Run the program.

$ ./test.a

AR.Drone 2.0 camera image

For Linux

  1. Download CV Drone from "Code" page.

  2. Extract the .zip file in any directory.

  3. Install FFmpeg and OpenCV by apt-get.

$ sudo apt-get install ffmpeg

$ sudo apt-get install libopencv-dev

NOTE: Do '$ sudo apt-get install libav-tools' if ffmpeg is not available. (true for recent ubuntu releases due to a rename of the packages)

NOTE: You may need $ sudo apt-get install build-essential for g++.

  1. Go to linux directory and execute the makefile.

$ cd cvdrone-master/build/linux

$ make

  1. Connect your AR.Drone.

  2. Run the program.

$ ./test.a

AR.Drone 2.0 camera image

For more details, please see API reference.

Clone this wiki locally