Giter VIP home page Giter VIP logo

guidance_ws's Introduction

Global optical flow-based estimation of velocity for multicopters using monocular vision in GPS-denied environments

outdoor sim

This repository provides a code base to simulation and flight experiment codes from the paper "Deng H, Arif U, Yang K, et al. Global optical flow-based estimation of velocity for multicopters using monocular vision in GPS-denied environments[J]. Optik, 2020: 164923.".

Paper video: [1] https://youtu.be/RUCoJWjlo0w [2] https://youtu.be/ZHzTNDAerCc

License and Citation

This project is licensed under the terms of the MIT license. By using the software, you are agreeing to the terms of the license agreement.

If you use this code in your research, please cite us.

@article{deng2020global,
  title={Global optical flow-based estimation of velocity for multicopters using monocular vision in GPS-denied environments},
  author={Deng, Heng and Arif, Usman and Yang, Kun and Xi, Zhiyu and Quan, Quan and Cai, Kai-Yuan},
  journal={Optik},
  pages={164923},
  year={2020},
  publisher={Elsevier}
}

Recommended system

Recommended system (tested):

  • Ubuntu 16.04
  • ROS Kinetic
  • AirSim 1.2.8
  • Python 2.7.12
  • OpenCV 3.3.1

ROS packages used by the example provided and their recommended version:

Remark: UE4 is not required if you don't need a custom scene. You can download the binaries from AirSim releases.

How to use

Clone the repo to the workspace source directory guidance_ws and then

cd ~/guidance_ws
catkin_make
source ~/guidance_ws/devel/setup.bash

Simulation

In order for you to simulation the velocity estimation you first need to install AirSim.

  • Build AirSim on Linux
  • (Optional) Download the binaries for the environment you like. We test in Neighborhood
  • Run simulation environment and velocity estimation algorithms simultaneously.
    roscd airsim_environment/shell/
    ./all.sh
    
    If you use a custom environment, remember to modify *.json under settings folder and modify the environment path in *.sh.
  • In the real flight experiment, the computer only needs to run the velocity estimation algorithms. Therefore, we recommend that the simulation environment and the velocity estimation algorithms be run separately.
    # Use the keyboard to control the drone
    ./teleop.sh
    # Collect visual data
    ./record.sh
    # Run the velocity estimation algorithm
    ./play.sh
    # View in PlotJuggler
    ./plot
    

sim_graph

Flight experiment

In the real flight experiment, you need to prepare the hardwares and compile the Gudiance-SDK-ROS in advance.

The Matrice 100 is equipped with a Guidance unit, which consists of stereo cameras and sonar sensors.

roslaunch rfly_launch main.launch

real_graph

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution.

guidance_ws's People

Contributors

dengmark avatar guozhenglong avatar kennethyangle avatar

Watchers

 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.