ros2-transforms

Broadcast, look up, and debug ROS2 TF2 coordinate frame transforms.

Updated May 3, 2026
One-click install
npx skills add https://github.com/elliewlh2094/codex-robotics-skills --skill ros2-transforms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ros2-transforms
Source: https://github.com/elliewlh2094/codex-robotics-skills/tree/main/.agents/skills/ros2-transforms
Command: npx skills add https://github.com/elliewlh2094/codex-robotics-skills --skill ros2-transforms

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need for managing coordinate frames and transform relationships in robotic systems, providing tools to broadcast, listen, and debug transform trees efficiently.

Core Features & Use Cases

  • Transform Broadcasting: Publish static and dynamic transforms for sensors, odometry, and robot parts to build a consistent TF tree.
  • Transform Lookup: Retrieve latest or timestamped transforms for localization, perception, and planning tasks.
  • Debugging & Diagnostics: Visualize and monitor the TF tree to troubleshoot frame disconnections and errors.
  • Use Case: During robot development, use this Skill to establish and verify the spatial relationships between different sensors like lidar and camera, ensuring accurate environment perception.

Quick Start

Use the ros2-transforms skill to broadcast a static camera mount transform and look up the transform from the camera frame to the robot base.

Frequently Asked Questions about ros2-transforms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I broadcast and lookup coordinate frames in ROS2 TF2?

Transform broadcasting publishes static and dynamic transforms for sensors and odometry to build a consistent TF tree, while transform lookup retrieves the latest or timestamped transforms for localization and perception tasks.

Why does my robot navigation fail when coordinate frames are disconnected?

Navigation fails when coordinate frames disconnect because the TF tree lacks consistent spatial relationships. You can troubleshoot frame disconnections and errors by visualizing and monitoring the TF tree for diagnostics.

How do I calibrate spatial relationships between lidar and camera for environment perception?

To calibrate spatial relationships between lidar and camera, broadcast static transforms for the sensor mounts and verify the transform tree to ensure accurate environment perception and spatial alignment.

Can I use ROS2 transform tools to troubleshoot perception calibration errors?

Yes, you can troubleshoot perception calibration errors by visualizing the TF tree, monitoring frame disconnections, and leveraging robust error handling capabilities to verify spatial accuracy.

Do I need tf2_ros and geometry_msgs libraries to manage robot coordinate frames?

Yes, you need tf2_ros and geometry_msgs libraries to manage robot coordinate frames, as these ROS2 dependencies provide the required functionalities for broadcasting, listening, and debugging transform trees.