ROS2 Namespace Collision

Medium Fleet / Multi-Robot 0% pass rate
#namespaces#topics#multi-robot#fleet#cmd_vel#ros2

Practice the ROS2 Namespace Collision coding problem in Fleet / Multi-Robot. Browser-based execution with automated grading — no local ROS install required. 0% of engineers pass this challenge.

Fleet Problem

3-robot warehouse fleet. Commands intended for Robot 1 sometimes move Robot 2. Operators are scared to run autonomously.


Setup

  • 3 robots in fleet: robot_1, robot_2, robot_3
  • Fleet manager sends movement commands to each robot
  • Robot drivers subscribe to their own command topic

Bug

Robot 1 always gets every command. Robot 2 gets nothing from the fleet manager (but moves erratically from other sources). The namespace for Robot 2's command topic doesn't match between the fleet manager and the robot driver.

Your task

Fix all namespace mismatches so each robot receives only its own commands.

Frequently asked questions

What is the ROS2 Namespace Collision practice problem?

It is a hands-on Fleet / Multi-Robot challenge on SimuCode where you implement and run ROS2 code in the browser with runtime-verified tests.

How do I practice ROS2 Namespace Collision online?

Open this page, sign in, and solve the problem in the built-in IDE. Your solution is graded against real ROS2 execution checks.

What skills does ROS2 Namespace Collision test?

This Medium problem focuses on namespaces, topics, multi-robot skills used in robotics interviews and production systems.