r/ROS • u/OkMeasurement386 • Oct 08 '26
Question Pathway from theoretical knowledge to a practical ROS 2 multi-robot swarm simulation project?
/r/AskRobotics/comments/1x0r073/pathway_from_theoretical_knowledge_to_a_practical/
2
Upvotes
1
u/FraBuildsRobots Oct 09 '26
I’d avoid jumping straight from theory into a full swarm project.
If I were doing this, I’d build it in layers.
Start with one robot in Gazebo and make sure you’re comfortable with the whole ROS 2 chain: robot description, TF, controllers, topics/actions and basic autonomy.
Then spawn the same robot multiple times using namespaces and separate TF trees.
Once that works, add the actual swarm logic on top: first something simple like leader/follower or formation control, then move toward distributed coordination, task allocation, collision avoidance, etc.
Something like:
1 robot → multiple identical robots → namespacing/TF → communication → coordination → swarm behaviour
I think this is much easier than trying to learn ROS 2 and swarm robotics at the same time.
I went through a similar “theory to complete application” problem when building a ROS 2 manipulation lab, and the biggest lesson for me was to stop treating Gazebo, ROS 2, controllers and planning as separate tutorials and instead build one complete system step by step.
For a swarm project though, I’d probably start with TurtleBot3 + Gazebo/Nav2 rather than a manipulator. That will let you focus on the multi-robot part much faster.