Paste a URDF to see its link and joint tree and catch structural mistakes before you load it in ROS 2. It checks missing links, a missing root, extra parents and missing limits, and draws the skeleton.
The drawing is a side view (x across, z up) of the joint positions at zero angles. It does not read meshes or run physics.
How it is calculated
The tool parses the XML in your browser, lists every link and joint, and walks the tree from the single root link. Each joint origin (xyz and roll-pitch-yaw) is applied to its parent frame, so child positions come out in the root frame. It then flags a joint whose parent or child link is not defined, a link with two parent joints, more or fewer than one root, and revolute or prismatic joints without limits.
A worked example
The sample has a base, two revolute joints and a fixed wrist. The joints stack 0.1 m, 0.25 m and 0.2 m upward, so the hand sits 0.55 m above the base and the drawing shows a straight vertical arm. Change the elbow origin to 0.25 0 0 to see the forearm sticking out sideways.
Common mistakes
- Leaving out the limit element on a revolute joint.
- Defining two root links by forgetting a joint.
- Mixing degrees and radians. URDF angles are in radians.
Related
URDF in ROS 2, robot arm playground, ROS 2 tf2.
Last reviewed: November 2026. This tool runs in your browser and sends nothing anywhere. Treat its output as a first check, not a guarantee.
Writing a joint that passes the checks
The checker looks for the structure of a URDF file. A revolute joint needs a parent, a child, an origin, an axis and a limit. Here is a minimal example for a shoulder joint:
<joint name="shoulder" type="revolute">
<parent link="base"/>
<child link="upper_arm"/>
<origin xyz="0 0 0.1" rpy="0 0 0"/>
<axis xyz="0 1 0"/>
<limit lower="-1.57" upper="1.57" effort="5" velocity="1.0"/>
</joint>Distances are in metres and angles in radians, so 90 degrees is about 1.5708 rad. Rotation about the y axis moves the arm in the x-z plane, which matches the side view the checker draws. Effort and velocity are required for revolute and prismatic joints in the limit element; use values from your actuator datasheet.
How to use the drawing
- Check that each joint origin adds up as you expect. Add the z offsets along a chain to get the height of the end point, as in the sample where 0.1 + 0.25 + 0.2 gives 0.55 m.
- If the drawing shows a link in the wrong direction, check the sign of the xyz offset and the rpy rotation.
- Look for links that are missing from the drawing. They are not connected to the root by any joint.
Assumptions and limits
- The tool checks structure, not physics. It does not check inertia, collision shapes or mesh files.
- A file can pass here and still fail in a ROS 2 pipeline, for example from a wrong mesh path or a missing inertial block. Test in your own setup too.
Common mistakes
- Placing the limit inside the wrong joint.
- Using degrees in the lower and upper attributes.