Code Monkey home page Code Monkey logo

drones-coordination's Introduction

PSC Drones

This repository contains an implementation of an algorithm to generate coordinated drone trajectories avoinding collisions and optimizing time. It runs on simulated and real Crazyflie drones.

Installation

Make sure you have Ubuntu 16 installed.

First create a workspace folder and clone this repository (Installation scripts require it to be this exact directory).

mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
git clone https://github.com/asilvaigor/psc.git

Next install ROS and create a ROS workspace by running:

cd ~/catkin_ws/src/psc/configuration/
./install_ros.sh

Then run:

./install_crazyflie.sh
./configure_usb.sh

Download and buid mesh_generator repository:

./install_mesh_generator.sh

Update current shell:

source ~/.bashrc

Running

roslaunch psc agent.launch

If this doesn't work, try using a new terminal shell.

Configure PyCharm

Open the project on ~/catkin_ws/src/psc folder. To configure python paths inside pycharm, go on File>Settings>Project>Project Interpreter. Make sure you select python2.7 (/usr/bin/python2.7). Click on the gear button, then "Show All". Select the last button (tree), than add a path to catkin_ws/src/sim_cf/crazyflie_gazebo/tools and one to catkin_ws/src/psc/src/.

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.