TECHNOLOGY

KDL conversion can succeed while the URDF root inertia remains unsupported

In this article
THE QUICK TAKE

The reviewed parser warns about root inertia and continues building children. Check the converted inertial representation rather than accepting the success flag alone.

The loader reports success but a mass property is absent

A dynamics adapter loads a URDF, receives a successful KDL tree conversion and treats that status as confirmation of a complete inertial model. Its physical base link was the URDF root and carried a nonempty inertial element. The relevant question is now what the converter represented, not whether the XML was accepted. A kinematic tree can still be useful for poses while failing a stricter requirement to retain every declared mass property for a downstream calculation.

The root follows a different conversion path

In the reviewed KDL parser, treeFromUrdfModel creates the tree from the root name. A root inertial element produces a warning about unsupported root inertia. The function then adds children and can return success. By contrast, the child-segment path constructs a rigid-body inertia from its inertial data. The warning is therefore substantive for an inertia-preservation requirement; it is not equivalent to a parse failure that automatically prevents downstream use.

Geometry and inertial data are separate evidence

The URDF link definitions keep inertial origin, mass and tensor components separately from visual and collision geometry. A correctly displayed mesh says little about those values surviving conversion. Inspect the actual converted segments and the physical-link mapping. Include the inertial coordinate frame in that inspection: copying a mass scalar alone does not preserve the tensor and center-of-mass relation. Keep the original URDF available so the converter output can be compared with the intended model.

The parser warning suggests adding an extra dummy link. For a controlled review, place a massless parent above the physical base through a fixed relation, keeping the physical link and its inertial element intact. That makes the physical base a child handled by another conversion path. This is a modeling adjustment to inspect, not proof that every dynamics consumer now supports the robot. Check frame names, root selection and assumptions about a fixed versus floating base after the change.

Compare preserved properties before comparing motion

Propose a passive pair of models that differs only by the dummy-parent structure. Save conversion warnings and an inventory of each represented physical segment’s inertial properties. Acceptance requires explaining where the original base inertia appears and retaining the expected geometric relations. Compare a known child link as a control for ordinary conversion. No parser, simulator or dynamics solver was run here. This proposed check establishes representation coverage; it does not establish measured robot mass, stable contact dynamics or actuator response.

Report the converter boundary explicitly

PartNet asset completeness covers missing geometry after parsing. Coordinate transformation of MD17 targets shows another case where numerically meaningful fields need their representation preserved. Here the release artifact should state the root structure, converter revision, observed warnings and represented inertial properties. A successful tree build then has a precise interpretation without being promoted into an unsupported claim of complete physical fidelity.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles