guptadivyansh / singleRobot

Controls N agents by deploying the same code N times using ROS for Swarm behavior simulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single Robot

Description: Controls N agents by deploying the same code N times using ROS for Swarm behavior simulation.

Dependencies: ROS, Gazebo, Swarm Simulator

======Usage:======

  1. Clone this Repository.

  2. Run the Swarm Simulator. [Swarm Simulator Repository should be in the system]

$ roslaunch swarm_simulator swarm.launch ''
  1. Generate the launch file for the singlerobot package for n-agents
roscd singlerobot
bash generator.sh <number of agents>
  1. Launch the singlerobot nodes.
roslaunch singlerobot singlerobot.launch 

The messages are published at /swarmbot0/message and similarly for others.

======TODO:======

  1. Implement a naive path planner to take robot from Point A to Point B.

  2. Subscribe to encoder data for single robot and generate path from that.

About

Controls N agents by deploying the same code N times using ROS for Swarm behavior simulation.


Languages

Language:CMake 52.3%Language:C++ 37.1%Language:Python 10.0%Language:Shell 0.7%