srdf
MoveIt2 SRDF generation, validation, and planning-semantics workflow. Use when creating, editing, regenerating, inspecting, or validating `.srdf` files, `gen_srdf()` sources, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-linked planning semantics, or SRDF handoff for live review. Use the URDF skill for robot structure, the SDF skill for simulator descriptions, and the cad-viewer skill for rendering, live review links, and optional
Security Assessment
About srdf
The SRDF skill provides MoveIt2 semantic robot description generation, validation, and planning-semantics workflow management. It addresses the critical challenge of defining correct planning semantics on top of existing URDF robot models. While URDF defines physical robot structure (links, joints, geometry), SRDF defines how MoveIt should plan motions by specifying planning groups, end effectors, collision behaviors, and default poses. The skill enforces a rigorous workflow to prevent common failures where plausible but incorrect SRDF files give MoveIt wrong planning groups, tool links, or unsafe collision matrices.
The skill's main capabilities include creating and editing SRDF files with proper validation against source URDFs, defining virtual and passive joints, establishing planning groups from URDF topology using chain-based definitions for serial manipulators, configuring end effectors with correct target links, defining group states in URDF-native units (radians for revolute joints, meters for prismatic), and generating disabled collision matrices from evidence rather than inference. It maintains a planning ledger at `references/planning-ledger.md` to track planning requirements before generating XML, and integrates with the CAD Viewer skill for live review and optional MoveIt2 interactive controls.
This skill targets robotics engineers and developers working with MoveIt2 motion planning who need to create or modify semantic robot descriptions. Primary use cases include setting up arm inverse kinematics, configuring gripper controls, defining mobile base planning semantics, establishing dual-arm planning configurations, and validating planning semantics before deployment. The skill explicitly separates concerns: use the URDF skill for robot structure, the SDF skill for simulator descriptions, and the CAD Viewer skill for rendering and live review with MoveIt2 controls.
FAQ
What's the difference between URDF and SRDF, and when do I use this skill versus the URDF skill?
URDF defines physical robot structure (links, joints, geometry, inertials, limits), while SRDF defines MoveIt planning semantics (planning groups, end effectors, collision behavior, default poses). Use the URDF skill to create or fix robot structure first, then use this SRDF skill to add planning semantics on top of that valid URDF.
Why does the skill emphasize deriving planning groups from URDF topology rather than visual appearance?
Language models are weak at spatial and kinematic reasoning. The common SRDF failure isn't invalid XML but plausible semantics that give MoveIt wrong planning behavior. Deriving planning groups from URDF topology, MoveIt Setup Assistant output, or explicit user data prevents unsafe configurations that look correct but plan incorrectly.
What units should I use for joint values in group states?
Always use URDF-native units: radians for revolute and continuous joints, meters for prismatic joints. Do not store degrees in SRDF files, as this will cause incorrect planning behavior in MoveIt2.
Does this skill handle CAD visualization and MoveIt controls?
After creating or modifying SRDF files, this skill hands off the file path to the CAD Viewer skill for live review. The CAD Viewer provides rendering and optional MoveIt2 interactive controls for IK and path-planning review. If CAD Viewer is unavailable, the handoff failure is reported.
How should I define disabled collision pairs?
Generate disabled collisions from evidence: adjacency in the kinematic chain, MoveIt Setup Assistant collision sampling, or explicit user-provided collision matrices. Do not invent broad disable lists based on assumptions, as this can create unsafe planning configurations.
All Files
20 filesInstall srdf
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
earthtojake/text-to-cad