Code Monkey home page Code Monkey logo

drone_tld's Introduction

Drone_TLD (shadow) : A tracking and following application for UAVs using OpenTLD

Packages Required

Installation

  • Download shadow package and Drone_TLD. Drone_TLD is the rosified verison of the OpenTLD by Zdenek Kalal.
    git clone https://github.com/HALLAB-Halifax/Drone_TLD.git
  • catkin_make the shadow package.
  • You need to add ROS support to MATLAB for Drone_TLD to work. Refer to ROS support for MATLAB to install it.

Get it running

  • Connect to AR.Drone's network and initiate roscore.
  • Run ardrone_autonomy to setup the topics to communicate with the AR.Done.
    rosrun ardrone_autonomy ardrone_driver
  • Run the file run_TLD.m of Drone_TLD on Matlab.
  • In the window showing the camera frame draw a bounding box over the target.
  • Next run shadow to get the drone to follow the target.
    rosrun shadow shadow
  • Watch the drone follow the target. Have Fun! :)

Troubleshooting

Drone_TLD

  • Compile.m: Make sure the veriables include and libpath point to the right directories. If unsure, use the terminal to get the paths.
    pkg-config --cflags opencv for include
    pkg-config --libs opencv for libpath

  • tldExample.m

    1. Specify the topic to subscribe from for the camera feed.
    2. Two callback functions are available. Use functionrgb when the subscribed topic is color else use funcBW for grayscale input.
  • For further info or toubleshooting on TLD refer to the issues section of OpenTLD

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.