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.

2.5 KB
Raw Blame
{
 "source": "scene_expansion/repairs/usb_cable_meta_delivery_trajectory_r1/mechanism.py (sha256 ed2d7b10f44e12c1561ce3f7d353cee7e5870ab580b4898d71b1bb8fe68d631b): original authored real-scale approximations of an Anker-style 4-port hub and a StarTech-style 0.5 m USB-A-to-B cable; procedural primitives only (no meshes or textures).",
 "materials": [
  [
   "usb_black",
   [
    0.035,
    0.043,
    0.05,
    1
   ],
   0,
   0.43
  ],
  [
   "usb_pvc",
   [
    0.045,
    0.05,
    0.052,
    1
   ],
   0,
   0.62
  ],
  [
   "usb_metal",
   [
    0.65,
    0.68,
    0.71,
    1
   ],
   0.9,
   0.23
  ],
  [
   "usb_blue",
   [
    0.015,
    0.27,
    0.67,
    1
   ],
   0,
   0.36
  ],
  [
   "usb_white",
   [
    0.85,
    0.83,
    0.76,
    1
   ],
   0,
   0.5
  ],
  [
   "usb_gold",
   [
    0.72,
    0.55,
    0.23,
    1
   ],
   0.85,
   0.28
  ]
 ],
 "hub": {
  "mass": 0.0218,
  "diaginertia": [
   1.8e-06,
   2e-05,
   2.1e-05
  ],
  "half_width": 0.0515,
  "half_height": 0.005,
  "rail_half": 0.0013,
  "ports_x": [
   -0.027,
   -0.007,
   0.013,
   0.033
  ],
  "aperture_half_width": 0.00625,
  "mouth_y": -0.015,
  "pad_half_height": 0.0003,
  "pad_friction": 0.9
 },
 "port_depth": 0.012,
 "plug": {
  "mass": 0.007,
  "diaginertia": [
   5e-07,
   1.8e-07,
   6e-07
  ],
  "shell_width": 0.012,
  "shell_height": 0.0045,
  "shell_length": 0.012,
  "housing_half_height": 0.004,
  "grip_friction": [
   1.0,
   0.01,
   0.0002
  ]
 },
 "cable_diameter": 0.0035,
 "cable": {
  "length": 0.5,
  "segments": 20,
  "mass": 0.015,
  "EI": 2e-05,
  "damping": 0.0002,
  "armature": 2e-06,
  "centerline_xy": [
   [
    0,
    -0.041
   ],
   [
    0,
    -0.075
   ],
   [
    0.03,
    -0.12
   ],
   [
    0.1,
    -0.175
   ],
   [
    0.18,
    -0.17
   ],
   [
    0.225,
    -0.1
   ],
   [
    0.205,
    -0.02
   ],
   [
    0.145,
    0.025
   ],
   [
    0.085,
    0.045
   ],
   [
    0.03,
    0.06
   ]
  ]
 },
 "upstream_centerline_xy": [
  [
   -0.0515,
   0
  ],
  [
   -0.075,
   0.004
  ],
  [
   -0.11,
   0.02
  ],
  [
   -0.145,
   0.055
  ],
  [
   -0.165,
   0.1
  ],
  [
   -0.165,
   0.15
  ],
  [
   -0.15,
   0.19
  ]
 ],
 "modelling": {
  "cavity": "each port is an open box cavity 12.5 mm wide, 4.8 mm high, 12 mm deep (plug shell 12.0 x 4.5 x 12 mm): 0.25 mm clearance per side across and 0.15 mm per side in height (real connector ~0.1 mm); source receptacle shell, tongue and contacts are kept as visuals"
 },
 "fit_solimp": [
  0.99,
  0.999,
  0.0001
 ]
}