Coder Social home page Coder Social logo

drone_follow_me's Introduction


Human Detection and Tracking using m500 quadrotor

Table of Contents

  1. About The Project
  2. Report
  3. Getting Started
  4. Usage
  5. Contributors
  6. Contact
  7. License

About The Project

This project deals with the implementation of human detection and tracking. The quadrotor used is ModalAI m500 model with VOXL Flight autonomy computer and PX4 flight controller.

Summary of tasks achieved:

  • Implemented ROS node for accessing and viewing Yolo v5 output.
  • Controlled yaw angle based on bounding box center.
  • Setup 1D LiDAR for forward and backward motion.
  • Programmed PD controllers for both motions.

(back to top)

Demo

Follow Me mode [Third Person View] (X2 Speed)

normal_third_person_view.online-video-cutter.com.1.mp4

Youtube

Drone Camera Feed (X2 Speed)

normal_drone_camera_feed.online-video-cutter.com.mp4

Youtube

  • Edge Case - Multiple Person in frame. Youtube
  • Edge Case - Person running. Youtube

(back to top)

Getting Started

These are the instructions to get started on the project. To get a local copy up and running follow these simple steps.

Prerequisites

  • OS - Linux (tested)
  • Object Detection model - Yolo v5
  • Hardware - Hires Camera, 1D LiDAR
  • Software - PX4, ROS 1, C++
  • Package required - voxl_mpa_to_ros
  • Docker - ROS melodic with opencv1.2 (mavros and mavros_extras required)
  • Ground Station - Qgroundcontrol

Installation

  1. Add the following inside bashrc of your local machine.
    export ROS_MASTER_URI=<Drone_IP>
  2. Setup tflite service for yoloV5 and select hires camera.
  3. Clone package human_tracking into src of workspace and catkin_make.

(back to top)

Usage

For starting offboard_mode. Open 4 terminals and do the following.

  1. First terminal. ssh into drone and source ROS variables. Then enter following command to start voxl_mpa_to_ros
    roslaunch voxl_mpa_to_ros voxl_mpa_to_ros.launch
  2. Second terminal. Get into docker image and source the workspace and run following to start controller.
    roslaunch human_tracking follower.launch
  3. Third terminal. Get into docker image and source the workspace and run following to view camera output with bounding boxes.
    rosrun human_tracking view
  4. Fourth terminal. Source .bashrc of local machine and run rqt and select following topic for image view.
    /human_bb_view

(back to top)

License

Distributed under the MIT License. See MIT for more information.

(back to top)

drone_follow_me's People

Contributors

abhijitmahalle avatar

Watchers

 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.