-
Notifications
You must be signed in to change notification settings - Fork 94
How to build
Let's start hacking your drone with CV Drone !
- Download CV Drone from "Code" page.
- Extract the .zip file in any directory.
- Open .\build\vs20xx\test.sln.
- Press F7 to build. "Release" build is recommended.
- Connect your AR.Drone.
- Press F5 to run the program.
You can see AR.Drone's camera image.
-
Download CV Drone from "Code" page.
-
Extract the .zip file in any directory.
-
Install FFmpeg and OpenCV by MacPorts.
$ brew update
$ brew install ffmpeg
$ brew tap homebrew /science
$ brew install opencv
NOTE: You may need to set PATHs to build.
$ export LIBRARY_PATH=/usr/local/lib:$LIBRARY_PATH
$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
$ export C_INCLUDE_PATH=/usr/local/include:$C_INCLUDE_PATH
$ export CPLUS_INCLUDE_PATH=/usr/local/include:$CPLUS_INCLUDE_PATH
- Go to linux directory and execute the makefile.
$ cd cvdrone-master/build/unix
$ make
-
Connect your AR.Drone.
-
Run the program.
$ ./test.a
-
Download CV Drone from "Code" page.
-
Extract the .zip file in any directory.
-
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
- Go to linux directory and execute the makefile.
$ cd cvdrone-master/build/unix
$ make
-
Connect your AR.Drone.
-
Run the program.
$ ./test.a
-
Download CV Drone from "Code" page.
-
Extract the .zip file in any directory.
-
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++.
- Go to linux directory and execute the makefile.
$ cd cvdrone-master/build/unix
$ make
-
Connect your AR.Drone.
-
Run the program.
$ ./test.a
For more details, please see API reference.
- How to build
- API reference
- FAQ