urdf-robot-model

Create URDF robot models with joints, visuals, collisions, and inertia.

9|2|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/mjunaidca/robolearn --skill urdf-robot-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: urdf-robot-model
Source: https://github.com/mjunaidca/robolearn/tree/main/.claude/skills/authoring/urdf-robot-model
Command: npx skills add https://github.com/mjunaidca/robolearn --skill urdf-robot-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating URDF models with correct links, joints, visuals, collisions, and inertial properties is essential for realistic simulation.

Core Features & Use Cases

  • URDF Principles: Three-element link definitions (visual, collision, inertial) and proper joint axes.
  • Realistic Dynamics: Correct inertial values ensure stable gravity response.
  • Debug Guidance: Checks for common URDF mistakes and validation steps.

Quick Start

Write a simple URDF with a base_link and a single revolute joint, then visualize it in RViz or Gazebo.

Frequently Asked Questions about urdf-robot-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a URDF robot model with proper inertia and joints for simulation?

A URDF robot model requires each link to include visual geometry, collision shapes, and inertial properties, with joints properly defined by type and axis. Create links with three-element definitions, compute inertia using standard formulas, specify joint origins in radians, then validate with check_urdf and visualize in RViz or Gazebo.

What are the key components needed in a URDF link definition?

Each URDF link must contain three components: visual geometry for display, collision shape for physics calculations, and inertial data specifying mass and moment of inertia. All three elements are required for realistic simulation and proper dynamics behavior in Gazebo or other simulators.

How do I validate and debug URDF models before running simulations?

Use check_urdf to validate URDF syntax and structure, then visualize the model in RViz to confirm geometry, joint placement, and coordinate frames are correct. Common mistakes include missing inertial data, incorrect joint axes, or rotation values not in radians—all detectable through these debug steps.

Can I use xacro to make my URDF models more maintainable?

Yes, xacro modularity supports reusable URDF definitions by allowing macros, parameters, and includes. This approach reduces duplication across similar links and joints, making large robot models easier to maintain and update.

Does URDF work with both Gazebo and RViz for robot simulation?

URDF is compatible with both Gazebo for physics simulation and RViz for visualization. Both tools read the same URDF format, though Gazebo requires complete inertial properties and collision geometries for accurate dynamic simulation.