"""Run inside Isaac Lab's Python (isaaclab.bat -p). Simulation-tested · Not built. MODEL-LOAD (USD) probe: loads package/robot/robot.usd as an Isaac Lab Articulation in one physics backend, root link fixed (bench pose, gravity on), and drives the four servo joints through a hold / +half-range / -half-range sequence. Records: load errors, articulation joint and body names, finite state, joint limits respected, servo tracking at the end of each hold, and the coupling of the five mimic followers (rack slides vs their servo, strap_pivot_r vs strap_pivot_l, as the backend actually simulates them). Results are merged into under the backend's name. Servo gains (kp, kv) are read from robot/robot.xml's position actuators (generated from spec.yaml), not copied here. Coupling references (leader, multiplier, offset) are read from robot/robot.urdf's tags (generated from spec.yaml). usage: isaaclab.bat -p usd_load_probe.py --physics isaacsim_physx|newton_mjwarp """ import argparse import json import math import os import time import traceback import xml.etree.ElementTree as ET from isaaclab.app import add_launcher_args, launch_simulation parser = argparse.ArgumentParser() parser.add_argument("usd") parser.add_argument("out") parser.add_argument("mjcf") parser.add_argument("urdf") parser.add_argument("--physics", default="isaacsim_physx", choices=["isaacsim_physx", "newton_mjwarp"]) parser.add_argument("--dt", type=float, default=None, help="physics dt [s]; default: robot.xml