ROS2 System Challenge: High-Frequency Filter Relay

Hard 0% pass rate

Practice the ROS2 System Challenge: High-Frequency Filter Relay coding problem in ROS2. Browser-based execution with automated grading — no local ROS install required. 0% of engineers pass this challenge.

System Challenge: High-Frequency Filter Relay

Your robot's hardware bridge is spamming raw diagnostic data at 100Hz. Your task is to filter it and relay it cleanly.

Requirements

  • Node named filter_relay
  • Subscribe to /diagnostics/raw (std_msgs/msg/String)
  • Filter out any string containing 'ERROR'
  • Publish the filtered data to /diagnostics/clean
  • Ensure you do not exceed 10Hz out to avoid network saturation.

Input/Output Format

Input: High-rate raw sensor bits | Output: Filtered message relay

⚠️ Common Pitfalls

  • Buffer overflows
  • CPU starvation

📚 Helpful Resources

Frequently asked questions

What is the ROS2 System Challenge: High-Frequency Filter Relay practice problem?

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

How do I practice ROS2 System Challenge: High-Frequency Filter Relay 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 System Challenge: High-Frequency Filter Relay test?

This Hard problem focuses on ROS2 skills used in robotics interviews and production systems.