Adding URDFs to Foxglove Studio's 3D Panel

Visualize robot models in the context of a 3D scene
Jacob Bandes-StorchJacob Bandes-Storch ·
Esther WeonEsther Weon ·
3 min read
Published
Adding URDFs to Foxglove Studio's 3D Panel

Foxglove Studio’s 3D panel now supports displaying Unified Robotics Description Format (URDF) models in the context of your robots’ world.

Previously, you could visualize only one URDF at a time in an isolated context, using the now-deprecated URDF Viewer panel. Now, you can add as many URDF models as you want as custom layers in the 3D panel, using HTTP/HTTPS URLs (web and desktop) or file:// and package://-prefixed URLs (desktop only):

3D panel settings

For package:// URLs or URDF files that refer to mesh files via package:// URLs, you must have configured ROS_PACKAGE_PATH in your app preferences:

ROS_PACKAGE_PATH

In addition to these URLs, the 3D panel can also display URDFs from a /robot_description parameter (for ROS 1 data sources) or a /robot_description topic (for ROS 2 data sources).

Once added to the 3D panel, the URDF file will populate the transform tree with frames and transforms based on the model’s links and joints. It’s important to note that Foxglove Studio uses different defaults from RViz – if your meshes are not displaying properly, you may want to adjust the “Ignore COLLADA <up_axis>” (for DAE meshes) and “Mesh up axis” (for STL and OBJ meshes) options in the panel settings’ “Scene” section.

You can update this tree by publishing transform messages to move the URDF model’s joints positions – if you’ve used JointState messages before, you can use a robot_state_publisher node to transform them into TF messages at runtime. You can also control your model’s joints manually via the panel settings interface:

It’s important to note that with this new flow for adding multiple URDF models, we no longer support dragging and dropping URDF files into Foxglove Studio. If you have any other questions about URDF support, feel free to contact us directly or join our Slack community for support.


Read more:

The Eclipse-eCAL Project Releases a WebSocket Bridge for Foxglove Studio
article
visualization
The Eclipse-eCAL Project Releases a WebSocket Bridge for Foxglove Studio

Connect your eCAL systems to Studio to visualize autonomous driving data

Esther WeonEsther WeonEsther Weon
3 min read
Announcing ROS 2 IDL Support in Foxglove Studio
article
ROS
visualization
Announcing ROS 2 IDL Support in Foxglove Studio

Integration for the OMG Interface Definition and Language spec

Sam NosenzoSam NosenzoSam Nosenzo
Esther WeonEsther WeonEsther Weon
2 min read

Get blog posts sent directly to your inbox.

Ready to try Foxglove?

Get started for free