Description: Controls N agents by deploying the same code N times using ROS for Swarm behavior simulation.
Dependencies: ROS, Gazebo, Swarm Simulator
======Usage:======
-
Clone this Repository.
-
Run the Swarm Simulator. [Swarm Simulator Repository should be in the system]
$ roslaunch swarm_simulator swarm.launch ''- Generate the launch file for the singlerobot package for n-agents
roscd singlerobot
bash scripts/generator.sh <number of agents>- Launch the singlerobot nodes.
roslaunch singlerobot singlerobot.launch The messages are published at /swarmbot0/message and similarly for others.
======TODO:======
- Subscribe to encoder data for single robot and generate path from that.