ROS2 Dynamic Transform Broadcaster

Medium TF2 Broadcasting 78% pass rate
#tf2#dynamic#broadcaster#moving

Practice the ROS2 Dynamic Transform Broadcaster coding problem in TF2 Broadcasting. Browser-based execution with automated grading — no local ROS install required. 78% of engineers pass this challenge.

Problem Statement

Broadcast a dynamic transform that changes over time (e.g., a moving robot or a spinning sensor).

Requirements

  • Create a node dynamic_broadcaster
  • Broadcast transform from odom to base_link
  • Calculate x, y based on a circular path (radius 2m)
  • Update rate: 10 Hz
  • Proper timestamping

Input/Output Format

Output:

  • Continuous publishing to /tf topic.

⚠️ Common Pitfalls

  • Using time.time() python function instead of ROS self.get_clock().now() for header timestamps (causes sync issues).

📚 Helpful Resources

Frequently asked questions

What is the ROS2 Dynamic Transform Broadcaster practice problem?

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

How do I practice ROS2 Dynamic Transform Broadcaster 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 Dynamic Transform Broadcaster test?

This Medium problem focuses on tf2, dynamic, broadcaster skills used in robotics interviews and production systems.