urdf-model-author
Use when creating or editing the robot's URDF/description — keep link frames, joint axes, and inertials honest and add a ros2_control block, so one description drives TF, MoveIt, simulation, and hardw
SKILL.mdproject-trajectory/skills/urdf-model-author/SKILL.md
GitHubWhen to use. Any change to the robot model. Why: the URDF is the single source every layer reads; frame/axis errors here are the top root cause of sim-to-real divergence.
Procedure.
- Define links/joints with correct frames, axes, limits, and realistic inertials.
- Add the
ros2_controlblock binding joints to command/state interfaces. - Validate:
check_urdf, visualize in RViz, confirm the TF tree and joint motion match reality. - Done when: URDF parses, RViz shows correct geometry/axes, and the same file loads in sim and on hardware.
Knowledge: KNOWLEDGE-LIBRARY.md §B2. Example: the ros2_control URDF snippet there.