Giter VIP home page Giter VIP logo

swarm_robot_ros_sim's Introduction

swarm_robot_ros_sim

A swarm robot simulation environment for ROS to be used with Gazebo.

Motivation

This project starts after investigating several swarm robot platforms like Kilobot, E-puck, Jasmine, Alice, etc, and working on a novel swarm microrobot called Inchbot for a while. It would be interesting to see what these swarm microrobots can do as a collective under simulation environment like ROS. This simulation aims to be a general swarm robots simulation platform.

Current research topic is decentrized formation control.

Other interests are Braitenberg vehicle, collective move, dealing with obstacles and closed environment, etc.

What's inside

swarm_robot_ros_sim contains packages each of which features a set of functionalities for this simulation platform:

swarm_robot_description package describes the robot models and simulation environment initialization files.

swarm_robot_msgs folder contains packages for customized messages, services and actions that will be used in other packages.

swarm_robot_controller package contains the low level controllers for the swarm robots.

swarm_robot_simulation package contains the swarm algorithms.

Setup

Have ROS Indigo installed and workspace setup. Clone this package in ~/ros_ws/src and build with catkin_make.

Demo

Two wheel robot dispersion simulation:

      roslaunch swarm_robot_description two_wheel_robot.launch robot_quantity:=20 half_range:=0.5

      rosrun swarm_robot_simulation two_wheel_robot_dispersion _spring_length:=0.7 _sensing_range:=2.0

Two wheel robot aggregation simulation:

      roslaunch swarm_robot_description two_wheel_robot.launch robot_quantity:=30 half_range:=2.0

      rosrun swarm_robot_simulation two_wheel_robot_aggregation _sensing_range:=1.5

Two wheel robot line formation simulation:

      roslaunch swarm_robot_description two_wheel_robot.launch robot_quantity:=25 half_range:=0.7

      rosrun swarm_robot_simulation two_wheel_robot_line_formation _spring_length:=0.7 _sensing_range:=2.0

Optionally, in all previous tests, robots can be added or deleted through:

      rosrun swarm_robot_description two_wheel_robot_batch_add _robot_quantity:=10 _half_range:=1.0

      rosservice call /swarm_sim/two_wheel_robot_update (press tab)...

Why not ROS Stage

Some swarm robot research model the robot as a dot, like ROS Stage. In my idea, there is distinct difference between omnidirectional move of a dot robot and a complete robot model. Here we use full model (simplify the collision) of the real robots to bridge the gap between simulation and implementation. Although it has drawback that the simulation speed goes low when more than 100 of such complex robots are in Gazebo, we will try to overcome that.

Contribution

License

See the LICENSE file for license rights and limitations (MIT).

swarm_robot_ros_sim's People

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.