3D models

URDF, Xacro & SDFormat: online viewer for .urdf .xacro .sdf files

Kinematic chains, joints and mesh references of URDF, Xacro and SDFormat, with thumbnails and a 3D viewer that moves the joints.

Formats
  • .urdf
  • .xacro
  • .sdf
Robot descriptions01 / 03

Robot descriptions01 / 03

Viewing Robot descriptions in Vormio, screenshot 1 of 3

Capabilities

What it reads and its limits

Inspect URDF, Xacro and SDFormat (.sdf) files without starting ROS or Gazebo. You can see the kinematic chain of links and joints, joint types and limits, collision and inertial counts, and the meshes, textures and models a description refers to. URDF and single-model SDF files have thumbnails and a 3D viewer with a slider for each joint. Source files are read only.

What you can see

  • Links: from the root link down the kinematic chain, depth first, each with its depth (root for the root link); joints follow the order of the links they move.
  • Joints: type and limits (radians or metres to three decimals, with SDF's default ±1e16, written out or left out, shown as ∞) and a count per type. Only joints directly under <robot> or <model> count: the <joint> elements in ros_control <transmission> blocks and Gazebo plugins only refer to real joints.
  • Physics: the number of collisions and inertials on the links.
  • Xacro: the macros it defines with their parameter counts, the files it includes and the mesh paths written out in full. A path built with ${…}, $(arg …) or another substitution is only known after expansion and is left out; $(find name) and $(dirname) are resolved. Macros are not expanded and expressions are not evaluated, so Xacro has no 3D preview. Neither has a .urdf that still holds Xacro macros, properties or arguments.
  • References: visual and collision meshes listed apart, URDF textures, SDF PBR maps and included models.
  • Viewer: the joint sliders are below the view. Revolute and prismatic joints slide between their limits, and continuous joints turn a full circle. Mimic joints follow the joint they mimic and have no slider of their own. Fit is a toggle: while it is on, the view frames the current pose from the opening direction and reframes it when the window changes size. Orbiting, panning or zooming turns it off. A file with nothing to draw (links alone, or meshes that are all missing) has no thumbnail, and the viewer lists its structure instead.
  • Structure: for a file that cannot be previewed in 3D, the viewer lists the links as a collapsible tree along the kinematic chain. Each link shows the joint it hangs from, with the joint’s type and limits. Joints outside the chain are listed apart, such as joints to an included model or to a link that does not exist. In an SDF world with several models, each model has a row with its links below it.

Finding packages and models

  • package://name/… and Xacro's $(find name)/…: each folder above the file is checked for package.xml, and so is a folder named after the package inside each of them; it counts only when its <name> is that package. The reference becomes a path relative to the file. Xacro's $(dirname) is the folder of the file itself.
  • model://name/…: Gazebo finds models by folder name, and so does the plugin. It looks for model.config in a folder of that name above the file or in a models/ folder; <name> is only a title and is not compared. When the model folder itself is opened, its folder name is in no path, so the <name> in model.config is compared instead, ignoring case, spaces and symbols (Ground Plane matches ground_plane). Opening the models/ folder above works best. A bare model://name loads the newest <sdf> listed in model.config, or model.sdf without one. A model that is not found is listed by its name alone.
  • What is not found is listed without the prefix so Vormio can still find it by file name, with a note naming the package or model. A package outside the opened folder, or in a folder named differently that is not above the file, is not found. Opening the whole ROS workspace (src/) works best.

Limits

  • Meshes are read from STL, OBJ and DAE only. OBJ MTL files and images named inside a DAE are not loaded: OBJ meshes take the URDF color and DAE meshes the color of their own materials. URDF textures are read through Vormio, never fetched from the network.
  • SDF previews a single model only. Files with <include>, several or nested models, named frames (frame, relative_to, expressed_in) or closed loops of joints list their structure and say why. Included models are not opened, so their links are not listed; joints to them (camera::link) are. SDF carries over colors, not textures. Shapes URDF has no form for (capsules, ellipsoids, heightmaps and so on) are not shown, and ground planes are left out on purpose. Joints one slider cannot drive, such as ball and universal joints, are drawn in the pose the file gives.
  • There is no physics simulation and no editing, and Gazebo plugins are not run.
  • Descriptions are limited to 16 MiB, 100,000 elements and 256 levels of nesting. For previews, a single mesh or texture is limited to 32 MiB and all of them to 64 MiB; anything beyond is not shown and counted as such. DTDs are not read.

Samples

Primary samples come from Open Robotics official repositories: urdf_tutorial/ is the ROS 2 URDF/Xacro tutorial package (BSD-3-Clause) with interactive joints (06-flexible.urdf), Xacro macros (08-macroed.urdf.xacro) and PR2 gripper DAE meshes; double-pendulum.sdf (gazebosim/sdformat, Apache-2.0) previews a single SDF model in 3D; diff-drive.sdf (gazebosim/gz-sim, Apache-2.0) shows a multi-model Gazebo Sim world. Additional CC0 fixtures (arm.urdf, demo_description/, models/demo_arm/, world.sdf, missing-first.urdf, links-only.urdf) remain for missing-package, links-only and cross-format tests. Sources and licenses are in samples/README.txt.

Where to inspect

Choose how to inspect your files

Start in your browser

The web app reads one local folder at a time. UID / GUID references are marked “Not checked”.

Working across folders?

Desktop links multiple folders, filters by properties, shows what references a file and watches for changes.

Related formats

Related formats