ROS2 The Bandwidth Bridge

Hard System Design 0% pass rate
#bandwidth#rate-limiting#priority#bridge#system-design#ros2

Practice the ROS2 The Bandwidth Bridge coding problem in System Design. Browser-based execution with automated grading — no local ROS install required. 0% of engineers pass this challenge.

System Design

Robot operates on a 1Gbps internal network. A remote monitoring system connects over 4G (limited bandwidth). Build a bridge that forwards robot data to remote monitoring while respecting bandwidth constraints.

Internal topics (robot side)

  • /camera/image — 30 fps, ~1MB/frame → 30MB/s
  • /scan — 10Hz, ~50KB/scan → 500KB/s
  • /odom — 50Hz, ~100 bytes → 5KB/s
  • /diagnostics — 5Hz, ~500 bytes → 2.5KB/s

Remote monitoring requirements

  • Total budget: 100KB/s maximum
  • Priority order (highest first):
    1. /diagnostics — always forward (safety-critical, ~2.5KB/s)
    2. /odom — always forward (position, ~5KB/s)
    3. /scan — forward at reduced rate (10KB/s budget: 1Hz instead of 10Hz)
    4. /camera/image — forward thumbnails only if budget remains (80KB/s budget; compress to 5KB/frame at 2fps)
  • Publish /bridge/stats (String): budget_used:{N}KB/s priority:{topic} each second

Starter code

Forwards everything at full rate — 30MB/s+. No priority. No budget enforcement.

Frequently asked questions

What is the ROS2 The Bandwidth Bridge practice problem?

It is a hands-on System Design challenge on SimuCode where you implement and run ROS2 code in the browser with runtime-verified tests.

How do I practice ROS2 The Bandwidth Bridge 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 The Bandwidth Bridge test?

This Hard problem focuses on bandwidth, rate-limiting, priority skills used in robotics interviews and production systems.