Add runs (part 5)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/cameras.jsonAdded+70
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/ext1.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/ext2.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/instruction.txtAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/timestamps.jsonAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/run.jsonAdded+126
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/submitted_prompt.txtAdded+52
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/tools/check_package.pyAdded+27
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/tools/rules.pyAdded+16
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/tools/usd_facts.pyAdded+102
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/evaluator_protocol.jsonAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/generation.jsonlAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/cameras.jsonAdded+70
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/ext1.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/ext2.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/instruction.txtAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/timestamps.jsonAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/run.jsonAdded+126
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/submitted_prompt.txtAdded+52
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/tools/check_package.pyAdded+27
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/tools/rules.pyAdded+16
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/tools/usd_facts.pyAdded+102
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/evaluator_protocol.jsonAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/generation.jsonlAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/cameras.jsonAdded+70
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/ext1.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/ext2.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/instruction.txtAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/timestamps.jsonAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/run.jsonAdded+126
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/submitted_prompt.txtAdded+52
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/tools/check_package.pyAdded+27
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/tools/rules.pyAdded+16
- demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/tools/usd_facts.pyAdded+102
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/evaluator_protocol.jsonAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/generation.jsonlAdded+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/cameras.jsonAdded+70
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/ext1.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/ext2.mp4Added+3
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/instruction.txtAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/timestamps.jsonAdded+1
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/run.jsonAdded+126
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/submitted_prompt.txtAdded+52
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/tools/check_package.pyAdded+27
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/tools/rules.pyAdded+16
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/tools/usd_facts.pyAdded+102
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T074251Z/evaluator_protocol.jsonAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T074251Z/generation.jsonlAdded
- demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T074251Z/input/cameras.jsonAdded+70
5850 unmodified lines5851585258535850 unmodified linesscenes/isaac/47670318/20261113T143651Z/generation.jsonl filter=lfs diff=lfs merge=lfs -textscenes/isaac/rcd_computer_room/20261113T164739Z/generation.jsonl filter=lfs diff=lfs merge=lfs -textdemos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/generation.jsonl filter=lfs diff=lfs merge=lfs -text5850 unmodified lines58515852585358545850 unmodified linesscenes/isaac/47670318/20261113T143651Z/generation.jsonl filter=lfs diff=lfs merge=lfs -textscenes/isaac/rcd_computer_room/20261113T164739Z/generation.jsonl filter=lfs diff=lfs merge=lfs -textdemos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/generation.jsonl filter=lfs diff=lfs merge=lfs -textdemos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/generation.jsonl filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ "ext1": { "fx": 522.4022827148438, "fy": 522.4022827148438, "cx": 640.491455078125, "cy": 353.23126220703125, "width": 1280, "height": 720, "pose_camera_to_base": [ [ 0.7311615222655274, -0.4108494805382829, 0.5446150316505959, 0.37667660713159923 ], [ -0.6777165541248824, -0.5288555038159775, 0.5108934608591537, -0.43721052403399635 ], [ 0.07812234394494152, -0.7426402631321382, -0.6651182894429957, 0.44948656329281855 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }, "ext2": { "fx": 522.87255859375, "fy": 522.87255859375, "cx": 639.2369995117188, "cy": 352.5010986328125, "width": 1280, "height": 720, "pose_camera_to_base": [ [ -0.911333103768181, -0.28108146800769385, 0.30077430461875204, 0.47877331393209577 ], [ -0.4094058016493902, 0.6953401259206454, -0.5906682646464777, 0.39752767371836245 ], [ -0.0431145399149086, -0.6614342882156178, -0.748762858868297, 0.4318057414131394 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }}123version https://git-lfs.github.com/spec/v1oid sha256:28c1981a7be170dd1845653fcd1a3bb7f716c4f8a0750b0578496ae7e3efbe64size 5668702123version https://git-lfs.github.com/spec/v1oid sha256:9114aed9a0eb6da35de8a9a4039f7678d4ce4195fae203d63bf93766f3269367size 31992491Put the red marker inside the grey bowl1{"ext1": [0.014, 0.081, 0.147, 0.214, 0.28, 0.347, 0.43, 0.514, 0.564, 0.647, 0.714, 0.78, 0.864, 0.914, 0.997, 1.064, 1.13, 1.214, 1.264, 1.347, 1.43, 1.497, 1.564, 1.631, 1.714, 1.78, 1.847, 1.93, 1.997, 2.064, 2.131, 2.197, 2.264, 2.347, 2.431, 2.514, 2.564, 2.647, 2.714, 2.764, 2.847, 2.914, 2.981, 3.064, 3.131, 3.197, 3.281, 3.347, 3.414, 3.481, 3.564, 3.631, 3.697, 3.764, 3.847, 3.914, 3.981, 4.064, 4.131, 4.197, 4.264, 4.347, 4.414, 4.497, 4.547, 4.631, 4.681, 4.764, 4.847, 4.898, 4.964, 5.048, 5.131, 5.198, 5.264, 5.331, 5.398, 5.481, 5.547, 5.614, 5.698, 5.748, 5.831, 5.898, 5.981, 6.031, 6.098, 6.181, 6.248, 6.331, 6.381, 6.464, 6.531, 6.598, 6.681, 6.748, 6.814, 6.898, 6.981, 7.031, 7.114, 7.164, 7.248, 7.314, 7.381, 7.464, 7.531, 7.614, 7.664, 7.748, 7.831, 7.898, 7.965, 8.031, 8.1, 8.165, 8.248, 8.298, 8.381, 8.448, 8.515, 8.598, 8.681, 8.731, 8.815, 8.881, 8.965, 9.015, 9.098, 9.165, 9.231, 9.315, 9.381, 9.448, 9.515, 9.581, 9.648, 9.731, 9.798, 9.865, 9.948, 10.015, 10.081, 10.165, 10.231, 10.298, 10.365, 10.431, 10.515, 10.581, 10.665, 10.732, 10.798, 10.865, 10.948, 11.015, 11.082, 11.165, 11.248, 11.298, 11.381, 11.431, 11.532, 11.582, 11.665, 11.732, 11.798, 11.865, 11.932, 12.015, 12.082, 12.148, 12.232, 12.298, 12.382, 12.432, 12.498, 12.582, 12.648, 12.732, 12.798, 12.865, 12.932, 13.015, 13.082, 13.148, 13.215, 13.282, 13.348, 13.432, 13.515, 13.582, 13.649, 13.715, 13.782, 13.865, 13.949, 13.999, 14.082, 14.149, 14.215, 14.282, 14.365, 14.432, 14.499, 14.565, 14.649, 14.715, 14.799, 14.865, 14.932, 14.999, 15.082, 15.149, 15.232, 15.282, 15.365, 15.415, 15.499, 15.565, 15.632, 15.715, 15.782, 15.849, 15.915, 15.982, 16.065, 16.132, 16.215, 16.282], "ext2": [0.0, 0.084, 0.15, 0.2, 0.284, 0.367, 0.417, 0.5, 0.567, 0.634, 0.7, 0.784, 0.85, 0.934, 0.984, 1.067, 1.15, 1.217, 1.284, 1.35, 1.417, 1.5, 1.55, 1.634, 1.717, 1.767, 1.851, 1.917, 1.984, 2.067, 2.134, 2.201, 2.284, 2.351, 2.417, 2.501, 2.567, 2.634, 2.7, 2.784, 2.85, 2.917, 3.001, 3.051, 3.134, 3.201, 3.267, 3.351, 3.417, 3.484, 3.551, 3.634, 3.701, 3.767, 3.834, 3.901, 3.984, 4.051, 4.134, 4.201, 4.267, 4.334, 4.417, 4.467, 4.551, 4.634, 4.701, 4.767, 4.834, 4.918, 4.984, 5.051, 5.118, 5.201, 5.251, 5.334, 5.401, 5.468, 5.551, 5.617, 5.684, 5.751, 5.834, 5.901, 5.968, 6.034, 6.118, 6.184, 6.251, 6.318, 6.401, 6.468, 6.534, 6.618, 6.684, 6.751, 6.818, 6.884, 6.968, 7.034, 7.101, 7.184, 7.251, 7.318, 7.401, 7.451, 7.534, 7.601, 7.684, 7.734, 7.818, 7.885, 7.951, 8.018, 8.101, 8.168, 8.251, 8.318, 8.384, 8.468, 8.534, 8.584, 8.668, 8.735, 8.801, 8.885, 8.951, 9.035, 9.101, 9.151, 9.251, 9.301, 9.385, 9.435, 9.535, 9.601, 9.668, 9.735, 9.801, 9.885, 9.951, 10.001, 10.101, 10.151, 10.235, 10.301, 10.385, 10.451, 10.518, 10.585, 10.651, 10.735, 10.818, 10.868, 10.952, 11.018, 11.102, 11.152, 11.218, 11.318, 11.368, 11.451, 11.518, 11.585, 11.652, 11.718, 11.802, 11.868, 11.952, 12.018, 12.085, 12.152, 12.235, 12.302, 12.368, 12.452, 12.518, 12.568, 12.652, 12.718, 12.785, 12.852, 12.952, 13.002, 13.085, 13.152, 13.218, 13.302, 13.368, 13.435, 13.518, 13.569, 13.652, 13.719, 13.802, 13.869, 13.902, 14.002, 14.069, 14.135, 14.218, 14.285, 14.352, 14.435, 14.502, 14.585, 14.635, 14.719, 14.785, 14.852, 14.919, 15.002, 15.069, 15.135, 15.202, 15.285, 15.352, 15.435, 15.485, 15.569, 15.635, 15.719, 15.785, 15.852, 15.935, 15.985, 16.069, 16.135, 16.202, 16.285]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126{ "track": "demos", "engine": "isaac", "item": "IRIS+7dfa2da3+2023-05-05-10h-15m-24s", "run_id": "20261114T053757Z", "campaign": "jiarui-2-codebuddy", "cli": "codebuddy", "model": "Hunyuan 4", "model_id": "hy4-preview", "model_family": "hy4-preview", "model_reasoning_effort": "default", "budget_seconds": 2700, "told_budget_seconds": 2700, "stage": 1, "continued_from": null, "contract": { "name": "demos-isaac", "sha256": "af44f433394898191009349f48f93b66a9e90d871ac7308df6262065899d343f", "track": "demos", "engine": "isaac", "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "blender_version": "5.2.3", "inputs": [ "instruction.txt", "ext1.mp4", "ext2.mp4", "timestamps.json", "cameras.json (both exterior poses and intrinsics)" ], "withheld": [ "groundtruth/: the wrist video and its calibration, the stereo videos, the robot log (trajectory.h5), the end-state label, the measured ground truth", "camera serials and provenance/", "the frozen protocol of the track and engine (data/benchmark/frozen/<track>/<engine>.json)", "other runs" ], "outputs": [ "scene.usda (/World/moved, /World/target, /World/table)", "objects.json", "README.md" ], "self_check": "/isaac-sim/python.sh /work/tools/check_package.py", "budget": { "told": "the first of the session's cumulative budgets, in wall-clock seconds from container start", "resume": "each later budget resumes the same conversation for the rest of its time; each budget is its own run", "enforcement": "the runner kills the container at the deadline; the output as it stands is the result" }, "refinement": null, "isolation": { "container": "Docker: read-only input (and tools), writable output and scratch, temporary credentials; no repository, benchmark ground truth or evaluator files", "network": "an internal network whose only exit is an HTTPS CONNECT proxy (runtime/egress_proxy.py)", "egress_hosts": [ "api.anthropic.com", "platform.claude.com", "chatgpt.com", "auth.openai.com", "opencode.ai", "mcp.exa.ai", "search.parallel.ai" ] }, "protocol": { "file": "data/benchmark/frozen/demos/isaac.json", "sha256": "841a70b178bcde68ba195e17e9ccb04f193646da802baed81b073c80ac344bd2" } }, "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "image_id": "sha256:8d9f9c934457aa3c8e91e8099e35db27b50db287d0eb76a647052c310e754d87", "required_refinement_rounds": null, "gpu_uuid": "GPU-156df29c-cc73-4c8a-2b1e-bf906b411c59", "egress_mode": "internal_network", "input_snapshot": "input", "tools": "tools", "evaluator_protocol": "evaluator_protocol.json", "output": "output", "log": "generation.jsonl", "status": "budget_expired", "agent_cli": { "cli": "codebuddy", "name": "CodeBuddy Code", "binary": "a pinned codebuddy-code package and its node, mounted read-only (SIMREADY_CODEBUDDY_PREFIX, default the host's codebuddy install)", "login": "the CodeBuddy login file, given to the CLI as a snapshot without its refresh token (the session cannot rotate it)", "billing": "CodeBuddy account (the CLI reports no price)", "tools": "every tool but WebFetch and the server-side media generators ImageGen, ImageEdit, VideoGen (--disallowedTools); WebSearch runs on CodeBuddy's side", "hosts": [ "[redacted-host]", "wb.[redacted]buddy.com" ], "version": "2.182.0", "model": "hy4-preview", "model_family": "hy4-preview" }, "started_at": "2026-11-14T05:37:58.686873+00:00", "model_answered": true, "exit_code": 137, "credential_refresh_persistence": "snapshot_without_refresh_token", "finished_at": "2026-11-14T06:23:00.344539+00:00", "cli_session_id": "01a1d890-0ac5-740e-a132-257bdc365462", "api_retries": 0, "rate_limit_events": 0, "stage_seconds": 2701.727, "elapsed_seconds": 2701.727, "cost": { "status": "partial", "source": "the CLI's running usage totals (usage_update events)", "usd": null, "usd_basis": "not reported (CodeBuddy account billing)", "credits": 0, "credit_status": "known", "turns": null, "api_seconds": null, "tokens": { "input": 88284, "cache_read": 1183680, "cache_write": 0, "output": 34267, "reasoning": null, "total": 1306231 }, "wall_seconds": 2701.727, "budget_seconds": 2700, "stopped_at_budget": true }, "scene_present": false}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152You are rebuilding the scene of a recorded robot demonstration as a simulation-ready Isaac Sim scene. A realFranka Panda with a Robotiq 2F-85 gripper did this task:
Put the red marker inside the grey bowl
Inputs (read-only, /work/input):- instruction.txt: the task above.- ext1.mp4 and ext2.mp4: the two fixed exterior cameras, 1280x720, filming at the same time from different places.- timestamps.json: seconds per video frame for each video, on one clock from the first frame. The videos' containers say 60 fps, which is wrong: frames are about 67 ms apart, so use these times.- cameras.json: "ext1" and "ext2" each have "pose_camera_to_base", a 4x4 matrix, and intrinsics. A camera's +Z looks forward, +X is right and +Y is down; u = fx*x/z+cx, v = fy*y/z+cy.The calibration is metric: a point seen by both exterior cameras can be triangulated to its real position, which givesreal sizes, heights and distances.Look at frames of both videos before modelling: extract them with /usr/local/bin/ffmpeg, and open them with the Read tool. Listing filesdoes not count as viewing.
The world frame is the robot's base: metres, kilograms, +Z up, +X forward from the robot, origin at the centre of the arm's base where itis mounted. Use the cameras' poses to place things. You are not given the robot's joint angles or gripper pose.
Rebuild what the robot's task depends on, where it really is:- "moved": the object the robot picks up. One rigid body, free to move, resting where it really starts, with mass, friction and collision geometry of its real shape and size. The fingers must be able to close on it as they really did.- "target": what the object is put in or on. One rigid body or static, with collision geometry of its real shape: if it is a vessel, its cavity must be open, since a convex shape would be solid.- "table": the surface they stand on, static, at its real height and extent. If the object is put on the table itself, the table is the target: build it once, as "target", and leave out "table".- anything else the arm could reach in the real scene, static and named, only if it is really there.Give things their real appearance as well. Do not model the robot or anything that moves without contact.The arm stands at the origin: keep the space the real arm moved through, above the table, free of colliders.
Output (/work/output):- scene.usda: a self-contained USD stage for Isaac Sim 6.2, Z-up, metres, kilograms, defaultPrim /World, with no transform on /World. Direct children of /World: /World/moved (UsdPhysics.RigidBodyAPI on that prim, with mass and colliders inside), /World/target (with RigidBodyAPI on that prim, or static) and /World/table (static; left out when the table is the target), plus any others. Nothing with collision outside /World. "moved" and "target" hold no other rigid body. Author no physics scene. No joints, drives, animation, time samples, scripts, graphs, kinematic bodies or robot. PhysX collides a dynamic mesh as a convex shape, so build a concave object from several colliders, or set physics:approximation = "convexDecomposition". Bind a physics material for friction.- objects.json: {"objects": [{"id": "moved", "label": "<its name>"}, {"id": "target", "label": "<its name>"}, {"id": "table", "label": "table"}]}; when the table is the target, list it once, as {"id": "target", "label": "table"}.- README.md: which frames you used, the estimates you made and their uncertainty.
Runtime: /isaac-sim/python.sh YOUR_SCRIPT.py runs Python with Isaac Sim, USD (pxr), PhysX and NumPy. Start scripts with`from isaacsim import SimulationApp; app = SimulationApp({"headless": True})` before importing pxr/omni. Test in a scratch copy withyour own physics scene that the scene loads and rests, render it from ext1's and ext2's calibration, and compare with real frames.
Reconstruct what the videos show; do not replace objects with convenient templates if their shape matters. Mass and friction areestimates. Do not use private data. Download nothing from the internet (no files, models, assets, datasets or packages),and do not look up this demonstration, its videos or the dataset it comes from. Do not read authentication files. You mayuse any tools, including web search, and the software installed here, including Blender (`blender`).
Before finishing run `/isaac-sim/python.sh /work/tools/check_package.py`: it checks the format only, not quality, and prints what to fix.Budget: 2700 seconds of wall-clock time; save a valid scene well before the end. Write code and notes in English.123456789101112131415161718192021222324252627"""Check a demonstration package's format, not its quality. Run by the agent: /isaac-sim/python.sh /work/tools/check_package.py [folder]"""from isaacsim import SimulationAppapp = SimulationApp({"headless": True})import json # noqa: E402from pathlib import Path # noqa: E402import sys # noqa: E402
from pxr import Usd # noqa: E402
sys.path.insert(0, str(Path(__file__).parent))from rules import violations # noqa: E402from usd_facts import facts, problems # noqa: E402
folder = Path(sys.argv[1] if len(sys.argv) > 1 else "/work/output")issues = []listed = []if not (folder/"objects.json").is_file(): issues.append("no objects.json")else: listed = json.loads((folder/"objects.json").read_text())["objects"]if not (folder/"scene.usda").is_file(): issues.append("no scene.usda")else: stage = Usd.Stage.Open(str(folder/"scene.usda")) issues += violations(facts(stage))+problems(stage, listed)print("\n".join(issues) or "format ok", flush=True)app.close()12345678910111213141516"""What a demonstration scene may not contain: the robot is not part of the scene, and only contact moves things.
Pure rules over facts read from the file, so MuJoCo (host) and Isaac (container, without this package) share them."""import re
ROBOT_NAME = re.compile(r"(^|[/_])(panda|franka|robotiq|2f.?85|fr3|gripper|end.?effector|finger|robot|manipulator|yam|sharpa|i2rt|xarm|ufactory)", re.I)FACTS = ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")RULES = {"actuators": "actuators or drives", "keyframes": "keyframes", "welds": "welds or fixed joints", "mocap": "mocap or kinematic bodies", "robot_names": "a submitted robot", "animated": "scripted motion: time-sampled transforms", "scripts": "scripted motion: graphs or scripts", "initial_velocity": "a body started in motion", "gravity_off": "a body exempt from gravity", "plugins": "plugins"}
def violations(facts): """Every broken rule, each with what broke it. Reject on any: a scene that passes the check can only move by contact.""" return [f"{RULES[key]}: {', '.join(map(str, facts[key][:5]))}" for key in FACTS if facts.get(key)]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102"""What a USD stage says about the rules' facts, read from the stage alone. Runs inside the Isaac Sim container."""import numpy as npfrom pxr import Gf, Usd, UsdGeom, UsdPhysics, PhysxSchema
from rules import ROBOT_NAME
def facts(stage): """The rules' facts.""" out = {k: [] for k in ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")} for prim in stage.Traverse(): path, kind = str(prim.GetPath()), prim.GetTypeName() if ROBOT_NAME.search(prim.GetName()): out["robot_names"].append(path) if prim.IsA(UsdPhysics.FixedJoint): out["welds"].append(path) if any("Drive" in str(a) or "Mimic" in str(a) for a in prim.GetAppliedSchemas()): out["actuators"].append(path) if kind in ("OmniGraph", "ComputeGraph", "OmniGraphNode") or "OmniGraph" in kind: out["scripts"].append(path) if prim.HasAttribute("omni:scripting:scripts"): out["scripts"].append(path) for attribute in prim.GetAttributes(): if attribute.GetNumTimeSamples() > 0: out["animated"].append(str(attribute.GetPath())) if prim.HasAPI(UsdPhysics.RigidBodyAPI): body = UsdPhysics.RigidBodyAPI(prim) if body.GetKinematicEnabledAttr().Get(): out["mocap"].append(path) for get in (body.GetVelocityAttr, body.GetAngularVelocityAttr): value = get().Get() if value is not None and any(abs(v) > 1e-9 for v in value): out["initial_velocity"].append(path) if prim.HasAPI(PhysxSchema.PhysxRigidBodyAPI) and PhysxSchema.PhysxRigidBodyAPI(prim).GetDisableGravityAttr().Get(): out["gravity_off"].append(path) return out
def with_colliders(stage): """Names of /World's children holding collision geometry: all of them are measured for contact, listed or not.""" world = stage.GetPrimAtPath("/World") return [child.GetName() for child in world.GetChildren() if any(p.HasAPI(UsdPhysics.CollisionAPI) for p in Usd.PrimRange(child))]
def problems(stage, objects): """Why a stage cannot be measured: the names and shape the contract asks for.""" found = [] world = stage.GetPrimAtPath("/World") if not world or not world.IsValid(): return ["no /World prim"] matrix = UsdGeom.Xformable(world).ComputeLocalToWorldTransform(Usd.TimeCode.Default()) if not Gf.IsClose(matrix, Gf.Matrix4d(1.), 1e-9): found.append("/World has a transform") ids = [o["id"] for o in objects] for name in ("moved", "target"): if name not in ids: found.append(f'objects.json lists no "{name}"') for name in ids: if not stage.GetPrimAtPath("/World/"+name).IsValid(): found.append(f"no prim /World/{name}") moved = stage.GetPrimAtPath("/World/moved") if moved.IsValid() and not moved.HasAPI(UsdPhysics.RigidBodyAPI): found.append("/World/moved is not a rigid body") for name in ("moved", "target"): prim = stage.GetPrimAtPath("/World/"+name) if prim.IsValid(): if any(p != prim and p.HasAPI(UsdPhysics.RigidBodyAPI) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has another rigid body inside it") if not any(p.IsA(UsdGeom.Gprim) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has no geometry") for prim in stage.Traverse(): if prim.HasAPI(UsdPhysics.CollisionAPI) and not str(prim.GetPath()).startswith("/World/"): found.append(f"collider outside /World: {prim.GetPath()}") return found
def corners(stage, prim): """Points bounding a body's colliders, or its geometry if it has none, in the body's own frame: a Cube's corners, a Mesh's points, otherwise its local box.""" root = UsdGeom.Xformable(prim).ComputeLocalToWorldTransform(Usd.TimeCode.Default()).GetInverse() shapes = [p for p in Usd.PrimRange(prim) if p.IsA(UsdGeom.Gprim)] def collides(shape): while shape != prim.GetParent(): if shape.HasAPI(UsdPhysics.CollisionAPI): return True shape = shape.GetParent() return False shapes = [s for s in shapes if collides(s)] or shapes cache = UsdGeom.BBoxCache(Usd.TimeCode.Default(), ["default", "render", "proxy"]) out = [] for shape in shapes: matrix = UsdGeom.Xformable(shape).ComputeLocalToWorldTransform(Usd.TimeCode.Default())*root if shape.IsA(UsdGeom.Cube): size = UsdGeom.Cube(shape).GetSizeAttr().Get() local = np.array(np.meshgrid([-1, 1], [-1, 1], [-1, 1])).T.reshape(-1, 3)*size/2 elif shape.IsA(UsdGeom.Mesh) and UsdGeom.Mesh(shape).GetPointsAttr().Get(): local = np.array(UsdGeom.Mesh(shape).GetPointsAttr().Get(), dtype=float) else: box = cache.ComputeUntransformedBound(shape).GetRange() low, high = np.array(box.GetMin()), np.array(box.GetMax()) local = np.array(np.meshgrid(*zip(low, high))).T.reshape(-1, 3) out += [np.array(matrix.Transform(tuple(float(v) for v in point)), dtype=float) for point in local] return np.array(out)12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ "ext1": { "fx": 522.4022827148438, "fy": 522.4022827148438, "cx": 640.491455078125, "cy": 353.23126220703125, "width": 1280, "height": 720, "pose_camera_to_base": [ [ 0.7311615222655274, -0.4108494805382829, 0.5446150316505959, 0.37667660713159923 ], [ -0.6777165541248824, -0.5288555038159775, 0.5108934608591537, -0.43721052403399635 ], [ 0.07812234394494152, -0.7426402631321382, -0.6651182894429957, 0.44948656329281855 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }, "ext2": { "fx": 522.87255859375, "fy": 522.87255859375, "cx": 639.2369995117188, "cy": 352.5010986328125, "width": 1280, "height": 720, "pose_camera_to_base": [ [ -0.911333103768181, -0.28108146800769385, 0.30077430461875204, 0.47877331393209577 ], [ -0.4094058016493902, 0.6953401259206454, -0.5906682646464777, 0.39752767371836245 ], [ -0.0431145399149086, -0.6614342882156178, -0.748762858868297, 0.4318057414131394 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }}123version https://git-lfs.github.com/spec/v1oid sha256:28c1981a7be170dd1845653fcd1a3bb7f716c4f8a0750b0578496ae7e3efbe64size 5668702123version https://git-lfs.github.com/spec/v1oid sha256:9114aed9a0eb6da35de8a9a4039f7678d4ce4195fae203d63bf93766f3269367size 31992491Put the red marker inside the grey bowl1{"ext1": [0.014, 0.081, 0.147, 0.214, 0.28, 0.347, 0.43, 0.514, 0.564, 0.647, 0.714, 0.78, 0.864, 0.914, 0.997, 1.064, 1.13, 1.214, 1.264, 1.347, 1.43, 1.497, 1.564, 1.631, 1.714, 1.78, 1.847, 1.93, 1.997, 2.064, 2.131, 2.197, 2.264, 2.347, 2.431, 2.514, 2.564, 2.647, 2.714, 2.764, 2.847, 2.914, 2.981, 3.064, 3.131, 3.197, 3.281, 3.347, 3.414, 3.481, 3.564, 3.631, 3.697, 3.764, 3.847, 3.914, 3.981, 4.064, 4.131, 4.197, 4.264, 4.347, 4.414, 4.497, 4.547, 4.631, 4.681, 4.764, 4.847, 4.898, 4.964, 5.048, 5.131, 5.198, 5.264, 5.331, 5.398, 5.481, 5.547, 5.614, 5.698, 5.748, 5.831, 5.898, 5.981, 6.031, 6.098, 6.181, 6.248, 6.331, 6.381, 6.464, 6.531, 6.598, 6.681, 6.748, 6.814, 6.898, 6.981, 7.031, 7.114, 7.164, 7.248, 7.314, 7.381, 7.464, 7.531, 7.614, 7.664, 7.748, 7.831, 7.898, 7.965, 8.031, 8.1, 8.165, 8.248, 8.298, 8.381, 8.448, 8.515, 8.598, 8.681, 8.731, 8.815, 8.881, 8.965, 9.015, 9.098, 9.165, 9.231, 9.315, 9.381, 9.448, 9.515, 9.581, 9.648, 9.731, 9.798, 9.865, 9.948, 10.015, 10.081, 10.165, 10.231, 10.298, 10.365, 10.431, 10.515, 10.581, 10.665, 10.732, 10.798, 10.865, 10.948, 11.015, 11.082, 11.165, 11.248, 11.298, 11.381, 11.431, 11.532, 11.582, 11.665, 11.732, 11.798, 11.865, 11.932, 12.015, 12.082, 12.148, 12.232, 12.298, 12.382, 12.432, 12.498, 12.582, 12.648, 12.732, 12.798, 12.865, 12.932, 13.015, 13.082, 13.148, 13.215, 13.282, 13.348, 13.432, 13.515, 13.582, 13.649, 13.715, 13.782, 13.865, 13.949, 13.999, 14.082, 14.149, 14.215, 14.282, 14.365, 14.432, 14.499, 14.565, 14.649, 14.715, 14.799, 14.865, 14.932, 14.999, 15.082, 15.149, 15.232, 15.282, 15.365, 15.415, 15.499, 15.565, 15.632, 15.715, 15.782, 15.849, 15.915, 15.982, 16.065, 16.132, 16.215, 16.282], "ext2": [0.0, 0.084, 0.15, 0.2, 0.284, 0.367, 0.417, 0.5, 0.567, 0.634, 0.7, 0.784, 0.85, 0.934, 0.984, 1.067, 1.15, 1.217, 1.284, 1.35, 1.417, 1.5, 1.55, 1.634, 1.717, 1.767, 1.851, 1.917, 1.984, 2.067, 2.134, 2.201, 2.284, 2.351, 2.417, 2.501, 2.567, 2.634, 2.7, 2.784, 2.85, 2.917, 3.001, 3.051, 3.134, 3.201, 3.267, 3.351, 3.417, 3.484, 3.551, 3.634, 3.701, 3.767, 3.834, 3.901, 3.984, 4.051, 4.134, 4.201, 4.267, 4.334, 4.417, 4.467, 4.551, 4.634, 4.701, 4.767, 4.834, 4.918, 4.984, 5.051, 5.118, 5.201, 5.251, 5.334, 5.401, 5.468, 5.551, 5.617, 5.684, 5.751, 5.834, 5.901, 5.968, 6.034, 6.118, 6.184, 6.251, 6.318, 6.401, 6.468, 6.534, 6.618, 6.684, 6.751, 6.818, 6.884, 6.968, 7.034, 7.101, 7.184, 7.251, 7.318, 7.401, 7.451, 7.534, 7.601, 7.684, 7.734, 7.818, 7.885, 7.951, 8.018, 8.101, 8.168, 8.251, 8.318, 8.384, 8.468, 8.534, 8.584, 8.668, 8.735, 8.801, 8.885, 8.951, 9.035, 9.101, 9.151, 9.251, 9.301, 9.385, 9.435, 9.535, 9.601, 9.668, 9.735, 9.801, 9.885, 9.951, 10.001, 10.101, 10.151, 10.235, 10.301, 10.385, 10.451, 10.518, 10.585, 10.651, 10.735, 10.818, 10.868, 10.952, 11.018, 11.102, 11.152, 11.218, 11.318, 11.368, 11.451, 11.518, 11.585, 11.652, 11.718, 11.802, 11.868, 11.952, 12.018, 12.085, 12.152, 12.235, 12.302, 12.368, 12.452, 12.518, 12.568, 12.652, 12.718, 12.785, 12.852, 12.952, 13.002, 13.085, 13.152, 13.218, 13.302, 13.368, 13.435, 13.518, 13.569, 13.652, 13.719, 13.802, 13.869, 13.902, 14.002, 14.069, 14.135, 14.218, 14.285, 14.352, 14.435, 14.502, 14.585, 14.635, 14.719, 14.785, 14.852, 14.919, 15.002, 15.069, 15.135, 15.202, 15.285, 15.352, 15.435, 15.485, 15.569, 15.635, 15.719, 15.785, 15.852, 15.935, 15.985, 16.069, 16.135, 16.202, 16.285]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126{ "track": "demos", "engine": "isaac", "item": "IRIS+7dfa2da3+2023-05-05-10h-15m-24s", "run_id": "20261114T075826Z", "campaign": "jiarui-2-codebuddy", "cli": "codebuddy", "model": "Hunyuan 4", "model_id": "hy4-preview", "model_family": "hy4-preview", "model_reasoning_effort": "default", "budget_seconds": 1800, "told_budget_seconds": 1800, "stage": 1, "continued_from": null, "contract": { "name": "demos-isaac", "sha256": "af44f433394898191009349f48f93b66a9e90d871ac7308df6262065899d343f", "track": "demos", "engine": "isaac", "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "blender_version": "5.2.3", "inputs": [ "instruction.txt", "ext1.mp4", "ext2.mp4", "timestamps.json", "cameras.json (both exterior poses and intrinsics)" ], "withheld": [ "groundtruth/: the wrist video and its calibration, the stereo videos, the robot log (trajectory.h5), the end-state label, the measured ground truth", "camera serials and provenance/", "the frozen protocol of the track and engine (data/benchmark/frozen/<track>/<engine>.json)", "other runs" ], "outputs": [ "scene.usda (/World/moved, /World/target, /World/table)", "objects.json", "README.md" ], "self_check": "/isaac-sim/python.sh /work/tools/check_package.py", "budget": { "told": "the first of the session's cumulative budgets, in wall-clock seconds from container start", "resume": "each later budget resumes the same conversation for the rest of its time; each budget is its own run", "enforcement": "the runner kills the container at the deadline; the output as it stands is the result" }, "refinement": null, "isolation": { "container": "Docker: read-only input (and tools), writable output and scratch, temporary credentials; no repository, benchmark ground truth or evaluator files", "network": "an internal network whose only exit is an HTTPS CONNECT proxy (runtime/egress_proxy.py)", "egress_hosts": [ "api.anthropic.com", "platform.claude.com", "chatgpt.com", "auth.openai.com", "opencode.ai", "mcp.exa.ai", "search.parallel.ai" ] }, "protocol": { "file": "data/benchmark/frozen/demos/isaac.json", "sha256": "841a70b178bcde68ba195e17e9ccb04f193646da802baed81b073c80ac344bd2" } }, "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "image_id": "sha256:8d9f9c934457aa3c8e91e8099e35db27b50db287d0eb76a647052c310e754d87", "required_refinement_rounds": null, "gpu_uuid": "GPU-91246d27-fecc-875a-e18a-afb185bc6a18", "egress_mode": "internal_network", "input_snapshot": "input", "tools": "tools", "evaluator_protocol": "evaluator_protocol.json", "output": "output", "log": "generation.jsonl", "status": "budget_expired", "agent_cli": { "cli": "codebuddy", "name": "CodeBuddy Code", "binary": "a pinned codebuddy-code package and its node, mounted read-only (SIMREADY_CODEBUDDY_PREFIX, default the host's codebuddy install)", "login": "the CodeBuddy login file, given to the CLI as a snapshot without its refresh token (the session cannot rotate it)", "billing": "CodeBuddy account (the CLI reports no price)", "tools": "every tool but WebFetch and the server-side media generators ImageGen, ImageEdit, VideoGen (--disallowedTools); WebSearch runs on CodeBuddy's side", "hosts": [ "[redacted-host]", "wb.[redacted]buddy.com" ], "version": "2.182.0", "model": "hy4-preview", "model_family": "hy4-preview" }, "started_at": "2026-11-14T07:58:27.949565+00:00", "model_answered": true, "exit_code": 137, "credential_refresh_persistence": "snapshot_without_refresh_token", "finished_at": "2026-11-14T08:28:29.416291+00:00", "cli_session_id": "01a1d910-aa18-7ba0-a134-3623db5ea76a", "api_retries": 0, "rate_limit_events": 0, "stage_seconds": 1801.537, "elapsed_seconds": 1801.537, "cost": { "status": "partial", "source": "the CLI's running usage totals (usage_update events)", "usd": null, "usd_basis": "not reported (CodeBuddy account billing)", "credits": 0, "credit_status": "known", "turns": null, "api_seconds": null, "tokens": { "input": 86935, "cache_read": 742080, "cache_write": 0, "output": 16170, "reasoning": null, "total": 845185 }, "wall_seconds": 1801.537, "budget_seconds": 1800, "stopped_at_budget": true }, "scene_present": false}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152You are rebuilding the scene of a recorded robot demonstration as a simulation-ready Isaac Sim scene. A realFranka Panda with a Robotiq 2F-85 gripper did this task:
Put the red marker inside the grey bowl
Inputs (read-only, /work/input):- instruction.txt: the task above.- ext1.mp4 and ext2.mp4: the two fixed exterior cameras, 1280x720, filming at the same time from different places.- timestamps.json: seconds per video frame for each video, on one clock from the first frame. The videos' containers say 60 fps, which is wrong: frames are about 67 ms apart, so use these times.- cameras.json: "ext1" and "ext2" each have "pose_camera_to_base", a 4x4 matrix, and intrinsics. A camera's +Z looks forward, +X is right and +Y is down; u = fx*x/z+cx, v = fy*y/z+cy.The calibration is metric: a point seen by both exterior cameras can be triangulated to its real position, which givesreal sizes, heights and distances.Look at frames of both videos before modelling: extract them with /usr/local/bin/ffmpeg, and open them with the Read tool. Listing filesdoes not count as viewing.
The world frame is the robot's base: metres, kilograms, +Z up, +X forward from the robot, origin at the centre of the arm's base where itis mounted. Use the cameras' poses to place things. You are not given the robot's joint angles or gripper pose.
Rebuild what the robot's task depends on, where it really is:- "moved": the object the robot picks up. One rigid body, free to move, resting where it really starts, with mass, friction and collision geometry of its real shape and size. The fingers must be able to close on it as they really did.- "target": what the object is put in or on. One rigid body or static, with collision geometry of its real shape: if it is a vessel, its cavity must be open, since a convex shape would be solid.- "table": the surface they stand on, static, at its real height and extent. If the object is put on the table itself, the table is the target: build it once, as "target", and leave out "table".- anything else the arm could reach in the real scene, static and named, only if it is really there.Give things their real appearance as well. Do not model the robot or anything that moves without contact.The arm stands at the origin: keep the space the real arm moved through, above the table, free of colliders.
Output (/work/output):- scene.usda: a self-contained USD stage for Isaac Sim 6.2, Z-up, metres, kilograms, defaultPrim /World, with no transform on /World. Direct children of /World: /World/moved (UsdPhysics.RigidBodyAPI on that prim, with mass and colliders inside), /World/target (with RigidBodyAPI on that prim, or static) and /World/table (static; left out when the table is the target), plus any others. Nothing with collision outside /World. "moved" and "target" hold no other rigid body. Author no physics scene. No joints, drives, animation, time samples, scripts, graphs, kinematic bodies or robot. PhysX collides a dynamic mesh as a convex shape, so build a concave object from several colliders, or set physics:approximation = "convexDecomposition". Bind a physics material for friction.- objects.json: {"objects": [{"id": "moved", "label": "<its name>"}, {"id": "target", "label": "<its name>"}, {"id": "table", "label": "table"}]}; when the table is the target, list it once, as {"id": "target", "label": "table"}.- README.md: which frames you used, the estimates you made and their uncertainty.
Runtime: /isaac-sim/python.sh YOUR_SCRIPT.py runs Python with Isaac Sim, USD (pxr), PhysX and NumPy. Start scripts with`from isaacsim import SimulationApp; app = SimulationApp({"headless": True})` before importing pxr/omni. Test in a scratch copy withyour own physics scene that the scene loads and rests, render it from ext1's and ext2's calibration, and compare with real frames.
Reconstruct what the videos show; do not replace objects with convenient templates if their shape matters. Mass and friction areestimates. Do not use private data. Download nothing from the internet (no files, models, assets, datasets or packages),and do not look up this demonstration, its videos or the dataset it comes from. Do not read authentication files. You mayuse any tools, including web search, and the software installed here, including Blender (`blender`).
Before finishing run `/isaac-sim/python.sh /work/tools/check_package.py`: it checks the format only, not quality, and prints what to fix.Budget: 1800 seconds of wall-clock time; save a valid scene well before the end. Write code and notes in English.123456789101112131415161718192021222324252627"""Check a demonstration package's format, not its quality. Run by the agent: /isaac-sim/python.sh /work/tools/check_package.py [folder]"""from isaacsim import SimulationAppapp = SimulationApp({"headless": True})import json # noqa: E402from pathlib import Path # noqa: E402import sys # noqa: E402
from pxr import Usd # noqa: E402
sys.path.insert(0, str(Path(__file__).parent))from rules import violations # noqa: E402from usd_facts import facts, problems # noqa: E402
folder = Path(sys.argv[1] if len(sys.argv) > 1 else "/work/output")issues = []listed = []if not (folder/"objects.json").is_file(): issues.append("no objects.json")else: listed = json.loads((folder/"objects.json").read_text())["objects"]if not (folder/"scene.usda").is_file(): issues.append("no scene.usda")else: stage = Usd.Stage.Open(str(folder/"scene.usda")) issues += violations(facts(stage))+problems(stage, listed)print("\n".join(issues) or "format ok", flush=True)app.close()12345678910111213141516"""What a demonstration scene may not contain: the robot is not part of the scene, and only contact moves things.
Pure rules over facts read from the file, so MuJoCo (host) and Isaac (container, without this package) share them."""import re
ROBOT_NAME = re.compile(r"(^|[/_])(panda|franka|robotiq|2f.?85|fr3|gripper|end.?effector|finger|robot|manipulator|yam|sharpa|i2rt|xarm|ufactory)", re.I)FACTS = ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")RULES = {"actuators": "actuators or drives", "keyframes": "keyframes", "welds": "welds or fixed joints", "mocap": "mocap or kinematic bodies", "robot_names": "a submitted robot", "animated": "scripted motion: time-sampled transforms", "scripts": "scripted motion: graphs or scripts", "initial_velocity": "a body started in motion", "gravity_off": "a body exempt from gravity", "plugins": "plugins"}
def violations(facts): """Every broken rule, each with what broke it. Reject on any: a scene that passes the check can only move by contact.""" return [f"{RULES[key]}: {', '.join(map(str, facts[key][:5]))}" for key in FACTS if facts.get(key)]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102"""What a USD stage says about the rules' facts, read from the stage alone. Runs inside the Isaac Sim container."""import numpy as npfrom pxr import Gf, Usd, UsdGeom, UsdPhysics, PhysxSchema
from rules import ROBOT_NAME
def facts(stage): """The rules' facts.""" out = {k: [] for k in ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")} for prim in stage.Traverse(): path, kind = str(prim.GetPath()), prim.GetTypeName() if ROBOT_NAME.search(prim.GetName()): out["robot_names"].append(path) if prim.IsA(UsdPhysics.FixedJoint): out["welds"].append(path) if any("Drive" in str(a) or "Mimic" in str(a) for a in prim.GetAppliedSchemas()): out["actuators"].append(path) if kind in ("OmniGraph", "ComputeGraph", "OmniGraphNode") or "OmniGraph" in kind: out["scripts"].append(path) if prim.HasAttribute("omni:scripting:scripts"): out["scripts"].append(path) for attribute in prim.GetAttributes(): if attribute.GetNumTimeSamples() > 0: out["animated"].append(str(attribute.GetPath())) if prim.HasAPI(UsdPhysics.RigidBodyAPI): body = UsdPhysics.RigidBodyAPI(prim) if body.GetKinematicEnabledAttr().Get(): out["mocap"].append(path) for get in (body.GetVelocityAttr, body.GetAngularVelocityAttr): value = get().Get() if value is not None and any(abs(v) > 1e-9 for v in value): out["initial_velocity"].append(path) if prim.HasAPI(PhysxSchema.PhysxRigidBodyAPI) and PhysxSchema.PhysxRigidBodyAPI(prim).GetDisableGravityAttr().Get(): out["gravity_off"].append(path) return out
def with_colliders(stage): """Names of /World's children holding collision geometry: all of them are measured for contact, listed or not.""" world = stage.GetPrimAtPath("/World") return [child.GetName() for child in world.GetChildren() if any(p.HasAPI(UsdPhysics.CollisionAPI) for p in Usd.PrimRange(child))]
def problems(stage, objects): """Why a stage cannot be measured: the names and shape the contract asks for.""" found = [] world = stage.GetPrimAtPath("/World") if not world or not world.IsValid(): return ["no /World prim"] matrix = UsdGeom.Xformable(world).ComputeLocalToWorldTransform(Usd.TimeCode.Default()) if not Gf.IsClose(matrix, Gf.Matrix4d(1.), 1e-9): found.append("/World has a transform") ids = [o["id"] for o in objects] for name in ("moved", "target"): if name not in ids: found.append(f'objects.json lists no "{name}"') for name in ids: if not stage.GetPrimAtPath("/World/"+name).IsValid(): found.append(f"no prim /World/{name}") moved = stage.GetPrimAtPath("/World/moved") if moved.IsValid() and not moved.HasAPI(UsdPhysics.RigidBodyAPI): found.append("/World/moved is not a rigid body") for name in ("moved", "target"): prim = stage.GetPrimAtPath("/World/"+name) if prim.IsValid(): if any(p != prim and p.HasAPI(UsdPhysics.RigidBodyAPI) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has another rigid body inside it") if not any(p.IsA(UsdGeom.Gprim) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has no geometry") for prim in stage.Traverse(): if prim.HasAPI(UsdPhysics.CollisionAPI) and not str(prim.GetPath()).startswith("/World/"): found.append(f"collider outside /World: {prim.GetPath()}") return found
def corners(stage, prim): """Points bounding a body's colliders, or its geometry if it has none, in the body's own frame: a Cube's corners, a Mesh's points, otherwise its local box.""" root = UsdGeom.Xformable(prim).ComputeLocalToWorldTransform(Usd.TimeCode.Default()).GetInverse() shapes = [p for p in Usd.PrimRange(prim) if p.IsA(UsdGeom.Gprim)] def collides(shape): while shape != prim.GetParent(): if shape.HasAPI(UsdPhysics.CollisionAPI): return True shape = shape.GetParent() return False shapes = [s for s in shapes if collides(s)] or shapes cache = UsdGeom.BBoxCache(Usd.TimeCode.Default(), ["default", "render", "proxy"]) out = [] for shape in shapes: matrix = UsdGeom.Xformable(shape).ComputeLocalToWorldTransform(Usd.TimeCode.Default())*root if shape.IsA(UsdGeom.Cube): size = UsdGeom.Cube(shape).GetSizeAttr().Get() local = np.array(np.meshgrid([-1, 1], [-1, 1], [-1, 1])).T.reshape(-1, 3)*size/2 elif shape.IsA(UsdGeom.Mesh) and UsdGeom.Mesh(shape).GetPointsAttr().Get(): local = np.array(UsdGeom.Mesh(shape).GetPointsAttr().Get(), dtype=float) else: box = cache.ComputeUntransformedBound(shape).GetRange() low, high = np.array(box.GetMin()), np.array(box.GetMax()) local = np.array(np.meshgrid(*zip(low, high))).T.reshape(-1, 3) out += [np.array(matrix.Transform(tuple(float(v) for v in point)), dtype=float) for point in local] return np.array(out)12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ "ext1": { "fx": 522.4022827148438, "fy": 522.4022827148438, "cx": 640.491455078125, "cy": 353.23126220703125, "width": 1280, "height": 720, "pose_camera_to_base": [ [ 0.7311615222655274, -0.4108494805382829, 0.5446150316505959, 0.37667660713159923 ], [ -0.6777165541248824, -0.5288555038159775, 0.5108934608591537, -0.43721052403399635 ], [ 0.07812234394494152, -0.7426402631321382, -0.6651182894429957, 0.44948656329281855 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }, "ext2": { "fx": 522.87255859375, "fy": 522.87255859375, "cx": 639.2369995117188, "cy": 352.5010986328125, "width": 1280, "height": 720, "pose_camera_to_base": [ [ -0.911333103768181, -0.28108146800769385, 0.30077430461875204, 0.47877331393209577 ], [ -0.4094058016493902, 0.6953401259206454, -0.5906682646464777, 0.39752767371836245 ], [ -0.0431145399149086, -0.6614342882156178, -0.748762858868297, 0.4318057414131394 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }}123version https://git-lfs.github.com/spec/v1oid sha256:28c1981a7be170dd1845653fcd1a3bb7f716c4f8a0750b0578496ae7e3efbe64size 5668702123version https://git-lfs.github.com/spec/v1oid sha256:9114aed9a0eb6da35de8a9a4039f7678d4ce4195fae203d63bf93766f3269367size 31992491Put the red marker inside the grey bowl1{"ext1": [0.014, 0.081, 0.147, 0.214, 0.28, 0.347, 0.43, 0.514, 0.564, 0.647, 0.714, 0.78, 0.864, 0.914, 0.997, 1.064, 1.13, 1.214, 1.264, 1.347, 1.43, 1.497, 1.564, 1.631, 1.714, 1.78, 1.847, 1.93, 1.997, 2.064, 2.131, 2.197, 2.264, 2.347, 2.431, 2.514, 2.564, 2.647, 2.714, 2.764, 2.847, 2.914, 2.981, 3.064, 3.131, 3.197, 3.281, 3.347, 3.414, 3.481, 3.564, 3.631, 3.697, 3.764, 3.847, 3.914, 3.981, 4.064, 4.131, 4.197, 4.264, 4.347, 4.414, 4.497, 4.547, 4.631, 4.681, 4.764, 4.847, 4.898, 4.964, 5.048, 5.131, 5.198, 5.264, 5.331, 5.398, 5.481, 5.547, 5.614, 5.698, 5.748, 5.831, 5.898, 5.981, 6.031, 6.098, 6.181, 6.248, 6.331, 6.381, 6.464, 6.531, 6.598, 6.681, 6.748, 6.814, 6.898, 6.981, 7.031, 7.114, 7.164, 7.248, 7.314, 7.381, 7.464, 7.531, 7.614, 7.664, 7.748, 7.831, 7.898, 7.965, 8.031, 8.1, 8.165, 8.248, 8.298, 8.381, 8.448, 8.515, 8.598, 8.681, 8.731, 8.815, 8.881, 8.965, 9.015, 9.098, 9.165, 9.231, 9.315, 9.381, 9.448, 9.515, 9.581, 9.648, 9.731, 9.798, 9.865, 9.948, 10.015, 10.081, 10.165, 10.231, 10.298, 10.365, 10.431, 10.515, 10.581, 10.665, 10.732, 10.798, 10.865, 10.948, 11.015, 11.082, 11.165, 11.248, 11.298, 11.381, 11.431, 11.532, 11.582, 11.665, 11.732, 11.798, 11.865, 11.932, 12.015, 12.082, 12.148, 12.232, 12.298, 12.382, 12.432, 12.498, 12.582, 12.648, 12.732, 12.798, 12.865, 12.932, 13.015, 13.082, 13.148, 13.215, 13.282, 13.348, 13.432, 13.515, 13.582, 13.649, 13.715, 13.782, 13.865, 13.949, 13.999, 14.082, 14.149, 14.215, 14.282, 14.365, 14.432, 14.499, 14.565, 14.649, 14.715, 14.799, 14.865, 14.932, 14.999, 15.082, 15.149, 15.232, 15.282, 15.365, 15.415, 15.499, 15.565, 15.632, 15.715, 15.782, 15.849, 15.915, 15.982, 16.065, 16.132, 16.215, 16.282], "ext2": [0.0, 0.084, 0.15, 0.2, 0.284, 0.367, 0.417, 0.5, 0.567, 0.634, 0.7, 0.784, 0.85, 0.934, 0.984, 1.067, 1.15, 1.217, 1.284, 1.35, 1.417, 1.5, 1.55, 1.634, 1.717, 1.767, 1.851, 1.917, 1.984, 2.067, 2.134, 2.201, 2.284, 2.351, 2.417, 2.501, 2.567, 2.634, 2.7, 2.784, 2.85, 2.917, 3.001, 3.051, 3.134, 3.201, 3.267, 3.351, 3.417, 3.484, 3.551, 3.634, 3.701, 3.767, 3.834, 3.901, 3.984, 4.051, 4.134, 4.201, 4.267, 4.334, 4.417, 4.467, 4.551, 4.634, 4.701, 4.767, 4.834, 4.918, 4.984, 5.051, 5.118, 5.201, 5.251, 5.334, 5.401, 5.468, 5.551, 5.617, 5.684, 5.751, 5.834, 5.901, 5.968, 6.034, 6.118, 6.184, 6.251, 6.318, 6.401, 6.468, 6.534, 6.618, 6.684, 6.751, 6.818, 6.884, 6.968, 7.034, 7.101, 7.184, 7.251, 7.318, 7.401, 7.451, 7.534, 7.601, 7.684, 7.734, 7.818, 7.885, 7.951, 8.018, 8.101, 8.168, 8.251, 8.318, 8.384, 8.468, 8.534, 8.584, 8.668, 8.735, 8.801, 8.885, 8.951, 9.035, 9.101, 9.151, 9.251, 9.301, 9.385, 9.435, 9.535, 9.601, 9.668, 9.735, 9.801, 9.885, 9.951, 10.001, 10.101, 10.151, 10.235, 10.301, 10.385, 10.451, 10.518, 10.585, 10.651, 10.735, 10.818, 10.868, 10.952, 11.018, 11.102, 11.152, 11.218, 11.318, 11.368, 11.451, 11.518, 11.585, 11.652, 11.718, 11.802, 11.868, 11.952, 12.018, 12.085, 12.152, 12.235, 12.302, 12.368, 12.452, 12.518, 12.568, 12.652, 12.718, 12.785, 12.852, 12.952, 13.002, 13.085, 13.152, 13.218, 13.302, 13.368, 13.435, 13.518, 13.569, 13.652, 13.719, 13.802, 13.869, 13.902, 14.002, 14.069, 14.135, 14.218, 14.285, 14.352, 14.435, 14.502, 14.585, 14.635, 14.719, 14.785, 14.852, 14.919, 15.002, 15.069, 15.135, 15.202, 15.285, 15.352, 15.435, 15.485, 15.569, 15.635, 15.719, 15.785, 15.852, 15.935, 15.985, 16.069, 16.135, 16.202, 16.285]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126{ "track": "demos", "engine": "isaac", "item": "IRIS+7dfa2da3+2023-05-05-10h-15m-24s", "run_id": "20261114T093117Z", "campaign": "jiarui-2-codebuddy", "cli": "codebuddy", "model": "Hunyuan 4", "model_id": "hy4-preview", "model_family": "hy4-preview", "model_reasoning_effort": "default", "budget_seconds": 900, "told_budget_seconds": 900, "stage": 1, "continued_from": null, "contract": { "name": "demos-isaac", "sha256": "af44f433394898191009349f48f93b66a9e90d871ac7308df6262065899d343f", "track": "demos", "engine": "isaac", "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "blender_version": "5.2.3", "inputs": [ "instruction.txt", "ext1.mp4", "ext2.mp4", "timestamps.json", "cameras.json (both exterior poses and intrinsics)" ], "withheld": [ "groundtruth/: the wrist video and its calibration, the stereo videos, the robot log (trajectory.h5), the end-state label, the measured ground truth", "camera serials and provenance/", "the frozen protocol of the track and engine (data/benchmark/frozen/<track>/<engine>.json)", "other runs" ], "outputs": [ "scene.usda (/World/moved, /World/target, /World/table)", "objects.json", "README.md" ], "self_check": "/isaac-sim/python.sh /work/tools/check_package.py", "budget": { "told": "the first of the session's cumulative budgets, in wall-clock seconds from container start", "resume": "each later budget resumes the same conversation for the rest of its time; each budget is its own run", "enforcement": "the runner kills the container at the deadline; the output as it stands is the result" }, "refinement": null, "isolation": { "container": "Docker: read-only input (and tools), writable output and scratch, temporary credentials; no repository, benchmark ground truth or evaluator files", "network": "an internal network whose only exit is an HTTPS CONNECT proxy (runtime/egress_proxy.py)", "egress_hosts": [ "api.anthropic.com", "platform.claude.com", "chatgpt.com", "auth.openai.com", "opencode.ai", "mcp.exa.ai", "search.parallel.ai" ] }, "protocol": { "file": "data/benchmark/frozen/demos/isaac.json", "sha256": "841a70b178bcde68ba195e17e9ccb04f193646da802baed81b073c80ac344bd2" } }, "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "image_id": "sha256:8d9f9c934457aa3c8e91e8099e35db27b50db287d0eb76a647052c310e754d87", "required_refinement_rounds": null, "gpu_uuid": "GPU-91246d27-fecc-875a-e18a-afb185bc6a18", "egress_mode": "internal_network", "input_snapshot": "input", "tools": "tools", "evaluator_protocol": "evaluator_protocol.json", "output": "output", "log": "generation.jsonl", "status": "budget_expired", "agent_cli": { "cli": "codebuddy", "name": "CodeBuddy Code", "binary": "a pinned codebuddy-code package and its node, mounted read-only (SIMREADY_CODEBUDDY_PREFIX, default the host's codebuddy install)", "login": "the CodeBuddy login file, given to the CLI as a snapshot without its refresh token (the session cannot rotate it)", "billing": "CodeBuddy account (the CLI reports no price)", "tools": "every tool but WebFetch and the server-side media generators ImageGen, ImageEdit, VideoGen (--disallowedTools); WebSearch runs on CodeBuddy's side", "hosts": [ "[redacted-host]", "wb.[redacted]buddy.com" ], "version": "2.182.0", "model": "hy4-preview", "model_family": "hy4-preview" }, "started_at": "2026-11-14T09:31:19.090713+00:00", "model_answered": true, "exit_code": 137, "credential_refresh_persistence": "snapshot_without_refresh_token", "finished_at": "2026-11-14T09:46:20.594972+00:00", "cli_session_id": "01a1d965-ac3e-7966-81f0-046a5b94fa76", "api_retries": 0, "rate_limit_events": 0, "stage_seconds": 901.533, "elapsed_seconds": 901.533, "cost": { "status": "partial", "source": "the CLI's running usage totals (usage_update events)", "usd": null, "usd_basis": "not reported (CodeBuddy account billing)", "credits": 0, "credit_status": "known", "turns": null, "api_seconds": null, "tokens": { "input": 41722, "cache_read": 546112, "cache_write": 0, "output": 3543, "reasoning": null, "total": 591377 }, "wall_seconds": 901.533, "budget_seconds": 900, "stopped_at_budget": true }, "scene_present": false}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152You are rebuilding the scene of a recorded robot demonstration as a simulation-ready Isaac Sim scene. A realFranka Panda with a Robotiq 2F-85 gripper did this task:
Put the red marker inside the grey bowl
Inputs (read-only, /work/input):- instruction.txt: the task above.- ext1.mp4 and ext2.mp4: the two fixed exterior cameras, 1280x720, filming at the same time from different places.- timestamps.json: seconds per video frame for each video, on one clock from the first frame. The videos' containers say 60 fps, which is wrong: frames are about 67 ms apart, so use these times.- cameras.json: "ext1" and "ext2" each have "pose_camera_to_base", a 4x4 matrix, and intrinsics. A camera's +Z looks forward, +X is right and +Y is down; u = fx*x/z+cx, v = fy*y/z+cy.The calibration is metric: a point seen by both exterior cameras can be triangulated to its real position, which givesreal sizes, heights and distances.Look at frames of both videos before modelling: extract them with /usr/local/bin/ffmpeg, and open them with the Read tool. Listing filesdoes not count as viewing.
The world frame is the robot's base: metres, kilograms, +Z up, +X forward from the robot, origin at the centre of the arm's base where itis mounted. Use the cameras' poses to place things. You are not given the robot's joint angles or gripper pose.
Rebuild what the robot's task depends on, where it really is:- "moved": the object the robot picks up. One rigid body, free to move, resting where it really starts, with mass, friction and collision geometry of its real shape and size. The fingers must be able to close on it as they really did.- "target": what the object is put in or on. One rigid body or static, with collision geometry of its real shape: if it is a vessel, its cavity must be open, since a convex shape would be solid.- "table": the surface they stand on, static, at its real height and extent. If the object is put on the table itself, the table is the target: build it once, as "target", and leave out "table".- anything else the arm could reach in the real scene, static and named, only if it is really there.Give things their real appearance as well. Do not model the robot or anything that moves without contact.The arm stands at the origin: keep the space the real arm moved through, above the table, free of colliders.
Output (/work/output):- scene.usda: a self-contained USD stage for Isaac Sim 6.2, Z-up, metres, kilograms, defaultPrim /World, with no transform on /World. Direct children of /World: /World/moved (UsdPhysics.RigidBodyAPI on that prim, with mass and colliders inside), /World/target (with RigidBodyAPI on that prim, or static) and /World/table (static; left out when the table is the target), plus any others. Nothing with collision outside /World. "moved" and "target" hold no other rigid body. Author no physics scene. No joints, drives, animation, time samples, scripts, graphs, kinematic bodies or robot. PhysX collides a dynamic mesh as a convex shape, so build a concave object from several colliders, or set physics:approximation = "convexDecomposition". Bind a physics material for friction.- objects.json: {"objects": [{"id": "moved", "label": "<its name>"}, {"id": "target", "label": "<its name>"}, {"id": "table", "label": "table"}]}; when the table is the target, list it once, as {"id": "target", "label": "table"}.- README.md: which frames you used, the estimates you made and their uncertainty.
Runtime: /isaac-sim/python.sh YOUR_SCRIPT.py runs Python with Isaac Sim, USD (pxr), PhysX and NumPy. Start scripts with`from isaacsim import SimulationApp; app = SimulationApp({"headless": True})` before importing pxr/omni. Test in a scratch copy withyour own physics scene that the scene loads and rests, render it from ext1's and ext2's calibration, and compare with real frames.
Reconstruct what the videos show; do not replace objects with convenient templates if their shape matters. Mass and friction areestimates. Do not use private data. Download nothing from the internet (no files, models, assets, datasets or packages),and do not look up this demonstration, its videos or the dataset it comes from. Do not read authentication files. You mayuse any tools, including web search, and the software installed here, including Blender (`blender`).
Before finishing run `/isaac-sim/python.sh /work/tools/check_package.py`: it checks the format only, not quality, and prints what to fix.Budget: 900 seconds of wall-clock time; save a valid scene well before the end. Write code and notes in English.123456789101112131415161718192021222324252627"""Check a demonstration package's format, not its quality. Run by the agent: /isaac-sim/python.sh /work/tools/check_package.py [folder]"""from isaacsim import SimulationAppapp = SimulationApp({"headless": True})import json # noqa: E402from pathlib import Path # noqa: E402import sys # noqa: E402
from pxr import Usd # noqa: E402
sys.path.insert(0, str(Path(__file__).parent))from rules import violations # noqa: E402from usd_facts import facts, problems # noqa: E402
folder = Path(sys.argv[1] if len(sys.argv) > 1 else "/work/output")issues = []listed = []if not (folder/"objects.json").is_file(): issues.append("no objects.json")else: listed = json.loads((folder/"objects.json").read_text())["objects"]if not (folder/"scene.usda").is_file(): issues.append("no scene.usda")else: stage = Usd.Stage.Open(str(folder/"scene.usda")) issues += violations(facts(stage))+problems(stage, listed)print("\n".join(issues) or "format ok", flush=True)app.close()12345678910111213141516"""What a demonstration scene may not contain: the robot is not part of the scene, and only contact moves things.
Pure rules over facts read from the file, so MuJoCo (host) and Isaac (container, without this package) share them."""import re
ROBOT_NAME = re.compile(r"(^|[/_])(panda|franka|robotiq|2f.?85|fr3|gripper|end.?effector|finger|robot|manipulator|yam|sharpa|i2rt|xarm|ufactory)", re.I)FACTS = ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")RULES = {"actuators": "actuators or drives", "keyframes": "keyframes", "welds": "welds or fixed joints", "mocap": "mocap or kinematic bodies", "robot_names": "a submitted robot", "animated": "scripted motion: time-sampled transforms", "scripts": "scripted motion: graphs or scripts", "initial_velocity": "a body started in motion", "gravity_off": "a body exempt from gravity", "plugins": "plugins"}
def violations(facts): """Every broken rule, each with what broke it. Reject on any: a scene that passes the check can only move by contact.""" return [f"{RULES[key]}: {', '.join(map(str, facts[key][:5]))}" for key in FACTS if facts.get(key)]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102"""What a USD stage says about the rules' facts, read from the stage alone. Runs inside the Isaac Sim container."""import numpy as npfrom pxr import Gf, Usd, UsdGeom, UsdPhysics, PhysxSchema
from rules import ROBOT_NAME
def facts(stage): """The rules' facts.""" out = {k: [] for k in ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")} for prim in stage.Traverse(): path, kind = str(prim.GetPath()), prim.GetTypeName() if ROBOT_NAME.search(prim.GetName()): out["robot_names"].append(path) if prim.IsA(UsdPhysics.FixedJoint): out["welds"].append(path) if any("Drive" in str(a) or "Mimic" in str(a) for a in prim.GetAppliedSchemas()): out["actuators"].append(path) if kind in ("OmniGraph", "ComputeGraph", "OmniGraphNode") or "OmniGraph" in kind: out["scripts"].append(path) if prim.HasAttribute("omni:scripting:scripts"): out["scripts"].append(path) for attribute in prim.GetAttributes(): if attribute.GetNumTimeSamples() > 0: out["animated"].append(str(attribute.GetPath())) if prim.HasAPI(UsdPhysics.RigidBodyAPI): body = UsdPhysics.RigidBodyAPI(prim) if body.GetKinematicEnabledAttr().Get(): out["mocap"].append(path) for get in (body.GetVelocityAttr, body.GetAngularVelocityAttr): value = get().Get() if value is not None and any(abs(v) > 1e-9 for v in value): out["initial_velocity"].append(path) if prim.HasAPI(PhysxSchema.PhysxRigidBodyAPI) and PhysxSchema.PhysxRigidBodyAPI(prim).GetDisableGravityAttr().Get(): out["gravity_off"].append(path) return out
def with_colliders(stage): """Names of /World's children holding collision geometry: all of them are measured for contact, listed or not.""" world = stage.GetPrimAtPath("/World") return [child.GetName() for child in world.GetChildren() if any(p.HasAPI(UsdPhysics.CollisionAPI) for p in Usd.PrimRange(child))]
def problems(stage, objects): """Why a stage cannot be measured: the names and shape the contract asks for.""" found = [] world = stage.GetPrimAtPath("/World") if not world or not world.IsValid(): return ["no /World prim"] matrix = UsdGeom.Xformable(world).ComputeLocalToWorldTransform(Usd.TimeCode.Default()) if not Gf.IsClose(matrix, Gf.Matrix4d(1.), 1e-9): found.append("/World has a transform") ids = [o["id"] for o in objects] for name in ("moved", "target"): if name not in ids: found.append(f'objects.json lists no "{name}"') for name in ids: if not stage.GetPrimAtPath("/World/"+name).IsValid(): found.append(f"no prim /World/{name}") moved = stage.GetPrimAtPath("/World/moved") if moved.IsValid() and not moved.HasAPI(UsdPhysics.RigidBodyAPI): found.append("/World/moved is not a rigid body") for name in ("moved", "target"): prim = stage.GetPrimAtPath("/World/"+name) if prim.IsValid(): if any(p != prim and p.HasAPI(UsdPhysics.RigidBodyAPI) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has another rigid body inside it") if not any(p.IsA(UsdGeom.Gprim) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has no geometry") for prim in stage.Traverse(): if prim.HasAPI(UsdPhysics.CollisionAPI) and not str(prim.GetPath()).startswith("/World/"): found.append(f"collider outside /World: {prim.GetPath()}") return found
def corners(stage, prim): """Points bounding a body's colliders, or its geometry if it has none, in the body's own frame: a Cube's corners, a Mesh's points, otherwise its local box.""" root = UsdGeom.Xformable(prim).ComputeLocalToWorldTransform(Usd.TimeCode.Default()).GetInverse() shapes = [p for p in Usd.PrimRange(prim) if p.IsA(UsdGeom.Gprim)] def collides(shape): while shape != prim.GetParent(): if shape.HasAPI(UsdPhysics.CollisionAPI): return True shape = shape.GetParent() return False shapes = [s for s in shapes if collides(s)] or shapes cache = UsdGeom.BBoxCache(Usd.TimeCode.Default(), ["default", "render", "proxy"]) out = [] for shape in shapes: matrix = UsdGeom.Xformable(shape).ComputeLocalToWorldTransform(Usd.TimeCode.Default())*root if shape.IsA(UsdGeom.Cube): size = UsdGeom.Cube(shape).GetSizeAttr().Get() local = np.array(np.meshgrid([-1, 1], [-1, 1], [-1, 1])).T.reshape(-1, 3)*size/2 elif shape.IsA(UsdGeom.Mesh) and UsdGeom.Mesh(shape).GetPointsAttr().Get(): local = np.array(UsdGeom.Mesh(shape).GetPointsAttr().Get(), dtype=float) else: box = cache.ComputeUntransformedBound(shape).GetRange() low, high = np.array(box.GetMin()), np.array(box.GetMax()) local = np.array(np.meshgrid(*zip(low, high))).T.reshape(-1, 3) out += [np.array(matrix.Transform(tuple(float(v) for v in point)), dtype=float) for point in local] return np.array(out)123version https://git-lfs.github.com/spec/v1oid sha256:1e7e6247dbceddaf073778b6a27b3aa8eaac570288cfe0fd9d0bcabd3ca76d0fsize 1563557712345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ "ext1": { "fx": 522.48388671875, "fy": 522.48388671875, "cx": 640.491943359375, "cy": 353.2306213378906, "width": 1280, "height": 720, "pose_camera_to_base": [ [ 0.7311615222655274, -0.4108494805382829, 0.5446150316505959, 0.37667660713159923 ], [ -0.6777165541248824, -0.5288555038159775, 0.5108934608591537, -0.43721052403399635 ], [ 0.07812234394494152, -0.7426402631321382, -0.6651182894429957, 0.44948656329281855 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }, "ext2": { "fx": 522.8915405273438, "fy": 522.8915405273438, "cx": 639.2359008789062, "cy": 352.5015563964844, "width": 1280, "height": 720, "pose_camera_to_base": [ [ -0.911333103768181, -0.28108146800769385, 0.30077430461875204, 0.47877331393209577 ], [ -0.4094058016493902, 0.6953401259206454, -0.5906682646464777, 0.39752767371836245 ], [ -0.0431145399149086, -0.6614342882156178, -0.748762858868297, 0.4318057414131394 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }}123version https://git-lfs.github.com/spec/v1oid sha256:8775120edf4af16c4fd79ad9ed1609d266a87155fdfcbea5e0e0b41e4bb1bacesize 3110749123version https://git-lfs.github.com/spec/v1oid sha256:3624a6129ca44e1cc14f36bb8bedb16dec44b9bdc22bdd430072a1282944444esize 24774641Put the black marker in the grey bowl1{"ext1": [0.006, 0.09, 0.14, 0.223, 0.29, 0.357, 0.423, 0.507, 0.573, 0.64, 0.707, 0.79, 0.856, 0.923, 0.99, 1.057, 1.14, 1.223, 1.273, 1.34, 1.423, 1.49, 1.557, 1.64, 1.69, 1.773, 1.84, 1.907, 1.99, 2.057, 2.123, 2.19, 2.257, 2.34, 2.407, 2.49, 2.557, 2.623, 2.69, 2.773, 2.84, 2.907, 2.99, 3.04, 3.123, 3.19, 3.273, 3.323, 3.407, 3.49, 3.54, 3.607, 3.69, 3.757, 3.84, 3.907, 3.973, 4.057, 4.123, 4.19, 4.257, 4.34, 4.407, 4.49, 4.54, 4.623, 4.69, 4.757, 4.84, 4.924, 4.99, 5.057, 5.107, 5.19, 5.257, 5.323, 5.407, 5.473, 5.54, 5.624, 5.674, 5.774, 5.84, 5.907, 5.974, 6.041, 6.107, 6.19, 6.257, 6.34, 6.407, 6.474, 6.54, 6.624, 6.69, 6.757, 6.84, 6.907, 6.974, 7.04, 7.124, 7.207, 7.257, 7.34, 7.407, 7.474, 7.54, 7.607, 7.69, 7.757, 7.824, 7.907, 7.957, 8.057, 8.124, 8.19, 8.257, 8.34, 8.39, 8.474, 8.54, 8.607, 8.69, 8.74, 8.824, 8.89, 8.957, 9.04, 9.107, 9.174, 9.257, 9.324, 9.391, 9.474, 9.524, 9.591, 9.674, 9.741, 9.807, 9.89, 9.957, 10.04, 10.107, 10.157, 10.241, 10.324, 10.391, 10.457, 10.524, 10.591, 10.674, 10.741, 10.807], "ext2": [0.0, 0.067, 0.15, 0.217, 0.283, 0.367, 0.433, 0.517, 0.567, 0.65, 0.7, 0.783, 0.867, 0.934, 1.0, 1.067, 1.133, 1.217, 1.283, 1.35, 1.417, 1.5, 1.567, 1.633, 1.7, 1.767, 1.834, 1.917, 1.984, 2.05, 2.134, 2.2, 2.284, 2.35, 2.417, 2.484, 2.55, 2.634, 2.7, 2.784, 2.85, 2.917, 2.984, 3.05, 3.134, 3.2, 3.267, 3.334, 3.417, 3.484, 3.55, 3.634, 3.684, 3.767, 3.834, 3.917, 3.967, 4.067, 4.117, 4.2, 4.267, 4.317, 4.4, 4.467, 4.55, 4.617, 4.703, 4.767, 4.834, 4.9, 4.967, 5.067, 5.117, 5.184, 5.267, 5.334, 5.4, 5.484, 5.55, 5.617, 5.684, 5.75, 5.817, 5.9, 5.967, 6.05, 6.117, 6.2, 6.267, 6.334, 6.401, 6.467, 6.534, 6.617, 6.684, 6.767, 6.834, 6.901, 6.967, 7.034, 7.117, 7.2, 7.251, 7.334, 7.401, 7.484, 7.534, 7.617, 7.684, 7.767, 7.834, 7.901, 7.967, 8.051, 8.101, 8.184, 8.251, 8.334, 8.384, 8.467, 8.534, 8.617, 8.684, 8.751, 8.817, 8.901, 8.967, 9.051, 9.101, 9.184, 9.234, 9.317, 9.384, 9.451, 9.534, 9.617, 9.667, 9.751, 9.817, 9.901, 9.967, 10.034, 10.101, 10.184, 10.251, 10.317, 10.384, 10.451, 10.517, 10.584, 10.667, 10.751, 10.817]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126{ "track": "demos", "engine": "isaac", "item": "IRIS+7dfa2da3+2023-05-05-11h-22m-24s", "run_id": "20261114T053038Z", "campaign": "jiarui-2-codebuddy", "cli": "codebuddy", "model": "Hunyuan 4", "model_id": "hy4-preview", "model_family": "hy4-preview", "model_reasoning_effort": "default", "budget_seconds": 2700, "told_budget_seconds": 2700, "stage": 1, "continued_from": null, "contract": { "name": "demos-isaac", "sha256": "af44f433394898191009349f48f93b66a9e90d871ac7308df6262065899d343f", "track": "demos", "engine": "isaac", "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "blender_version": "5.2.3", "inputs": [ "instruction.txt", "ext1.mp4", "ext2.mp4", "timestamps.json", "cameras.json (both exterior poses and intrinsics)" ], "withheld": [ "groundtruth/: the wrist video and its calibration, the stereo videos, the robot log (trajectory.h5), the end-state label, the measured ground truth", "camera serials and provenance/", "the frozen protocol of the track and engine (data/benchmark/frozen/<track>/<engine>.json)", "other runs" ], "outputs": [ "scene.usda (/World/moved, /World/target, /World/table)", "objects.json", "README.md" ], "self_check": "/isaac-sim/python.sh /work/tools/check_package.py", "budget": { "told": "the first of the session's cumulative budgets, in wall-clock seconds from container start", "resume": "each later budget resumes the same conversation for the rest of its time; each budget is its own run", "enforcement": "the runner kills the container at the deadline; the output as it stands is the result" }, "refinement": null, "isolation": { "container": "Docker: read-only input (and tools), writable output and scratch, temporary credentials; no repository, benchmark ground truth or evaluator files", "network": "an internal network whose only exit is an HTTPS CONNECT proxy (runtime/egress_proxy.py)", "egress_hosts": [ "api.anthropic.com", "platform.claude.com", "chatgpt.com", "auth.openai.com", "opencode.ai", "mcp.exa.ai", "search.parallel.ai" ] }, "protocol": { "file": "data/benchmark/frozen/demos/isaac.json", "sha256": "841a70b178bcde68ba195e17e9ccb04f193646da802baed81b073c80ac344bd2" } }, "engine_version": "6.2.0", "image": "simready-isaac-generation:latest", "image_id": "sha256:8d9f9c934457aa3c8e91e8099e35db27b50db287d0eb76a647052c310e754d87", "required_refinement_rounds": null, "gpu_uuid": "GPU-156df29c-cc73-4c8a-2b1e-bf906b411c59", "egress_mode": "internal_network", "input_snapshot": "input", "tools": "tools", "evaluator_protocol": "evaluator_protocol.json", "output": "output", "log": "generation.jsonl", "status": "budget_expired", "agent_cli": { "cli": "codebuddy", "name": "CodeBuddy Code", "binary": "a pinned codebuddy-code package and its node, mounted read-only (SIMREADY_CODEBUDDY_PREFIX, default the host's codebuddy install)", "login": "the CodeBuddy login file, given to the CLI as a snapshot without its refresh token (the session cannot rotate it)", "billing": "CodeBuddy account (the CLI reports no price)", "tools": "every tool but WebFetch and the server-side media generators ImageGen, ImageEdit, VideoGen (--disallowedTools); WebSearch runs on CodeBuddy's side", "hosts": [ "[redacted-host]", "wb.[redacted]buddy.com" ], "version": "2.182.0", "model": "hy4-preview", "model_family": "hy4-preview" }, "started_at": "2026-11-14T05:30:39.480274+00:00", "model_answered": true, "exit_code": 137, "credential_refresh_persistence": "snapshot_without_refresh_token", "finished_at": "2026-11-14T06:15:41.563559+00:00", "cli_session_id": "01a1d889-5778-72d3-9022-d030b0ab8c79", "api_retries": 0, "rate_limit_events": 0, "stage_seconds": 2702.219, "elapsed_seconds": 2702.219, "cost": { "status": "partial", "source": "the CLI's running usage totals (usage_update events)", "usd": null, "usd_basis": "not reported (CodeBuddy account billing)", "credits": 0, "credit_status": "known", "turns": null, "api_seconds": null, "tokens": { "input": 106616, "cache_read": 946560, "cache_write": 0, "output": 43439, "reasoning": null, "total": 1096615 }, "wall_seconds": 2702.219, "budget_seconds": 2700, "stopped_at_budget": true }, "scene_present": false}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152You are rebuilding the scene of a recorded robot demonstration as a simulation-ready Isaac Sim scene. A realFranka Panda with a Robotiq 2F-85 gripper did this task:
Put the black marker in the grey bowl
Inputs (read-only, /work/input):- instruction.txt: the task above.- ext1.mp4 and ext2.mp4: the two fixed exterior cameras, 1280x720, filming at the same time from different places.- timestamps.json: seconds per video frame for each video, on one clock from the first frame. The videos' containers say 60 fps, which is wrong: frames are about 67 ms apart, so use these times.- cameras.json: "ext1" and "ext2" each have "pose_camera_to_base", a 4x4 matrix, and intrinsics. A camera's +Z looks forward, +X is right and +Y is down; u = fx*x/z+cx, v = fy*y/z+cy.The calibration is metric: a point seen by both exterior cameras can be triangulated to its real position, which givesreal sizes, heights and distances.Look at frames of both videos before modelling: extract them with /usr/local/bin/ffmpeg, and open them with the Read tool. Listing filesdoes not count as viewing.
The world frame is the robot's base: metres, kilograms, +Z up, +X forward from the robot, origin at the centre of the arm's base where itis mounted. Use the cameras' poses to place things. You are not given the robot's joint angles or gripper pose.
Rebuild what the robot's task depends on, where it really is:- "moved": the object the robot picks up. One rigid body, free to move, resting where it really starts, with mass, friction and collision geometry of its real shape and size. The fingers must be able to close on it as they really did.- "target": what the object is put in or on. One rigid body or static, with collision geometry of its real shape: if it is a vessel, its cavity must be open, since a convex shape would be solid.- "table": the surface they stand on, static, at its real height and extent. If the object is put on the table itself, the table is the target: build it once, as "target", and leave out "table".- anything else the arm could reach in the real scene, static and named, only if it is really there.Give things their real appearance as well. Do not model the robot or anything that moves without contact.The arm stands at the origin: keep the space the real arm moved through, above the table, free of colliders.
Output (/work/output):- scene.usda: a self-contained USD stage for Isaac Sim 6.2, Z-up, metres, kilograms, defaultPrim /World, with no transform on /World. Direct children of /World: /World/moved (UsdPhysics.RigidBodyAPI on that prim, with mass and colliders inside), /World/target (with RigidBodyAPI on that prim, or static) and /World/table (static; left out when the table is the target), plus any others. Nothing with collision outside /World. "moved" and "target" hold no other rigid body. Author no physics scene. No joints, drives, animation, time samples, scripts, graphs, kinematic bodies or robot. PhysX collides a dynamic mesh as a convex shape, so build a concave object from several colliders, or set physics:approximation = "convexDecomposition". Bind a physics material for friction.- objects.json: {"objects": [{"id": "moved", "label": "<its name>"}, {"id": "target", "label": "<its name>"}, {"id": "table", "label": "table"}]}; when the table is the target, list it once, as {"id": "target", "label": "table"}.- README.md: which frames you used, the estimates you made and their uncertainty.
Runtime: /isaac-sim/python.sh YOUR_SCRIPT.py runs Python with Isaac Sim, USD (pxr), PhysX and NumPy. Start scripts with`from isaacsim import SimulationApp; app = SimulationApp({"headless": True})` before importing pxr/omni. Test in a scratch copy withyour own physics scene that the scene loads and rests, render it from ext1's and ext2's calibration, and compare with real frames.
Reconstruct what the videos show; do not replace objects with convenient templates if their shape matters. Mass and friction areestimates. Do not use private data. Download nothing from the internet (no files, models, assets, datasets or packages),and do not look up this demonstration, its videos or the dataset it comes from. Do not read authentication files. You mayuse any tools, including web search, and the software installed here, including Blender (`blender`).
Before finishing run `/isaac-sim/python.sh /work/tools/check_package.py`: it checks the format only, not quality, and prints what to fix.Budget: 2700 seconds of wall-clock time; save a valid scene well before the end. Write code and notes in English.123456789101112131415161718192021222324252627"""Check a demonstration package's format, not its quality. Run by the agent: /isaac-sim/python.sh /work/tools/check_package.py [folder]"""from isaacsim import SimulationAppapp = SimulationApp({"headless": True})import json # noqa: E402from pathlib import Path # noqa: E402import sys # noqa: E402
from pxr import Usd # noqa: E402
sys.path.insert(0, str(Path(__file__).parent))from rules import violations # noqa: E402from usd_facts import facts, problems # noqa: E402
folder = Path(sys.argv[1] if len(sys.argv) > 1 else "/work/output")issues = []listed = []if not (folder/"objects.json").is_file(): issues.append("no objects.json")else: listed = json.loads((folder/"objects.json").read_text())["objects"]if not (folder/"scene.usda").is_file(): issues.append("no scene.usda")else: stage = Usd.Stage.Open(str(folder/"scene.usda")) issues += violations(facts(stage))+problems(stage, listed)print("\n".join(issues) or "format ok", flush=True)app.close()12345678910111213141516"""What a demonstration scene may not contain: the robot is not part of the scene, and only contact moves things.
Pure rules over facts read from the file, so MuJoCo (host) and Isaac (container, without this package) share them."""import re
ROBOT_NAME = re.compile(r"(^|[/_])(panda|franka|robotiq|2f.?85|fr3|gripper|end.?effector|finger|robot|manipulator|yam|sharpa|i2rt|xarm|ufactory)", re.I)FACTS = ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")RULES = {"actuators": "actuators or drives", "keyframes": "keyframes", "welds": "welds or fixed joints", "mocap": "mocap or kinematic bodies", "robot_names": "a submitted robot", "animated": "scripted motion: time-sampled transforms", "scripts": "scripted motion: graphs or scripts", "initial_velocity": "a body started in motion", "gravity_off": "a body exempt from gravity", "plugins": "plugins"}
def violations(facts): """Every broken rule, each with what broke it. Reject on any: a scene that passes the check can only move by contact.""" return [f"{RULES[key]}: {', '.join(map(str, facts[key][:5]))}" for key in FACTS if facts.get(key)]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102"""What a USD stage says about the rules' facts, read from the stage alone. Runs inside the Isaac Sim container."""import numpy as npfrom pxr import Gf, Usd, UsdGeom, UsdPhysics, PhysxSchema
from rules import ROBOT_NAME
def facts(stage): """The rules' facts.""" out = {k: [] for k in ("actuators", "keyframes", "welds", "mocap", "robot_names", "animated", "scripts", "initial_velocity", "gravity_off", "plugins")} for prim in stage.Traverse(): path, kind = str(prim.GetPath()), prim.GetTypeName() if ROBOT_NAME.search(prim.GetName()): out["robot_names"].append(path) if prim.IsA(UsdPhysics.FixedJoint): out["welds"].append(path) if any("Drive" in str(a) or "Mimic" in str(a) for a in prim.GetAppliedSchemas()): out["actuators"].append(path) if kind in ("OmniGraph", "ComputeGraph", "OmniGraphNode") or "OmniGraph" in kind: out["scripts"].append(path) if prim.HasAttribute("omni:scripting:scripts"): out["scripts"].append(path) for attribute in prim.GetAttributes(): if attribute.GetNumTimeSamples() > 0: out["animated"].append(str(attribute.GetPath())) if prim.HasAPI(UsdPhysics.RigidBodyAPI): body = UsdPhysics.RigidBodyAPI(prim) if body.GetKinematicEnabledAttr().Get(): out["mocap"].append(path) for get in (body.GetVelocityAttr, body.GetAngularVelocityAttr): value = get().Get() if value is not None and any(abs(v) > 1e-9 for v in value): out["initial_velocity"].append(path) if prim.HasAPI(PhysxSchema.PhysxRigidBodyAPI) and PhysxSchema.PhysxRigidBodyAPI(prim).GetDisableGravityAttr().Get(): out["gravity_off"].append(path) return out
def with_colliders(stage): """Names of /World's children holding collision geometry: all of them are measured for contact, listed or not.""" world = stage.GetPrimAtPath("/World") return [child.GetName() for child in world.GetChildren() if any(p.HasAPI(UsdPhysics.CollisionAPI) for p in Usd.PrimRange(child))]
def problems(stage, objects): """Why a stage cannot be measured: the names and shape the contract asks for.""" found = [] world = stage.GetPrimAtPath("/World") if not world or not world.IsValid(): return ["no /World prim"] matrix = UsdGeom.Xformable(world).ComputeLocalToWorldTransform(Usd.TimeCode.Default()) if not Gf.IsClose(matrix, Gf.Matrix4d(1.), 1e-9): found.append("/World has a transform") ids = [o["id"] for o in objects] for name in ("moved", "target"): if name not in ids: found.append(f'objects.json lists no "{name}"') for name in ids: if not stage.GetPrimAtPath("/World/"+name).IsValid(): found.append(f"no prim /World/{name}") moved = stage.GetPrimAtPath("/World/moved") if moved.IsValid() and not moved.HasAPI(UsdPhysics.RigidBodyAPI): found.append("/World/moved is not a rigid body") for name in ("moved", "target"): prim = stage.GetPrimAtPath("/World/"+name) if prim.IsValid(): if any(p != prim and p.HasAPI(UsdPhysics.RigidBodyAPI) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has another rigid body inside it") if not any(p.IsA(UsdGeom.Gprim) for p in Usd.PrimRange(prim)): found.append(f"/World/{name} has no geometry") for prim in stage.Traverse(): if prim.HasAPI(UsdPhysics.CollisionAPI) and not str(prim.GetPath()).startswith("/World/"): found.append(f"collider outside /World: {prim.GetPath()}") return found
def corners(stage, prim): """Points bounding a body's colliders, or its geometry if it has none, in the body's own frame: a Cube's corners, a Mesh's points, otherwise its local box.""" root = UsdGeom.Xformable(prim).ComputeLocalToWorldTransform(Usd.TimeCode.Default()).GetInverse() shapes = [p for p in Usd.PrimRange(prim) if p.IsA(UsdGeom.Gprim)] def collides(shape): while shape != prim.GetParent(): if shape.HasAPI(UsdPhysics.CollisionAPI): return True shape = shape.GetParent() return False shapes = [s for s in shapes if collides(s)] or shapes cache = UsdGeom.BBoxCache(Usd.TimeCode.Default(), ["default", "render", "proxy"]) out = [] for shape in shapes: matrix = UsdGeom.Xformable(shape).ComputeLocalToWorldTransform(Usd.TimeCode.Default())*root if shape.IsA(UsdGeom.Cube): size = UsdGeom.Cube(shape).GetSizeAttr().Get() local = np.array(np.meshgrid([-1, 1], [-1, 1], [-1, 1])).T.reshape(-1, 3)*size/2 elif shape.IsA(UsdGeom.Mesh) and UsdGeom.Mesh(shape).GetPointsAttr().Get(): local = np.array(UsdGeom.Mesh(shape).GetPointsAttr().Get(), dtype=float) else: box = cache.ComputeUntransformedBound(shape).GetRange() low, high = np.array(box.GetMin()), np.array(box.GetMax()) local = np.array(np.meshgrid(*zip(low, high))).T.reshape(-1, 3) out += [np.array(matrix.Transform(tuple(float(v) for v in point)), dtype=float) for point in local] return np.array(out)12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ "ext1": { "fx": 522.48388671875, "fy": 522.48388671875, "cx": 640.491943359375, "cy": 353.2306213378906, "width": 1280, "height": 720, "pose_camera_to_base": [ [ 0.7311615222655274, -0.4108494805382829, 0.5446150316505959, 0.37667660713159923 ], [ -0.6777165541248824, -0.5288555038159775, 0.5108934608591537, -0.43721052403399635 ], [ 0.07812234394494152, -0.7426402631321382, -0.6651182894429957, 0.44948656329281855 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }, "ext2": { "fx": 522.8915405273438, "fy": 522.8915405273438, "cx": 639.2359008789062, "cy": 352.5015563964844, "width": 1280, "height": 720, "pose_camera_to_base": [ [ -0.911333103768181, -0.28108146800769385, 0.30077430461875204, 0.47877331393209577 ], [ -0.4094058016493902, 0.6953401259206454, -0.5906682646464777, 0.39752767371836245 ], [ -0.0431145399149086, -0.6614342882156178, -0.748762858868297, 0.4318057414131394 ], [ 0.0, 0.0, 0.0, 1.0 ] ] }}.gitattributes+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/cameras.jsonAdded+70
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/ext1.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/ext2.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/instruction.txtAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/input/timestamps.jsonAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/run.jsonAdded+126
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/submitted_prompt.txtAdded+52
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/tools/check_package.pyAdded+27
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/tools/rules.pyAdded+16
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T053757Z/tools/usd_facts.pyAdded+102
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/evaluator_protocol.jsonAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/generation.jsonlAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/cameras.jsonAdded+70
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/ext1.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/ext2.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/instruction.txtAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/input/timestamps.jsonAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/run.jsonAdded+126
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/submitted_prompt.txtAdded+52
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/tools/check_package.pyAdded+27
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/tools/rules.pyAdded+16
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T075826Z/tools/usd_facts.pyAdded+102
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/evaluator_protocol.jsonAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/generation.jsonlAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/cameras.jsonAdded+70
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/ext1.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/ext2.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/instruction.txtAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/input/timestamps.jsonAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/run.jsonAdded+126
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/submitted_prompt.txtAdded+52
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/tools/check_package.pyAdded+27
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/tools/rules.pyAdded+16
demos/isaac/IRIS+7dfa2da3+2023-05-05-10h-15m-24s/20261114T093117Z/tools/usd_facts.pyAdded+102
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/evaluator_protocol.jsonAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/generation.jsonlAdded+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/cameras.jsonAdded+70
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/ext1.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/ext2.mp4Added+3
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/instruction.txtAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/input/timestamps.jsonAdded+1
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/run.jsonAdded+126
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/submitted_prompt.txtAdded+52
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/tools/check_package.pyAdded+27
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/tools/rules.pyAdded+16
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T053038Z/tools/usd_facts.pyAdded+102
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T074251Z/evaluator_protocol.jsonAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T074251Z/generation.jsonlAdded
demos/isaac/IRIS+7dfa2da3+2023-05-05-11h-22m-24s/20261114T074251Z/input/cameras.jsonAdded+70