Software
tf_tree_terminal
From github.com/Tanneguydv/tf_tree_terminal (opens in a new tab)
- Middleware
- Tool
- MIT
A command-line debugger for ROS 2 that audits, visualizes and validates the coordinate transform (TF) tree of a robot, checking it against REP 105 and REP 199.
Facts
- GitHub stars
- 71read on 29 Nov 2026
- Last update
- 6 Jan 2026Newest commit on master
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Beginner
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 94e4052 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Shows which nodes publish to /tf and /joint_states for each link.
- Distinguishes static latched transforms from live high-frequency streams and reports their frequency.
- Reports the age of transforms in milliseconds to spot jitter or stale data.
- Offers mobile and arm diagnostic profiles that check expected frame chains.
- Flags when the tree is split into several disconnected components.
- Can save the report to a file, refresh live in a terminal, or print a compact tree.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 6 Jan 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/Tanneguydv/tf_tree_terminal (opens in a new tab)
- The version Robotheca read94e4052 (opens in a new tab)
- Latest release2.0.0 (6 Jan 2026)
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @Tanneguydv, at commit 94e4052, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
ROS2 CI
(opens in a new tab) (opens in a new tab) (opens in a new tab)
TF-Tree CLI Debugger
░▀█▀░█▀▀░░░░░▀█▀░█▀▄░█▀▀░█▀▀
░░█░░█▀▀░▄▄▄░░█░░█▀▄░█▀▀░█▀▀
░░▀░░▀░░░░░░░░▀░░▀░▀░▀▀▀░▀▀▀
TF-TREE CLI DEBUGGER
A lightweight ROS 2 utility for auditing, visualizing, and validating your Coordinate Transform (TF) tree. This tool tries to go beyond simple visualization by providing deep-source auditing and standard compliance checking (REP 105/199).
🚀 Key Features
-
Deep Source Auditing: Tracks exactly which nodes are publishing to
/tfand/joint_statesfor every link. -
Live vs. Static Analysis: Automatically distinguishes between truly
STATIClatched transforms andLIVEhigh-frequency streams. -
Diagnostic Profiles: Built-in validation for specific robot types:
-
Mobile: Validates the
map→odom→base_linkchain. -
Arm: Validates articulated chains from
base_linktotool0. -
Precision Latency: Reports the "age" of transforms in milliseconds to detect jitter or stale data.
-
Disjointed Tree Alerts: Visually flags if your tree is broken into multiple disconnected components.
🛠 Usage
Once built and sourced, you can use the tf-tree command:
Command Flags
| Flag | Short | Description |
|---|---|---|
--profile | -p | Diagnostic mode: mobile, arm, or auto (default). |
--save | -s | Export the analysis to a file (e.g., -s robot_report.txt). |
--alive | -a | Keep node alive; refreshes terminal every 5 seconds. |
--light | -l | Get a light TF-Tree as output |
--clear | -c | Clear terminal screen before each refresh in alive mode |
--no-color | -nc | Disable ANSI colors in output |
--help | -h | Show help message and exit. |
Examples
Standard One-Shot Audit:
tf-tree
Save a mobile robot diagnostic to a file:
tf-tree -p mobile -s my_robot.txt
Live monitoring during a mission:
tf-tree --alive
Example outputs
running tf-tree -p mobile
░▀█▀░█▀▀░░░░░▀█▀░█▀▄░█▀▀░█▀▀
░░█░░█▀▀░▄▄▄░░█░░█▀▄░█▀▀░█▀▀
░░▀░░▀░░░░░░░░▀░░▀░▀░▀▀▀░▀▀▀
TF-TREE CLI DEBUGGER
[INFO] [1767483009.498731809] [tf_tree_cli_helper]: Mode: REP 105 (Mobile)
[INFO] [1767483009.499220178] [tf_tree_cli_helper]: Single-shot mode: Buffering (3s)...
--- TF SNAPSHOT: 2026-01-03 23:30:12 ---
⚯ Link: base_link [STATIC]
├── ⚯ Link: base_footprint [STATIC] [STATIC]
│ ⚙ Joint: to_base_footprint [TF: robot_state_publisher | JointState: joint_state_publisher]
├── ⚯ Link: camera_link [STATIC] [STATIC]
│ ⚙ Joint: to_camera_link [TF: robot_state_publisher | JointState: joint_state_publisher]
│ └── ⚯ Link: camera_link_optical [STATIC] [STATIC]
│ ⚙ Joint: to_camera_link_optical [TF: robot_state_publisher | JointState: joint_state_publisher]
├── ⚯ Link: left_wheel [12.3 Hz] [LIVE: 81.5ms]
│ ⚙ Joint: to_left_wheel [TF: robot_state_publisher | JointState: joint_state_publisher]
└── ⚯ Link: right_wheel [12.3 Hz] [LIVE: 81.6ms]
⚙ Joint: to_right_wheel [TF: robot_state_publisher | JointState: joint_state_publisher]
└── ⚯ Link: test_orphan [STATIC] [STATIC]
⚙ Joint: to_test_orphan [TF: robot_state_publisher | JointState: joint_state_publisher]
✔ /joint_states topic
--- COMPLIANCE DIAGNOSTIC ---
✖ Recommendation: map
✖ Recommendation: odom
✔ Recommendation: base_link
and light mode, running tf-tree -l
--- TF SNAPSHOT: 2026-01-03 23:38:17 ---
base_link
├── base_footprint
├── camera_link
│ └── camera_link_optical
├── left_wheel
└── right_wheel
└── test_orphan
or broken, running tf-tree -l :
--- TF SNAPSHOT: 2026-01-03 23:41:04 ---
⚠ ALERT: 2 DISJOINTED TREES!
└─ Roots: right_wheel, base_link
right_wheel
└── test_orphan
base_link
├── base_footprint
└── camera_link
└── camera_link_optical
📊 Understanding the Output
⚯ Link: The TF frame name with its frequency (Hz).[LIVE: 15ms]: Data is current.[STALE: 2.1s]: The broadcaster has likely stopped or crashed.⚙ Joint: Lists the publisher nodes for both the transform and the joint state.✔ Recommendation: Compliance status based on the selected profile.
🔧 Installation
- Clone to your workspace:
cd ~/ros2_ws/src
git clone https://github.com/Tanneguydv/tf_tree_terminal.git
- Build:
cd ~/ros2_ws
colcon build --packages-select tf_tree_terminal
source install/setup.bash
💡 How it works
The debugger utilizes a MultiThreadedExecutor to simultaneously listen to the TF buffer while calculating statistics. It performs a Depth-First Search (DFS) to reconstruct the tree from the YAML data provided by the ROS 2 buffer, enriching each node with metadata gathered from the graph introspection API.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.