ROS2 QoS Profiles - Deadline & Lifespan

Medium ROS2 Core 0% pass rate

Practice the ROS2 QoS Profiles - Deadline & Lifespan coding problem in ROS2 Core. Browser-based execution with automated grading — no local ROS install required. 0% of engineers pass this challenge.

Problem Statement

Advanced QoS settings. Deadline requires messages to arrive at a certain rate. Lifespan invalidates old messages.

Requirements

  • Create qos_demo node
  • Publisher /deadline_topic: Deadline 1000ms
  • Publisher /lifespan_topic: Lifespan 500ms
  • Publish to /deadline_topic slower than the deadline (e.g. 2000ms) to trigger a deadline missed event (simulated or logged).

Input/Output Format

Output:

  • Publishers configured with correct QoS policies.

⚠️ Common Pitfalls

  • Mixing rclpy.duration (objects) with simple floats/ints for QoS duration fields.

📚 Helpful Resources

Frequently asked questions

What is the ROS2 QoS Profiles - Deadline & Lifespan practice problem?

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

How do I practice ROS2 QoS Profiles - Deadline & Lifespan 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 QoS Profiles - Deadline & Lifespan test?

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