Git Product home page Git Product logo

swarm-of-uavs's Introduction

Swarm of UAVs

yt-video

Description

Simulation for behaviour of a swarm of UAVs for tracking a pollutant cloud.

Initially one UAV flies in a spiral trying to find a cloud and once it finds it, it calls more UAVs to fly around the cloud and track the cloud's border corresponding to a pollutant concentration of 1.0. The goal is to have the UAVs uniformly spread around the cloud.

Each UAV can fly for 30 minutes after which it needs to go back to the base (0,0) to recharge.

sim-start.m

This file performs the setup of the simulation and starts it.

uav-fsm.m

Contains the Finite State Machine that controls the behaviour of the UAV.

update-location.m

Models the movement of the UAV using Runge–Kutta method.

Method

For spreading uniformly around the cloud the UAVs calculate the Convex Hull of the cloud (based on the sampled points) and speed up/slow down based on the location of the other UAVs.

If the perimeter of the cloud gets too big, a new UAV is called to fly around the cloud

Collision Avoidance

To achieve this I modelled each UAV to be an electron and each UAV applies a repelling force on all the other UAVs (that are close enough).

swarm-of-uavs's People

Contributors

mcseyyy avatar

Watchers

James Cloos 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.