GithubHelp home page GithubHelp logo

wuyou33 / mat-fly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gsilano/mat-fly

0.0 1.0 0.0 25.18 MB

MAT-Fly provides an easy to use 3D simulation scenario based on MATLAB and the MathWorks Virtual Reality (VR) toolbox that work together to simulate the behavior of a drone in a 3D environment while tracking a car that moves along a non trivial path.

License: Apache License 2.0

MATLAB 100.00%

mat-fly's Introduction

License PRs Welcome first-timers-only View MAT-Fly on File Exchange

MAT-Fly

MAT-Fly is a numerical simulation platform for multi-rotors aircraft characterized by the ease of use and control development. The platform is based on MATLAB and the MathWorks Virtual Reality (VR) Toolbox that work together to simulate the behavior of a drone in a 3D environment while tracking a car that moves along a non trivial path.

The VR toolbox has been chosen due to the familiarity that students have with MATLAB and because it allows to move the attention to the classifier, the tracker, the reference generator and the trajectory tracking control thanks to its simple structure. The overall architecture is quite modular so that each block can be easily replaced with others by simplifying the development phase and by allowing to add even more functionalities.

The code is released under Apache license, thus making it available for scientific and educational activities.

The platform has been developed using the 2015b release of MATLAB but it is compatible with any other successive MATLAB release. The MathWorks Computer Vision System Toolbox is needed for running the Simulink schemes and Matlab scripts.

Below we provide the instructions necessary for getting started.

If you are using the simulator within the research for your publication, please take a look at the Publications page.

The tool is also available on the MathWorks Exchange web site.

Basic Usage

Starting the simulation is quite simple as well as customizing it. Indeed, it is enough to run the MATLAB main script reported in the Object_detection_and_tracking_simulator repository. A menu shows the simulation options:

(1) The drone follows a car along a non trivial path ("vr_octavia_2cars" scenario)
(2) The drone follows the red car superimposed on yellow one ("vr_octavia_2cars" scenario)
(3) The drone follows the yellow car in front of the car one ("vr_octavia_2cars" scenario) 
(4) The drone follows a car along a non trivial path ("vr_octavia" scenario)
(5) The drone follows the red car in front of the yellow one ("vr_octavia_2cars" scenario) 
(6) The drone follows the red car to the right of of the yellow one ("vr_octavia_2cars" scenario) 
(7) The drone follows the red car to the left of of the yellow one ("vr_octavia_2cars" scenario) 

Once selected the simulation scenario, the simulator starts taking screenshots from the 3D simulation scenario and making them available into the Acquisition folder (it is created at runtime if not yet available).

With the aim of making easy the reuse of the proposed software platform, an offline dataset has been created and made available (links are reported below). The dataset allows to quickly design the classifier and the flight control system, to check the perfomance of the MATLAB script for automatically recognize the ROIs (Region Of Interests) within the frames, etc..

Bugs & Feature Requests

Please report bugs and request features by using the Issue Tracker. Furthermore, please see the Contributing.md file if you plan to help us improve the features of MAT-Fly.

YouTube video

In this section, a video provides in a direct way the effectiveness of the proposed platform. Links to other videos are available in the related papers and on the YouTube channel. Enjoy! :)

MAT-Fly YouTube video. Drone follows the car along a non trivial scenario.

mat-fly's People

Contributors

gsilano 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.