Skip to content

Software

yourdfpy

From github.com/clemense/yourdfpy (opens in a new tab)

  • Simulators
  • Library
  • MIT

A Python library for loading, manipulating, validating, saving and visualizing URDF robot description files, offering a simpler alternative to other URDF parsers.

Facts

GitHub stars
296read on 22 Nov 2026
Last update
10 May 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Beginner

Checked on GitHub on 22 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE.txt (opens in a new tab) (MIT) at commit e16b857 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Parses URDF files with parsing decoupled from validation and from loading meshes.
  • Visualizes a URDF model from the command line via a yourdfpy command.
  • Provides keyboard shortcuts to toggle axis markers, wireframe mode and back face culling during visualization.
  • Supports forward kinematics.
  • Reports loading 12 of 12 URDF files from a robot-assets collection, versus 4/12 for urdfpy and 6/12 for urdf_parser_py.
  • Installable from pip.

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 10 May 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

Facts read at commit e16b857

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 @clemense, at commit e16b857, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Image: Documentation Status (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)

yourdfpy

Yet anOther URDF parser for Python. Yup, it's another one. Deal with it.

Yourdfpy is a simpler and easier-to-use library for loading, manipulating, validating, saving, and visualizing URDF files.

Installation

You can install yourdfpy directly from pip:

pip install yourdfpy
Visualization

Once installed, you can visualize a URDF model from the command line:

yourdfpy ./my_description/urdf/robot.urdf

You can use the following keyboard shortcuts to inspect your model:

  • a: Toggle rendered XYZ/RGB axis markers (off, world frame, every frame)
  • w: Toggle wireframe mode (good for looking inside meshes, off by default)
  • c: Toggle back face culling (on by default but in wireframe mode it is sometimes useful to see the back sides)
But why another one?!?

Why are you wasting not only your but also our time? you might ask. Fair point. There are already urdfpy (opens in a new tab) and urdf_parser_py (opens in a new tab) that deal with URDFs. Unfortunately, none of these solutions allow customizable URDF parsing that is fully independent of validation and mesh loading. Dealing with filenames, outdated dependencies, open bug reports, and limited flexibility when it comes to serialization are other disadvantages. As shown in the table below, yourdfpy is the most robust one when it comes to loading URDFs in the wild.

Example URDFs

urdfpy (opens in a new tab)urdf_parser_py (opens in a new tab)yourdfpy
Decouple parsing from validation:heavy_check_mark:
Decouple parsing from loading meshes:heavy_check_mark::heavy_check_mark:
Visualize URDF:heavy_check_mark::heavy_check_mark:
Forward Kinematics:heavy_check_mark::heavy_check_mark:
Robustness test: loading 12 URDF files from here (opens in a new tab)4/126/1212/12
Avg. loading time per file (w/ mesh loading)480 ms370 ms
(w/o mesh loading)3.2 ms6.2 ms
Test on 4 URDF files on which urdfpy succeeds347.5 ms203 ms
Test on 6 URDF files on which urdf_parser_py succeeds2.6 ms3.8 ms
robot_assets = ['robot-assets/urdfs/robots/barret_hand/bhand_model.URDF', 'robot-assets/urdfs/robots/robotiq_gripper/robotiq_arg85_description.URDF', 'robot-assets/urdfs/robots/anymal/anymal.urdf', 'robot-assets/urdfs/robots/franka_panda/panda.urdf', 'robot-assets/urdfs/robots/ginger_robot/gingerurdf.urdf', 'robot-assets/urdfs/robots/halodi/eve_r3.urdf', 'robot-assets/urdfs/robots/kinova/kinova.urdf', 'robot-assets/urdfs/robots/kuka_iiwa/model.urdf', 'robot-assets/urdfs/robots/pr2/pr2.urdf', 'robot-assets/urdfs/robots/ur10/ur10_robot.urdf', 'robot-assets/urdfs/robots/ur5/ur5_gripper.urdf', 'robot-assets/urdfs/robots/yumi/yumi.urdf']

import urdfpy
import urdf_parser_py
import yourdfpy

from functools import partial

def load_urdfs(fnames, load_fn):
    results = {fname: None for fname in fnames}
    for fname in fnames:
        try:
            x = load_fn(fname)
            results[fname] = x
        except:
            print("Problems loading: ", fname)
            pass
    print(sum([1 for x, y in results.items() if y is not None]), "/", len(fnames))
    return results

# parsing success rate
load_urdfs(robot_assets, urdfpy.URDF.load)
load_urdfs(robot_assets, urdf_parser_py.urdf.URDF.load)
load_urdfs(robot_assets, yourdfpy.URDF.load)

# parsing times
%timeit load_urdfs(robot_assets, urdfpy.URDF.load)
%timeit load_urdfs(robot_assets, urdf_parser_py.urdf.URDF.load)
%timeit load_urdfs(robot_assets, yourdfpy.URDF.load)
%timeit load_urdfs(robot_assets, partial(yourdfpy.URDF.load, load_meshes=False, build_scene_graph=False))

# fairer comparison with yourdfpy
urdfpy_fnames = [x for x, y in load_urdfs(robot_assets, urdfpy.URDF.load).items() if y is not None]
%timeit load_urdfs(urdfpy_fnames, yourdfpy.URDF.load)

# fairer comparison with urdf_parser_py
urdfparser_fnames = [x for x, y in load_urdfs(robot_assets, urdf_parser_py.urdf.URDF.from_xml_file).items() if y is not None]
%timeit load_urdfs(urdfparser_fnames, functools.partial(yourdfpy.URDF.load, load_meshes=False, build_scene_graph=False))

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.