Giter Site home page Giter Site logo

tii_multidrone_base's Introduction

TII_multidrone_base

Dockerized Multi-Aerial Vehicle Simulator for TII Project

Build the dockerfile and launch simulation environment

Note that python3 needs to be installed to use an automatic build and a launch script.

  1. To build the dockerfile for the first time,
python3 auto_generate_scripts.py -n (number_of_drones) -i (your_indicator) -p (network_address_offset)

where '(number_of_drones)' denotes the number of drones that you want to launch in a simulation and '(your_indicator)' and '(network_address_offset)' arguments stand for your the suffix to indicate your own container name and the network address offset for your container network. '-i' and '-p' options can be used for the different users in a server running this environments. This is to prevent a container from network and container name overlap. For example, python3 auto_generate_scripts.py -n 5 -i mh -p 3 will create a container 'drones_mh' with 5 drones, which has an IP address 172.16.3.2 (subnet 172.16.3.0 - 172.16.3.255).

  1. To launch the simulation automatically,
python3 run_docker_simulation.py

you can see the terminators that runs each drone's PX4 autopilot and uXRCE-DDS Agent. Gazebo Garden with the drones will start as well.

Note

'pre-run.sh' is required to setup the environment if you manually launch the docker compose file. It sets your GID/UID as environment variables for the container and enables the communication between containers and X windows in the host.

tii_multidrone_base's People

Contributors

mhcho1994 avatar melodylylin avatar

Stargazers

harunkurtdev avatar

Watchers

 avatar

Forkers

melodylylin

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.