Drake and Pinocchio Golf URDF Joint Map
The on-disk models/generated/golfer.urdf shipped by Drake and Pinocchio contains 43 revolute joints and four fixed joints at UpstreamDrift 8cf45c0a. Both copies are byte-identical. This reference extends the MuJoCo and Simscape model maps with this specific URDF; it does not cover golfer_ik.urdf or the separate Drake Python-generated humanoid.
Source and Regeneration
Their SHA-256 is 1a91720cd7539fb009b2ab42b62526213152d78cf7af5bb1865913c2d6e9f824. Generate from a local UpstreamDrift clone containing the pinned commit:
python3 -m scripts.generate_urdf_golf_map --upstream /path/to/UpstreamDrift
python3 -m scripts.generate_urdf_golf_map --upstream /path/to/UpstreamDrift --checkThe generator verifies both full source digests and byte identity before extracting every joint. It does not read the cloneβs working-tree URDFs.
Joint Axes, Signs, and Ranges
XML Row is declaration order, not native q or v index order. Each revolute joint supplies one rotational coordinate (radians) and velocity (radians per second). Its positive sense is right-handed about the listed axis in the joint frame. Parent-to-joint origin xyz/rpy transforms remain in the linked URDF; the axis is not a world axis or an anatomical flexion label. Ranges below are the literal limit lower/upper values, without degree conversion. Fixed joints supply no independent coordinate; their axes and limits are absent.
| XML Row | Joint | Type | Parent β Child | Local Axis | Range (rad) |
|---|---|---|---|---|---|
| 0 | pelvis_to_lumbar1_intermediate |
revolute | pelvis β lumbar1_intermediate |
1 0 0 |
[-0.7, 0.52] |
| 1 | lumbar1_intermediate_to_lumbar1 |
revolute | lumbar1_intermediate β lumbar1 |
0 1 0 |
[-0.35, 0.35] |
| 2 | lumbar1_to_lumbar2_intermediate |
revolute | lumbar1 β lumbar2_intermediate |
1 0 0 |
[-0.7, 0.52] |
| 3 | lumbar2_intermediate_to_lumbar2 |
revolute | lumbar2_intermediate β lumbar2 |
0 1 0 |
[-0.35, 0.35] |
| 4 | lumbar2_to_lumbar3_intermediate |
revolute | lumbar2 β lumbar3_intermediate |
1 0 0 |
[-0.7, 0.52] |
| 5 | lumbar3_intermediate_to_lumbar3 |
revolute | lumbar3_intermediate β lumbar3 |
0 1 0 |
[-0.35, 0.35] |
| 6 | lumbar3_to_thorax1 |
revolute | lumbar3 β thorax1 |
0 0 1 |
[-1, 1] |
| 7 | thorax1_to_thorax2 |
revolute | thorax1 β thorax2 |
0 0 1 |
[-1, 1] |
| 8 | thorax2_to_thorax3 |
revolute | thorax2 β thorax3 |
0 0 1 |
[-1, 1] |
| 9 | thorax3_to_head |
fixed | thorax3 β head |
β | β |
| 10 | thorax3_to_scapula_right_intermediate |
revolute | thorax3 β scapula_right_intermediate |
0 0 1 |
[-0.35, 0.7] |
| 11 | scapula_right_intermediate_to_scapula_right |
revolute | scapula_right_intermediate β scapula_right |
0 1 0 |
[-0.52, 0.52] |
| 12 | thorax3_to_scapula_left_intermediate |
revolute | thorax3 β scapula_left_intermediate |
0 0 1 |
[-0.35, 0.7] |
| 13 | scapula_left_intermediate_to_scapula_left |
revolute | scapula_left_intermediate β scapula_left |
0 1 0 |
[-0.52, 0.52] |
| 14 | scapula_right_to_upper_arm_right_gimbal_z |
revolute | scapula_right β upper_arm_right_gimbal_z |
0 1 0 |
[-1.57, 3.1416] |
| 15 | upper_arm_right_gimbal_z_to_upper_arm_right_gimbal_y |
revolute | upper_arm_right_gimbal_z β upper_arm_right_gimbal_y |
1 0 0 |
[-0.52, 2.09] |
| 16 | upper_arm_right_gimbal_y_to_upper_arm_right |
revolute | upper_arm_right_gimbal_y β upper_arm_right |
0 0 1 |
[-1.57, 1.57] |
| 17 | scapula_left_to_upper_arm_left_gimbal_z |
revolute | scapula_left β upper_arm_left_gimbal_z |
0 1 0 |
[-1.57, 3.1416] |
| 18 | upper_arm_left_gimbal_z_to_upper_arm_left_gimbal_y |
revolute | upper_arm_left_gimbal_z β upper_arm_left_gimbal_y |
1 0 0 |
[-0.52, 2.09] |
| 19 | upper_arm_left_gimbal_y_to_upper_arm_left |
revolute | upper_arm_left_gimbal_y β upper_arm_left |
0 0 1 |
[-1.57, 1.57] |
| 20 | upper_arm_right_to_forearm_right_intermediate |
revolute | upper_arm_right β forearm_right_intermediate |
0 1 0 |
[0, 2.62] |
| 21 | forearm_right_intermediate_to_forearm_right |
revolute | forearm_right_intermediate β forearm_right |
1 0 0 |
[-1.57, 1.57] |
| 22 | upper_arm_left_to_forearm_left_intermediate |
revolute | upper_arm_left β forearm_left_intermediate |
0 1 0 |
[0, 2.62] |
| 23 | forearm_left_intermediate_to_forearm_left |
revolute | forearm_left_intermediate β forearm_left |
1 0 0 |
[-1.57, 1.57] |
| 24 | forearm_right_to_hand_right_intermediate |
revolute | forearm_right β hand_right_intermediate |
0 1 0 |
[-1.22, 1.22] |
| 25 | hand_right_intermediate_to_hand_right |
revolute | hand_right_intermediate β hand_right |
0 0 1 |
[-0.52, 0.7] |
| 26 | forearm_left_to_hand_left_intermediate |
revolute | forearm_left β hand_left_intermediate |
0 1 0 |
[-1.22, 1.22] |
| 27 | hand_left_intermediate_to_hand_left |
revolute | hand_left_intermediate β hand_left |
0 0 1 |
[-0.52, 0.7] |
| 28 | hand_right_to_fingers_right |
revolute | hand_right β fingers_right |
0 1 0 |
[0, 1.57] |
| 29 | hand_left_to_fingers_left |
revolute | hand_left β fingers_left |
0 1 0 |
[0, 1.57] |
| 30 | pelvis_to_right_thigh_gimbal_z |
revolute | pelvis β right_thigh_gimbal_z |
0 1 0 |
[-1.57, 1.57] |
| 31 | right_thigh_gimbal_z_to_right_thigh_gimbal_y |
revolute | right_thigh_gimbal_z β right_thigh_gimbal_y |
1 0 0 |
[-0.87, 0.52] |
| 32 | right_thigh_gimbal_y_to_right_thigh |
revolute | right_thigh_gimbal_y β right_thigh |
0 0 1 |
[-0.7, 0.7] |
| 33 | right_thigh_to_right_shank |
revolute | right_thigh β right_shank |
0 1 0 |
[0, 2.62] |
| 34 | right_shank_to_right_foot_intermediate |
revolute | right_shank β right_foot_intermediate |
1 0 0 |
[-0.7, 0.52] |
| 35 | right_foot_intermediate_to_right_foot |
revolute | right_foot_intermediate β right_foot |
0 1 0 |
[-0.35, 0.35] |
| 36 | right_foot_to_right_toes |
revolute | right_foot β right_toes |
0 1 0 |
[-0.35, 0.52] |
| 37 | pelvis_to_left_thigh_gimbal_z |
revolute | pelvis β left_thigh_gimbal_z |
0 1 0 |
[-1.57, 1.57] |
| 38 | left_thigh_gimbal_z_to_left_thigh_gimbal_y |
revolute | left_thigh_gimbal_z β left_thigh_gimbal_y |
1 0 0 |
[-0.87, 0.52] |
| 39 | left_thigh_gimbal_y_to_left_thigh |
revolute | left_thigh_gimbal_y β left_thigh |
0 0 1 |
[-0.7, 0.7] |
| 40 | left_thigh_to_left_shank |
revolute | left_thigh β left_shank |
0 1 0 |
[0, 2.62] |
| 41 | left_shank_to_left_foot_intermediate |
revolute | left_shank β left_foot_intermediate |
1 0 0 |
[-0.7, 0.52] |
| 42 | left_foot_intermediate_to_left_foot |
revolute | left_foot_intermediate β left_foot |
0 1 0 |
[-0.35, 0.35] |
| 43 | left_foot_to_left_toes |
revolute | left_foot β left_toes |
0 1 0 |
[-0.35, 0.52] |
| 44 | thorax3_to_mid_hands |
fixed | thorax3 β mid_hands |
β | β |
| 45 | mid_hands_to_club_shaft |
fixed | mid_hands β club_shaft |
β | β |
| 46 | club_shaft_to_club_head |
fixed | club_shaft β club_head |
β | β |
Native Coordinate Indices and the Root
The Pinocchio loader calls pin.buildModelFromUrdf(path) without a JointModelFreeFlyer argument; the motion-matching loader does the same. The URDF declares pelvis as its root and has no floating joint. The file headerβs assertion that a free-flyer is attached at load time therefore does not describe these loader calls. For their fixed-root model, the 43 scalar revolute joints account for nq = nv = 43.
Query the constructed model for index order rather than indexing by XML Row:
import pinocchio as pin
model = pin.buildModelFromUrdf(urdf_path)
index_map = [
(model.names[jid], joint.idx_q, joint.nq, joint.idx_v, joint.nv)
for jid, joint in enumerate(model.joints)
if joint.nv
]The Drake loader passes an explicit file path to Parser.AddModels. Inspect the finalized plantβs joint position_start() and velocity_start() and its root mobilization before building control vectors. This table does not certify Drakeβs native index order or root configuration size. Omitting the path selects a different Python-generated tree with left_hand / right_hand names, outside this tableβs scope.
Club Attachment and Grip Closure
The fixed path is thorax3 β mid_hands β club_shaft β club_head. In this on-disk file neither hand is the clubβs parent, and no second-hand closure constraint is declared. The hips are revolute chains under pelvis. Do not transfer the MuJoCo weld/connect equality description to this URDF. A consumer adding a hand constraint or bushing changes the model beyond this fileβs tree. The separate Drake generatorβs right-hand weld and optional left-hand bushing likewise do not establish bilateral closure for this file.
Citation
@online{untitled,
author = {},
title = {Drake and {Pinocchio} {Golf} {URDF} {Joint} {Map}},
url = {https://affinedrift.com/models/golf-urdf-joint-map.html},
langid = {en}
}