Skip to content

The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.

36.4 KB
Raw Blame
{
 "family": "layup",
 "seed": 0,
 "params": {
  "ring_height_m": 3.05,
  "ring_inner_diameter_m": 0.45,
  "ring_metal_m": 0.018,
  "ring_centre_to_board_m": 0.375,
  "board_width_m": 1.8,
  "board_height_m": 1.05,
  "board_bottom_m": 2.9,
  "start_to_ring_m": 3.0,
  "layup_radius_m": 1.25,
  "max_steps": 2,
  "step_gap_s": 0.03,
  "foot_slide_m": 0.2,
  "air_min_s": 0.05,
  "takeoff_speed_m_s": 0.5,
  "retouch_grace_s": 0.05,
  "touch_gap_s": 0.03
 },
 "title": "Basketball: layup",
 "category": "basketball-and-rackets",
 "time_limit_s": 15.0,
 "stages": [
  "approach",
  "release in the air",
  "through the ring"
 ],
 "rulebook": "FIBA Official Basketball Rules 2024: Art. 2 (court, no-charge semi-circle), Art. 3 and the Basketball Equipment appendix (backboard, ring, size-7 ball), Art. 13 (how the ball is played), Art. 14 (control: a player holds a live ball), Art. 16 (goal), Art. 25 (travelling)",
 "deviations": [
  "the player's hands: the H1-2's own Inspire five-finger hands (six drives each: four fingers, the thumb's flexion and rotation; fingertip forces 20 N, the thumb 30 N), each closed by one command; the ball is held in the two hands by contact and friction alone (nothing is welded) and can slip or drop; it is let go when no hand has been on it for 0.03 s.",
  "Art. 3 (equipment, the hand): the palm is modelled as the soft part of a hand: it absorbs the ball (a ball thrown at a still palm keeps 0.12 of its speed) instead of bouncing it like the floor (0.85); with the ball's own rebound a ball on a palm rattles off it. The fingers' rubber pads absorb it too (critically damped); the floor, the ring and the backboard keep the ball's rule-book rebound.",
  "Art. 13: while the ball is in your hands it may touch no part of you but the hands (no ball held against the chest or between the forearms); intent cannot be judged.",
  "Basketball Equipment (basket): the ring is rigid (no pressure release) and the net is only drawn: it does not slow the ball. A goal is judged at the ring: the ball's centre down through the ring's plane and on to one ball diameter below it.",
  "Art. 25.2.1: you start standing with the ball in the hands and are judged as a player who has just ended a dribble while moving: two steps are allowed (a standing player would have a pivot foot instead), since no dribble precedes the layup here. After the two steps no foot may touch the floor again while the ball is held: pivoting after a stop is not offered.",
  "The layup itself is not defined by the rule book: here it is a shot let go in the air (after a real take-off) with the ball inside the no-charge semi-circle's radius of the ring (1.25 m, Art. 2.4.7); a shot from further out or from the floor is not a layup.",
  "One attempt, no opponent, no rebound, no dribble: the ball leaving the hands is the shot, and touching it after that ends the attempt."
 ],
 "texts": {
  "sentence": "Make a layup: with the basketball held in your two hands take at most two steps towards the basket, jump, and let go of the ball in the air close to the ring so that it enters the basket from above.",
  "rules": "The official basket: a rigid ring of 0.45 m inner diameter (0.018 m metal), its top edge 3.05 m above the floor, its centre 0.375 m in front of a backboard 1.8 m wide and 1.05 m high whose lower edge is 2.9 m above the floor. The ball is a size-7 basketball (0.239 m across, 0.62 kg, it keeps 0.85 of its speed in a bounce on the floor); it flies in air (drag and spin lift). Your hands are five-finger hands, each closed by its grip value (0 open, 1 closed); they hold the ball only by contact and friction: it starts resting on your upturned right hand, the fingers curled a little round it, your left hand on its side, and it can slip or drop. A hand is the palm, the fingers, the thumb and the wrist; a hand is on the ball while it touches the ball, gaps shorter than 0.03 s included; the ball is in your hands while at least one hand is on it, and you let go of it at the last touch of a hand after which no hand has been on it for 0.03 s. While the ball is in your hands it may touch no part of you but your hands, and it may not touch the floor. Travelling: while the ball is in your hands you may take at most 2 steps. A step is a foot touching the floor after it has been off it for at least 0.03 s; both feet landing within 0.03 s of each other are one step; the same foot may not touch down twice in a row, and a foot on the floor may not slide more than 0.2 m from where it stood or was put down (a shuffle is travelling). After that no foot may touch the floor again until you have let go of the ball. The release: at the moment you let go you must be in the air: nothing of you has touched anything but the ball for at least 0.05 s, after a take-off at which your pelvis was moving upwards at 0.5 m/s or more; and the ball's centre must be within 1.25 m (horizontally) of the ring's centre, the radius of the no-charge semi-circle painted under the basket. You succeed when, after that release, the ball's centre goes down through the ring's plane inside the ring and on down to one ball diameter below it (off the backboard or not). You fail if you travel; if the ball touches the floor or a part of you other than a hand while it is in your hands; if you let go of the ball (on purpose or because it slipped) with something of you on the floor, without a take-off, or further from the ring; if any part of you touches the ball more than 0.05 s after you let go of it (no catching it again); if the ball touches the floor before it is through the ring; if the ball's centre comes up through the ring from below; if you fall before the ball is through (a fall: your pelvis lower than 0.35 m above the floor, or any part of you other than your feet on the floor); or after 15 s.",
  "venue": "A FIBA court. You stand in the restricted area facing the basket (+x); the point under the ring's centre is 3.0 m ahead of your pelvis, the backboard's face 0.375 m beyond it. Painted on the floor: the restricted area, the free-throw line and circle behind you, and the no-charge semi-circle (1.25 m round the point under the ring, open towards the end line). The ball rests on your upturned right hand in front of your chest, its centre about 1.1 m above the floor, 0.39 m ahead of your pelvis and 0.06 m to its right; the right hand's fingers point forwards under it, curled a little round it (grip value 0.3), the left hand's palm is on its left side, open (grip value 0); the start command keeps that hold. A grip value is that hand's closure command: 0 opens the fingers, 1 closes every finger and the thumb until they meet something.",
  "difficulty": "Two steps and a jump have to carry a 67 kg body almost two metres while the hands keep the ball through every footfall, and the release comes in the air, about a metre below a ring that is 0.21 m wider than the ball: the hands have to let it go with the speed of the arms' own push, since a hand does not bounce it. The robot has a walking gait and nothing that jumps or lands; the built-in walking gait steps on the spot even at a zero command, so while the ball is in your hands its steps are counted like any others."
 },
 "robot": "unitree_h1",
 "sim": {
  "robot": "unitree_h1@h1-4",
  "mujoco": "3.3.7"
 },
 "t0": {
  "state_sha": "51284496db1908f4575553fa626d838cd960fd68412c2d4b9e3858db6ef6adf1",
  "control_dt": 0.01,
  "horizon_steps": 1500,
  "raw_dim": 141,
  "action_types": {
   "stand": {
    "dim": 17,
    "layout": [
     "torso",
     "left_shoulder_pitch",
     "left_shoulder_roll",
     "left_shoulder_yaw",
     "left_elbow_pitch",
     "left_elbow_roll",
     "left_wrist_pitch",
     "left_wrist_yaw",
     "right_shoulder_pitch",
     "right_shoulder_roll",
     "right_shoulder_yaw",
     "right_elbow_pitch",
     "right_elbow_roll",
     "right_wrist_pitch",
     "right_wrist_yaw",
     "grip_left",
     "grip_right"
    ],
    "lower": [
     -2.35,
     -3.14,
     -0.38,
     -2.66,
     -0.95,
     -3.01,
     -0.47,
     -1.27,
     -3.14,
     -3.4,
     -3.01,
     -0.95,
     -2.75,
     -0.47,
     -1.27,
     0.0,
     0.0
    ],
    "upper": [
     2.35,
     1.57,
     3.4,
     3.01,
     3.18,
     2.75,
     0.47,
     1.27,
     1.57,
     0.38,
     2.66,
     3.18,
     3.01,
     0.47,
     1.27,
     1.0,
     1.0
    ],
    "meaning": "the platform holds the legs in the stance; you give the waist's 1 and the arms' 14 joint targets (rad) (grip_left: the left hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch); grip_right: the right hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch))"
   },
   "walk": {
    "dim": 20,
    "layout": [
     "vx",
     "vy",
     "wz",
     "torso",
     "left_shoulder_pitch",
     "left_shoulder_roll",
     "left_shoulder_yaw",
     "left_elbow_pitch",
     "left_elbow_roll",
     "left_wrist_pitch",
     "left_wrist_yaw",
     "right_shoulder_pitch",
     "right_shoulder_roll",
     "right_shoulder_yaw",
     "right_elbow_pitch",
     "right_elbow_roll",
     "right_wrist_pitch",
     "right_wrist_yaw",
     "grip_left",
     "grip_right"
    ],
    "lower": [
     -0.8,
     -0.5,
     -1.57,
     -2.35,
     -3.14,
     -0.38,
     -2.66,
     -0.95,
     -3.01,
     -0.47,
     -1.27,
     -3.14,
     -3.4,
     -3.01,
     -0.95,
     -2.75,
     -0.47,
     -1.27,
     0.0,
     0.0
    ],
    "upper": [
     0.8,
     0.5,
     1.57,
     2.35,
     1.57,
     3.4,
     3.01,
     3.18,
     2.75,
     0.47,
     1.27,
     1.57,
     0.38,
     2.66,
     3.18,
     3.01,
     0.47,
     1.27,
     1.0,
     1.0
    ],
    "meaning": "Unitree's walking policy drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets (grip_left: the left hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch); grip_right: the right hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch))"
   },
   "joints": {
    "dim": 29,
    "layout": [
     "left_hip_yaw",
     "left_hip_pitch",
     "left_hip_roll",
     "left_knee",
     "left_ankle_pitch",
     "left_ankle_roll",
     "right_hip_yaw",
     "right_hip_pitch",
     "right_hip_roll",
     "right_knee",
     "right_ankle_pitch",
     "right_ankle_roll",
     "torso",
     "left_shoulder_pitch",
     "left_shoulder_roll",
     "left_shoulder_yaw",
     "left_elbow_pitch",
     "left_elbow_roll",
     "left_wrist_pitch",
     "left_wrist_yaw",
     "right_shoulder_pitch",
     "right_shoulder_roll",
     "right_shoulder_yaw",
     "right_elbow_pitch",
     "right_elbow_roll",
     "right_wrist_pitch",
     "right_wrist_yaw",
     "grip_left",
     "grip_right"
    ],
    "lower": [
     -0.43,
     -3.14,
     -0.43,
     -0.26,
     -0.8973,
     -0.2618,
     -0.43,
     -3.14,
     -3.14,
     -0.26,
     -0.8973,
     -0.2618,
     -2.35,
     -3.14,
     -0.38,
     -2.66,
     -0.95,
     -3.01,
     -0.47,
     -1.27,
     -3.14,
     -3.4,
     -3.01,
     -0.95,
     -2.75,
     -0.47,
     -1.27,
     0.0,
     0.0
    ],
    "upper": [
     0.43,
     2.5,
     3.14,
     2.05,
     0.5236,
     0.2618,
     0.43,
     2.5,
     0.43,
     2.05,
     0.5236,
     0.2618,
     2.35,
     1.57,
     3.4,
     3.01,
     3.18,
     2.75,
     0.47,
     1.27,
     1.57,
     0.38,
     2.66,
     3.18,
     3.01,
     0.47,
     1.27,
     1.0,
     1.0
    ],
    "meaning": "you give all 27 joint targets (rad); the default PD gains, no feed-forward (grip_left: the left hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch); grip_right: the right hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch))"
   },
   "lowcmd": {
    "dim": 137,
    "layout": [
     "left_hip_yaw_q",
     "left_hip_pitch_q",
     "left_hip_roll_q",
     "left_knee_q",
     "left_ankle_pitch_q",
     "left_ankle_roll_q",
     "right_hip_yaw_q",
     "right_hip_pitch_q",
     "right_hip_roll_q",
     "right_knee_q",
     "right_ankle_pitch_q",
     "right_ankle_roll_q",
     "torso_q",
     "left_shoulder_pitch_q",
     "left_shoulder_roll_q",
     "left_shoulder_yaw_q",
     "left_elbow_pitch_q",
     "left_elbow_roll_q",
     "left_wrist_pitch_q",
     "left_wrist_yaw_q",
     "right_shoulder_pitch_q",
     "right_shoulder_roll_q",
     "right_shoulder_yaw_q",
     "right_elbow_pitch_q",
     "right_elbow_roll_q",
     "right_wrist_pitch_q",
     "right_wrist_yaw_q",
     "left_hip_yaw_dq",
     "left_hip_pitch_dq",
     "left_hip_roll_dq",
     "left_knee_dq",
     "left_ankle_pitch_dq",
     "left_ankle_roll_dq",
     "right_hip_yaw_dq",
     "right_hip_pitch_dq",
     "right_hip_roll_dq",
     "right_knee_dq",
     "right_ankle_pitch_dq",
     "right_ankle_roll_dq",
     "torso_dq",
     "left_shoulder_pitch_dq",
     "left_shoulder_roll_dq",
     "left_shoulder_yaw_dq",
     "left_elbow_pitch_dq",
     "left_elbow_roll_dq",
     "left_wrist_pitch_dq",
     "left_wrist_yaw_dq",
     "right_shoulder_pitch_dq",
     "right_shoulder_roll_dq",
     "right_shoulder_yaw_dq",
     "right_elbow_pitch_dq",
     "right_elbow_roll_dq",
     "right_wrist_pitch_dq",
     "right_wrist_yaw_dq",
     "left_hip_yaw_tau",
     "left_hip_pitch_tau",
     "left_hip_roll_tau",
     "left_knee_tau",
     "left_ankle_pitch_tau",
     "left_ankle_roll_tau",
     "right_hip_yaw_tau",
     "right_hip_pitch_tau",
     "right_hip_roll_tau",
     "right_knee_tau",
     "right_ankle_pitch_tau",
     "right_ankle_roll_tau",
     "torso_tau",
     "left_shoulder_pitch_tau",
     "left_shoulder_roll_tau",
     "left_shoulder_yaw_tau",
     "left_elbow_pitch_tau",
     "left_elbow_roll_tau",
     "left_wrist_pitch_tau",
     "left_wrist_yaw_tau",
     "right_shoulder_pitch_tau",
     "right_shoulder_roll_tau",
     "right_shoulder_yaw_tau",
     "right_elbow_pitch_tau",
     "right_elbow_roll_tau",
     "right_wrist_pitch_tau",
     "right_wrist_yaw_tau",
     "left_hip_yaw_kp",
     "left_hip_pitch_kp",
     "left_hip_roll_kp",
     "left_knee_kp",
     "left_ankle_pitch_kp",
     "left_ankle_roll_kp",
     "right_hip_yaw_kp",
     "right_hip_pitch_kp",
     "right_hip_roll_kp",
     "right_knee_kp",
     "right_ankle_pitch_kp",
     "right_ankle_roll_kp",
     "torso_kp",
     "left_shoulder_pitch_kp",
     "left_shoulder_roll_kp",
     "left_shoulder_yaw_kp",
     "left_elbow_pitch_kp",
     "left_elbow_roll_kp",
     "left_wrist_pitch_kp",
     "left_wrist_yaw_kp",
     "right_shoulder_pitch_kp",
     "right_shoulder_roll_kp",
     "right_shoulder_yaw_kp",
     "right_elbow_pitch_kp",
     "right_elbow_roll_kp",
     "right_wrist_pitch_kp",
     "right_wrist_yaw_kp",
     "left_hip_yaw_kd",
     "left_hip_pitch_kd",
     "left_hip_roll_kd",
     "left_knee_kd",
     "left_ankle_pitch_kd",
     "left_ankle_roll_kd",
     "right_hip_yaw_kd",
     "right_hip_pitch_kd",
     "right_hip_roll_kd",
     "right_knee_kd",
     "right_ankle_pitch_kd",
     "right_ankle_roll_kd",
     "torso_kd",
     "left_shoulder_pitch_kd",
     "left_shoulder_roll_kd",
     "left_shoulder_yaw_kd",
     "left_elbow_pitch_kd",
     "left_elbow_roll_kd",
     "left_wrist_pitch_kd",
     "left_wrist_yaw_kd",
     "right_shoulder_pitch_kd",
     "right_shoulder_roll_kd",
     "right_shoulder_yaw_kd",
     "right_elbow_pitch_kd",
     "right_elbow_roll_kd",
     "right_wrist_pitch_kd",
     "right_wrist_yaw_kd",
     "grip_left",
     "grip_right"
    ],
    "lower": [
     -0.43,
     -3.14,
     -0.43,
     -0.26,
     -0.8973,
     -0.2618,
     -0.43,
     -3.14,
     -3.14,
     -0.26,
     -0.8973,
     -0.2618,
     -2.35,
     -3.14,
     -0.38,
     -2.66,
     -0.95,
     -3.01,
     -0.47,
     -1.27,
     -3.14,
     -3.4,
     -3.01,
     -0.95,
     -2.75,
     -0.47,
     -1.27,
     -23.0,
     -23.0,
     -23.0,
     -14.0,
     -9.0,
     -9.0,
     -23.0,
     -23.0,
     -23.0,
     -14.0,
     -9.0,
     -9.0,
     -23.0,
     -9.0,
     -9.0,
     -20.0,
     -20.0,
     -31.4,
     -31.4,
     -31.4,
     -9.0,
     -9.0,
     -20.0,
     -20.0,
     -31.4,
     -31.4,
     -31.4,
     -360.0,
     -360.0,
     -360.0,
     -360.0,
     -66.88,
     -40.0,
     -360.0,
     -360.0,
     -360.0,
     -360.0,
     -66.88,
     -40.0,
     -200.0,
     -130.0,
     -60.0,
     -60.0,
     -60.0,
     -60.0,
     -19.0,
     -19.0,
     -130.0,
     -60.0,
     -60.0,
     -60.0,
     -60.0,
     -19.0,
     -19.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0,
     0.0
    ],
    "upper": [
     0.43,
     2.5,
     3.14,
     2.05,
     0.5236,
     0.2618,
     0.43,
     2.5,
     0.43,
     2.05,
     0.5236,
     0.2618,
     2.35,
     1.57,
     3.4,
     3.01,
     3.18,
     2.75,
     0.47,
     1.27,
     1.57,
     0.38,
     2.66,
     3.18,
     3.01,
     0.47,
     1.27,
     23.0,
     23.0,
     23.0,
     14.0,
     9.0,
     9.0,
     23.0,
     23.0,
     23.0,
     14.0,
     9.0,
     9.0,
     23.0,
     9.0,
     9.0,
     20.0,
     20.0,
     31.4,
     31.4,
     31.4,
     9.0,
     9.0,
     20.0,
     20.0,
     31.4,
     31.4,
     31.4,
     360.0,
     360.0,
     360.0,
     360.0,
     66.88,
     40.0,
     360.0,
     360.0,
     360.0,
     360.0,
     66.88,
     40.0,
     200.0,
     130.0,
     60.0,
     60.0,
     60.0,
     60.0,
     19.0,
     19.0,
     130.0,
     60.0,
     60.0,
     60.0,
     60.0,
     19.0,
     19.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     1500.0,
     800.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     400.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     30.0,
     20.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     10.0,
     1.0,
     1.0
    ],
    "meaning": "Unitree's LowCmd for all 27 joints: position targets (rad), velocity targets (rad/s), feed-forward torques (N m), kp, kd; the motor torque is kp (q - q_measured) + kd (dq - dq_measured) + tau, evaluated at 1 kHz (grip_left: the left hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch); grip_right: the right hand's closure command, 0 (open, the fingers straight) to 1 (every drive closing towards its closed position; fingers stop on what they touch))"
   }
  },
  "hold": {
   "type": "stand",
   "row": [
    0.0,
    -0.2102,
    0.0481,
    -0.724,
    0.4173,
    0.0342,
    -0.47,
    0.7949,
    -0.4674,
    0.2556,
    -0.335,
    1.5041,
    1.3391,
    -0.2658,
    1.0833,
    0.0,
    0.3
   ]
  },
  "proprio_layout": [
   "left_hip_yaw_pos",
   "left_hip_pitch_pos",
   "left_hip_roll_pos",
   "left_knee_pos",
   "left_ankle_pitch_pos",
   "left_ankle_roll_pos",
   "right_hip_yaw_pos",
   "right_hip_pitch_pos",
   "right_hip_roll_pos",
   "right_knee_pos",
   "right_ankle_pitch_pos",
   "right_ankle_roll_pos",
   "torso_pos",
   "left_shoulder_pitch_pos",
   "left_shoulder_roll_pos",
   "left_shoulder_yaw_pos",
   "left_elbow_pitch_pos",
   "left_elbow_roll_pos",
   "left_wrist_pitch_pos",
   "left_wrist_yaw_pos",
   "right_shoulder_pitch_pos",
   "right_shoulder_roll_pos",
   "right_shoulder_yaw_pos",
   "right_elbow_pitch_pos",
   "right_elbow_roll_pos",
   "right_wrist_pitch_pos",
   "right_wrist_yaw_pos",
   "left_hip_yaw_vel",
   "left_hip_pitch_vel",
   "left_hip_roll_vel",
   "left_knee_vel",
   "left_ankle_pitch_vel",
   "left_ankle_roll_vel",
   "right_hip_yaw_vel",
   "right_hip_pitch_vel",
   "right_hip_roll_vel",
   "right_knee_vel",
   "right_ankle_pitch_vel",
   "right_ankle_roll_vel",
   "torso_vel",
   "left_shoulder_pitch_vel",
   "left_shoulder_roll_vel",
   "left_shoulder_yaw_vel",
   "left_elbow_pitch_vel",
   "left_elbow_roll_vel",
   "left_wrist_pitch_vel",
   "left_wrist_yaw_vel",
   "right_shoulder_pitch_vel",
   "right_shoulder_roll_vel",
   "right_shoulder_yaw_vel",
   "right_elbow_pitch_vel",
   "right_elbow_roll_vel",
   "right_wrist_pitch_vel",
   "right_wrist_yaw_vel",
   "left_hip_yaw_torque",
   "left_hip_pitch_torque",
   "left_hip_roll_torque",
   "left_knee_torque",
   "left_ankle_pitch_torque",
   "left_ankle_roll_torque",
   "right_hip_yaw_torque",
   "right_hip_pitch_torque",
   "right_hip_roll_torque",
   "right_knee_torque",
   "right_ankle_pitch_torque",
   "right_ankle_roll_torque",
   "torso_torque",
   "left_shoulder_pitch_torque",
   "left_shoulder_roll_torque",
   "left_shoulder_yaw_torque",
   "left_elbow_pitch_torque",
   "left_elbow_roll_torque",
   "left_wrist_pitch_torque",
   "left_wrist_yaw_torque",
   "right_shoulder_pitch_torque",
   "right_shoulder_roll_torque",
   "right_shoulder_yaw_torque",
   "right_elbow_pitch_torque",
   "right_elbow_roll_torque",
   "right_wrist_pitch_torque",
   "right_wrist_yaw_torque",
   "left_hip_yaw_target",
   "left_hip_pitch_target",
   "left_hip_roll_target",
   "left_knee_target",
   "left_ankle_pitch_target",
   "left_ankle_roll_target",
   "right_hip_yaw_target",
   "right_hip_pitch_target",
   "right_hip_roll_target",
   "right_knee_target",
   "right_ankle_pitch_target",
   "right_ankle_roll_target",
   "torso_target",
   "left_shoulder_pitch_target",
   "left_shoulder_roll_target",
   "left_shoulder_yaw_target",
   "left_elbow_pitch_target",
   "left_elbow_roll_target",
   "left_wrist_pitch_target",
   "left_wrist_yaw_target",
   "right_shoulder_pitch_target",
   "right_shoulder_roll_target",
   "right_shoulder_yaw_target",
   "right_elbow_pitch_target",
   "right_elbow_roll_target",
   "right_wrist_pitch_target",
   "right_wrist_yaw_target",
   "imu_pelvis_qw",
   "imu_pelvis_qx",
   "imu_pelvis_qy",
   "imu_pelvis_qz",
   "imu_pelvis_gx",
   "imu_pelvis_gy",
   "imu_pelvis_gz",
   "imu_pelvis_ax",
   "imu_pelvis_ay",
   "imu_pelvis_az",
   "imu_torso_qw",
   "imu_torso_qx",
   "imu_torso_qy",
   "imu_torso_qz",
   "imu_torso_gx",
   "imu_torso_gy",
   "imu_torso_gz",
   "imu_torso_ax",
   "imu_torso_ay",
   "imu_torso_az",
   "holding_left",
   "holding_right",
   "mode",
   "cmd_vx",
   "cmd_vy",
   "cmd_wz",
   "time_s",
   "hand_closure_left",
   "hand_closure_speed_left",
   "hand_force_left",
   "left_hand_thumb_yaw_pos",
   "left_hand_thumb_pitch_pos",
   "left_hand_index_pos",
   "left_hand_middle_pos",
   "left_hand_ring_pos",
   "left_hand_pinky_pos",
   "left_hand_thumb_yaw_torque",
   "left_hand_thumb_pitch_torque",
   "left_hand_index_torque",
   "left_hand_middle_torque",
   "left_hand_ring_torque",
   "left_hand_pinky_torque",
   "hand_closure_right",
   "hand_closure_speed_right",
   "hand_force_right",
   "right_hand_thumb_yaw_pos",
   "right_hand_thumb_pitch_pos",
   "right_hand_index_pos",
   "right_hand_middle_pos",
   "right_hand_ring_pos",
   "right_hand_pinky_pos",
   "right_hand_thumb_yaw_torque",
   "right_hand_thumb_pitch_torque",
   "right_hand_index_torque",
   "right_hand_middle_torque",
   "right_hand_ring_torque",
   "right_hand_pinky_torque"
  ],
  "cameras": {
   "head_left": {
    "mounted": "head",
    "fovy_deg": 58.0,
    "position_m": [
     0.13,
     0.025,
     1.695
    ],
    "forward": [
     0.9394,
     0.0,
     -0.3429
    ],
    "up": [
     0.3429,
     0.0,
     0.9394
    ],
    "right": [
     0.0,
     -1.0,
     0.0
    ]
   },
   "head_right": {
    "mounted": "head",
    "fovy_deg": 58.0,
    "position_m": [
     0.13,
     -0.025,
     1.695
    ],
    "forward": [
     0.9394,
     0.0,
     -0.3429
    ],
    "up": [
     0.3429,
     0.0,
     0.9394
    ],
    "right": [
     0.0,
     -1.0,
     0.0
    ]
   },
   "venue": {
    "mounted": "venue (fixed)",
    "fovy_deg": 55.0,
    "position_m": [
     -0.4,
     -4.6,
     2.6
    ],
    "forward": [
     0.4851,
     0.8582,
     -0.1679
    ],
    "up": [
     0.0826,
     0.1462,
     0.9858
    ],
    "right": [
     0.8706,
     -0.4921,
     -0.0
    ]
   }
  },
  "robot": {
   "name": "unitree_h1",
   "title": "Unitree H1-2",
   "revision": "h1-4",
   "model": "Unitree H1-2, 27 joints, 1.78 m, 67 kg (RoboOlympics robot library h1-4: the H1-2 body (Unitree's own h1_2 model, its joint ranges and speed limits) with Unitree H2 / H2-X-class leg actuators from the H2's official URDF (hips and knees 360 N m, ankle pitch 66.88 N m; curves of Unitree's M107 shape, 2.5 kW peak per joint) and H2-class arm actuators from the same URDF (shoulder pitch 130 N m; shoulder roll and yaw, elbow, forearm roll 60 N m; curves of Unitree's N7520 / N5020 shapes); the H1-2's own torso (M107-15, 200 N m), ankle roll and wrist pitch / yaw (estimates))",
   "joints": [
    "left_hip_yaw",
    "left_hip_pitch",
    "left_hip_roll",
    "left_knee",
    "left_ankle_pitch",
    "left_ankle_roll",
    "right_hip_yaw",
    "right_hip_pitch",
    "right_hip_roll",
    "right_knee",
    "right_ankle_pitch",
    "right_ankle_roll",
    "torso",
    "left_shoulder_pitch",
    "left_shoulder_roll",
    "left_shoulder_yaw",
    "left_elbow_pitch",
    "left_elbow_roll",
    "left_wrist_pitch",
    "left_wrist_yaw",
    "right_shoulder_pitch",
    "right_shoulder_roll",
    "right_shoulder_yaw",
    "right_elbow_pitch",
    "right_elbow_roll",
    "right_wrist_pitch",
    "right_wrist_yaw"
   ],
   "n_legs": 12,
   "n_waist": 1,
   "n_arms": 14,
   "range_rad": [
    [
     -0.43,
     0.43
    ],
    [
     -3.14,
     2.5
    ],
    [
     -0.43,
     3.14
    ],
    [
     -0.26,
     2.05
    ],
    [
     -0.8973,
     0.5236
    ],
    [
     -0.2618,
     0.2618
    ],
    [
     -0.43,
     0.43
    ],
    [
     -3.14,
     2.5
    ],
    [
     -3.14,
     0.43
    ],
    [
     -0.26,
     2.05
    ],
    [
     -0.8973,
     0.5236
    ],
    [
     -0.2618,
     0.2618
    ],
    [
     -2.35,
     2.35
    ],
    [
     -3.14,
     1.57
    ],
    [
     -0.38,
     3.4
    ],
    [
     -2.66,
     3.01
    ],
    [
     -0.95,
     3.18
    ],
    [
     -3.01,
     2.75
    ],
    [
     -0.47,
     0.47
    ],
    [
     -1.27,
     1.27
    ],
    [
     -3.14,
     1.57
    ],
    [
     -3.4,
     0.38
    ],
    [
     -3.01,
     2.66
    ],
    [
     -0.95,
     3.18
    ],
    [
     -2.75,
     3.01
    ],
    [
     -0.47,
     0.47
    ],
    [
     -1.27,
     1.27
    ]
   ],
   "speed_limit_rad_s": [
    23.0,
    23.0,
    23.0,
    14.0,
    9.0,
    9.0,
    23.0,
    23.0,
    23.0,
    14.0,
    9.0,
    9.0,
    23.0,
    9.0,
    9.0,
    20.0,
    20.0,
    31.4,
    31.4,
    31.4,
    9.0,
    9.0,
    20.0,
    20.0,
    31.4,
    31.4,
    31.4
   ],
   "torque_limit_nm": [
    360.0,
    360.0,
    360.0,
    360.0,
    66.88,
    40.0,
    360.0,
    360.0,
    360.0,
    360.0,
    66.88,
    40.0,
    200.0,
    130.0,
    60.0,
    60.0,
    60.0,
    60.0,
    19.0,
    19.0,
    130.0,
    60.0,
    60.0,
    60.0,
    60.0,
    19.0,
    19.0
   ],
   "default_kp": [
    800.0,
    800.0,
    800.0,
    1200.0,
    160.0,
    160.0,
    800.0,
    800.0,
    800.0,
    1200.0,
    160.0,
    160.0,
    600.0,
    300.0,
    300.0,
    200.0,
    200.0,
    80.0,
    60.0,
    60.0,
    300.0,
    300.0,
    200.0,
    200.0,
    80.0,
    60.0,
    60.0
   ],
   "default_kd": [
    10.0,
    10.0,
    10.0,
    16.0,
    8.0,
    8.0,
    10.0,
    10.0,
    10.0,
    16.0,
    8.0,
    8.0,
    15.0,
    6.0,
    6.0,
    4.0,
    4.0,
    1.5,
    1.0,
    1.0,
    6.0,
    6.0,
    4.0,
    4.0,
    1.5,
    1.0,
    1.0
   ],
   "kp_max": [
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    1500.0,
    800.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0,
    400.0
   ],
   "kd_max": [
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    30.0,
    20.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0,
    10.0
   ],
   "stance_legs_rad": [
    0.0,
    -0.16,
    0.0,
    0.36,
    -0.2,
    0.0,
    0.0,
    -0.16,
    0.0,
    0.36,
    -0.2,
    0.0
   ],
   "rest_upper_rad": [
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0,
    0.0
   ],
   "mass_kg": 67.37,
   "height_m": 1.78,
   "pelvis_height_standing_m": 1.035,
   "control_dt_s": 0.01,
   "physics_dt_s": 0.001,
   "walk_command_max": [
    0.8,
    0.5,
    1.57
   ],
   "run_command_range": null,
   "real_hands": {
    "kind": "inspire",
    "sides": [
     "left",
     "right"
    ],
    "hands": {
     "left": {
      "kind": "inspire",
      "model": "the H1-2's Inspire RH56DFX five-finger hand (6 self-locking linear drives for 12 joints: the thumb's rotation and flexion, one drive per finger with its two joints coupled; Unitree's H1-2 kinematics) with H2-class fingertip forces: 20 N per finger and 30 N the thumb, 2 x the RH56DFX's 10 / 15 N (Unitree's H2 Plus offers 20 N Sharpa Wave hands; Inspire's RH56E2 gives 28 / 30 N)",
      "grip_scale": 1.0,
      "drives": [
       {
        "name": "thumb_yaw",
        "joint": "thumb_proximal_yaw",
        "open_rad": 0.0,
        "closed_rad": 1.1,
        "speed_rad_s": 1.8675,
        "active_torque_nm": 1.59,
        "passive_torque_nm": 4.1594,
        "group": "thumb",
        "fingertip_force_n": 30.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "thumb_pitch",
        "joint": "thumb_proximal_pitch",
        "open_rad": 0.0,
        "closed_rad": 0.5,
        "speed_rad_s": 1.2217,
        "active_torque_nm": 6.72,
        "passive_torque_nm": 17.5795,
        "group": "thumb",
        "coupled": {
         "thumb_intermediate": 1.6,
         "thumb_distal": 2.4
        },
        "fingertip_force_n": 30.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "index",
        "joint": "index_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.34,
        "passive_torque_nm": 9.1822,
        "group": "fingers",
        "coupled": {
         "index_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "middle",
        "joint": "middle_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.44,
        "passive_torque_nm": 9.5746,
        "group": "fingers",
        "coupled": {
         "middle_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "ring",
        "joint": "ring_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.32,
        "passive_torque_nm": 9.1037,
        "group": "fingers",
        "coupled": {
         "ring_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "pinky",
        "joint": "pinky_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.02,
        "passive_torque_nm": 7.9265,
        "group": "fingers",
        "coupled": {
         "pinky_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       }
      ],
      "servo": {
       "kp_nm_per_rad": 200.0,
       "kd_nm_s_per_rad": 0.5,
       "rule": "each drive: a setpoint moves towards open + closure x (closed - open) at most speed_rad_s, but closing stops where kp (setpoint - q) would exceed active_torque_nm; torque = clip(kp (setpoint - q) + kd (setpoint speed - dq), -passive, passive) at every physics step; a load beyond passive_torque_nm drags the setpoint (the drive slips)"
      },
      "holding_rule": "a free body that touches the hand's fingers and its thumb or palm",
      "pad_friction": [
       1.0,
       0.005,
       0.0001
      ],
      "start": {
       "closure": 0.0,
       "holding": null
      }
     },
     "right": {
      "kind": "inspire",
      "model": "the H1-2's Inspire RH56DFX five-finger hand (6 self-locking linear drives for 12 joints: the thumb's rotation and flexion, one drive per finger with its two joints coupled; Unitree's H1-2 kinematics) with H2-class fingertip forces: 20 N per finger and 30 N the thumb, 2 x the RH56DFX's 10 / 15 N (Unitree's H2 Plus offers 20 N Sharpa Wave hands; Inspire's RH56E2 gives 28 / 30 N)",
      "grip_scale": 1.0,
      "drives": [
       {
        "name": "thumb_yaw",
        "joint": "thumb_proximal_yaw",
        "open_rad": 0.0,
        "closed_rad": 1.1,
        "speed_rad_s": 1.8675,
        "active_torque_nm": 1.59,
        "passive_torque_nm": 4.1594,
        "group": "thumb",
        "fingertip_force_n": 30.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "thumb_pitch",
        "joint": "thumb_proximal_pitch",
        "open_rad": 0.0,
        "closed_rad": 0.5,
        "speed_rad_s": 1.2217,
        "active_torque_nm": 6.72,
        "passive_torque_nm": 17.5795,
        "group": "thumb",
        "coupled": {
         "thumb_intermediate": 1.6,
         "thumb_distal": 2.4
        },
        "fingertip_force_n": 30.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "index",
        "joint": "index_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.34,
        "passive_torque_nm": 9.1822,
        "group": "fingers",
        "coupled": {
         "index_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "middle",
        "joint": "middle_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.44,
        "passive_torque_nm": 9.5746,
        "group": "fingers",
        "coupled": {
         "middle_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "ring",
        "joint": "ring_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.32,
        "passive_torque_nm": 9.1037,
        "group": "fingers",
        "coupled": {
         "ring_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       },
       {
        "name": "pinky",
        "joint": "pinky_proximal",
        "open_rad": 0.0,
        "closed_rad": 1.7,
        "speed_rad_s": 4.5379,
        "active_torque_nm": 2.02,
        "passive_torque_nm": 7.9265,
        "group": "fingers",
        "coupled": {
         "pinky_intermediate": 1.0
        },
        "fingertip_force_n": 20.0,
        "passive_fingertip_force_n": 78.48
       }
      ],
      "servo": {
       "kp_nm_per_rad": 200.0,
       "kd_nm_s_per_rad": 0.5,
       "rule": "each drive: a setpoint moves towards open + closure x (closed - open) at most speed_rad_s, but closing stops where kp (setpoint - q) would exceed active_torque_nm; torque = clip(kp (setpoint - q) + kd (setpoint speed - dq), -passive, passive) at every physics step; a load beyond passive_torque_nm drags the setpoint (the drive slips)"
      },
      "holding_rule": "a free body that touches the hand's fingers and its thumb or palm",
      "pad_friction": [
       1.0,
       0.005,
       0.0001
      ],
      "start": {
       "closure": 0.3,
       "holding": null
      }
     }
    }
   }
  },
  "grippable": [],
  "pelvis": [
   0.0,
   0.0,
   1.035,
   0.0
  ]
 }
}