simready-foundation-conform-fet-022-physx
Use for repairing exact FET022_DrivenJoints.PhysX SimReady conformance for PhysX driven-joint conformance. Use when a profile, validation report, or user request names FET022_DrivenJoints.PhysX; defau
Files3
View on GitHubSKILL.mdskills/simready-foundation-conform-fet-022-physx/SKILL.md
GitHubSimReady Conform FET022_DrivenJoints.PhysX
OpenUSD Competence
Running this conform skill is expert USD authoring. Reason from the OpenUSD /
Pixar USD spec rather than pattern-matching a validator message: composition
arcs and LIVRPS strength ordering, value resolution and list editing
(prepend, append, explicit, delete), the def/over/class
specifiers, native instancing and model hierarchy, stage units and up-axis,
and the UsdGeom, UsdShade, and UsdPhysics schemas. Make the exact native
edit on the correct prim, arc, and layer, derive values from the asset's real
geometry and composition, then reopen the composed stage to confirm the
opinion resolves as intended before claiming the gate passes. Never fabricate
data to satisfy a validator token. The repository-root AGENTS.md
"Master-Level OpenUSD Competence for Conform Work" section is the full
statement.
Purpose
Use this exact feature skill when the selected profile, validation report, or user request names FET022_DrivenJoints.PhysX. It repairs or stages PhysX driven-joint conformance without drifting into another runtime contract.
Default to FET022_DrivenJoints.PhysX.0-2-0 when the user asks for this feature without a version. Use an older version only when the profile, validation report, or user explicitly pins it. If the report names a different contract, switch to that contract's matching skill before editing.
Source of Truth
Before changing an asset or package, read:
nv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/features/FET022_DrivenJoints.PhysX.0-1-0.jsonnv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/features/FET022_DrivenJoints.PhysX.0-2-0.jsonnv_core/tiers/simready_foundation_tier_core/simready/foundation/tier_core/features/FET022_DrivenJoints.PhysX.md
Treat the selected JSON manifest as authoritative for dependencies and requirement IDs. Use the feature markdown for human-readable contract details, requirement links, samples, runtime tests, and adapters.
Feature Versions
| Version | Dependencies | Requirements |
|---|---|---|
FET022_DrivenJoints.PhysX.0-1-0 |
FET004_Multibody.RobotPhysX.0-1-0 | DJ.001, DJ.002, DJ.003, DJ.004, DJ.005, DJ.006, DJ.007, DJ.011 |
FET022_DrivenJoints.PhysX.0-2-0 |
FET004_Multibody.PhysX.0-4-0 | DJ.001, DJ.002, DJ.003, DJ.004, DJ.005, DJ.006, DJ.007, DJ.011 |
Version FET022_DrivenJoints.PhysX.0-1-0 is retained for compatibility with historical or external
contracts that pin the deprecated FET004_Multibody.RobotPhysX feature. New profile
versions must select FET022_DrivenJoints.PhysX.0-2-0 and its canonical
FET004_Multibody.PhysX.0-4-0 dependency.
PhysX Driven-Joint Authoring & Runtime Calibration
When conforming Robot-Body (and Robot-Gripper) assets to FET022_DrivenJoints.PhysX.0-2-0 and its PhysX benchmark suite (drive_gain_validation, effort_limit, full_range_sweep, ik_target_reach, jacobian_ik, mimic_joint, multi_joint_coordination, state_accuracy, velocity_limit), apply these evidence-based procedures (any named robot models or joints below are illustrative examples only; all repair decisions must derive from the selected asset's topology, measured behavior, and source specifications):
- Axis-specific
PhysicsJointStateAPIplacement andRC.005/RC.006layer hygiene (DJ.001,DJ.002,DJ.003):- Every non-fixed joint (
PhysicsRevoluteJoint->PhysicsJointStateAPI:angular,PhysicsPrismaticJoint->PhysicsJointStateAPI:linear) must have the axis-correctPhysicsJointStateAPI:<axis>applied with finitestate:<axis>:physics:positionandstate:<axis>:physics:velocity. - Author
PhysicsJointStateAPI:<axis>andPhysicsDriveAPI:<axis>(along withstate:<axis>:physics:*anddrive:<axis>:physics:*) in the shared physics layer (payloads/Physics/physics.usda), not inpayloads/robot.usda,payloads/base.usda, orpayloads/instances.usda, soCAP000_Core.Isaac(RC.005,RC.006) andDisabled-variant checks pass. Ifpayloads/robot.usdacarries a stalePhysicsJointStateAPI:<axis>opinion, remove it (delete apiSchemas = ["PhysicsJointStateAPI:<axis>"]) and move the schema intophysics.usda. - When
runnables/physics/physx.usdaoverridesdrive:<axis>:physics:*orstate:<axis>:physics:*on a jointover, ensurePhysicsDriveAPI:<axis>andPhysicsJointStateAPI:<axis>remain applied on the composed joint alongsidePhysxJointAPI.
- Every non-fixed joint (
- Finite, positive
drive:<axis>:physics:maxForce(DJ.001):DJ.001requiresdrive:<axis>:physics:maxForceto be authored, finite, and strictly greater than0on every active drive.- Replace non-finite
infvalues (common in URDF conversions such ascomau/n-220-27) with a finite positive limit (or the float32 maximum3.4028235e38when preserving an unbounded source rating), and replace0on passive joints that still carryPhysicsDriveAPIwith a small positive floor such as1e-7(or the mechanism's passive force cap) while zeroingstiffness = 0anddamping = 0. - Conversely, if a source conversion leaves an unrealistically huge
maxForce(e.g.60000) on a lightweight gripper finger joint (Denso/CobottaPro900), reduce it to the physical actuator rating so step commands do not destabilizevelocity_limitor finger contact.
- Pose,
targetPosition, andstate:<axis>:physics:positionconsistency (DJ.001,DJ.003,state_accuracy,effort_limit):DJ.001requires|drive:<axis>:physics:targetPosition - state:<axis>:physics:position| <= 1e-2(and matching velocities), whileDJ.003requires the relative transform betweenphysics:body0(atlocalPos0,localRot0) andphysics:body1(atlocalPos1,localRot1) in the composed stage to matchstate:<axis>:physics:positionwithin1e-4translation and1e-3quaternion orientation (1 - |q0 · q1|).- Do not clamp or shift
targetPosition/statewithout updating link poses (or vice versa):- If a joint's rest pose in
base.usdais at0 deg(e.g.Sawyer,UF850,xArm6,xArm7,Dofbot), reset stale non-zerotargetPositionvalues to0so they matchstate = 0and the composed link transforms. - If a joint's
physics:lowerLimit..upperLimitrange excludes0 deg(for example[47, 313] degand[19, 341] degonKinova/Jaco2joint_2/joint_3or[30, 330] degonj2n7s300joint_2/joint_4, or[0, 170] degonUnitree/Z1), never settargetPosition = 0while leaving the range excluding0: an out-of-range starting pose immediately failseffort_limitandDJ.003. Either keeptargetPositionandstate:<axis>:physics:positionat the in-range rest pose (120 deg/90 deg) and rotate the downstream linkxformOp:translate/xformOp:orienttransforms (andlocalRot0/localPos0if needed) to match that exact angle, or recenter the joint frame and limits around the rest pose (Unitree/Z1). - Preserve valid winding and rest coordinates when
targetPosition,state:<axis>:physics:position, and link transforms are mutually consistent and within[lowerLimit, upperLimit]. Do not replace a valid-360 degstate/target on a finite-limited joint (such as[-360, 360] deg) with0 degwhile leaving the limits unchanged merely to fitstate_accuracywaypoint pacing: equal 3D orientation does not imply equal remaining travel relative to the mechanical stops ([0, +720] degvs.[-360, +360] deg). Only convert a joint's coordinate origin or winding when source evidence establishes a conversion error in the coordinate convention itself — and when doing so, transformlowerLimit,upperLimit,state:<axis>:physics:position,drive:<axis>:physics:targetPosition, and any mimic couplings consistently together. If a short test waypoint budget saturatesphysxJoint:maxJointVelocityfrom a valid rest pose, diagnose the test pacing or initialization rather than altering the asset's rest configuration.
- If a joint's rest pose in
- PhysX drive stiffness and damping balance (
DJ.006,drive_gain_validation,full_range_sweep,multi_joint_coordination,state_accuracy):DJ.006enforces0.0 <= drive:<axis>:physics:stiffness <= 1e6(1000000.0).- Always scale
dampingproportionally when cappingstiffness: When a source asset authors extreme penalty gains (stiffness = 1e7..1e15,damping = 1e11..1e14, as inKuka/KR210_L150,Kuka/LBR_iiwa,Flexiv/Rizon4,Kawasaki/RS*,Techman/TM12), cappingdrive:angular:physics:stiffnessto1e6(or1000) inrunnables/physics/physx.usdawhile leavingdampingat1e11..1e14produces an overdamped time constant $\tau = k_d / k_p \gg 1,\text{s}$ (1e8 sonKR210_L150) that freezes the arm duringfull_range_sweep,state_accuracy, andmulti_joint_coordination. Whenever stiffness is capped to satisfyDJ.006, reducedrive:<axis>:physics:dampingin tandem so the damping-to-stiffness ratio $k_d / k_p$ stays physically responsive (typically $\tau = k_d / k_p \in [0.003, 0.2],\text{s}$, e.g.stiffness = 1e6, damping = 3000onKR210_L150orstiffness = 1000, damping = 100onTM12). - Gravity torque vs. stiffness and source-derived
maxForce: On gravity-loaded shoulder/elbow/wrist joints (for exampleOpenArm/openarm_bimanualjoint1,RobotStudio/so101_new_calibshoulder_lift/elbow_flex, orKinova/Jaco2joint_1..4), iffull_range_sweep,drive_gain_validation, ormulti_joint_coordination(1.0 degsettling tolerance under gravity) sags short of target while actuator effort is not saturated, raise controllerdrive:angular:physics:stiffness(within<= 1e6) and tunedampingto match the link inertia. Do not fabricate or inflatedrive:<axis>:physics:maxForceor alter joint limits to pass a benchmark; only updatemaxForcewhen source specifications (URDF/MJCF/datasheet) establish that the authored USD force limit was mis-converted.
- PhysX joint velocity limits and joint friction (
DJ.005,velocity_limit,full_range_sweep):DJ.005requires every joint withPhysxJointAPIto author a finite, strictly positivephysxJoint:maxJointVelocity > 0(replaceinf,0, or negative values with the physical velocity ceiling in deg/s for revolute or m/s for prismatic joints, e.g.FactoryFrankapanda_joint7).- Preserve source-authored
physxJoint:jointFriction. Opposition to motion is normal physical friction behavior and does not by itself prove a conversion error; do not zero or reducephysxJoint:jointFrictionmerely because friction impedes PD tracking instate_accuracy,full_range_sweep, ormimic_joint. Require concrete evidence of a mistaken source conversion (such as a discrepancy against the source URDF/MJCF<dynamics friction="..."/>or manufacturer specification) before alteringphysxJoint:jointFriction; otherwise preserve the authored friction and diagnose controller authority (stiffness/dampingwithin sourcemaxForce), test pacing, or a runtime limitation.
- PhysX mimic joints — revolute vs. prismatic follower rules and
naturalFrequency(DJ.004,DJ.006,DJ.007,mimic_joint):- Revolute (and non-prismatic) mimic followers: When a revolute joint carries
PhysxMimicJointAPI:<rotAxis>,DJ.004andDJ.006requiredrive:angular:physics:stiffness = 0.0anddrive:angular:physics:damping = 0.0so the PhysX mimic constraint owns the DOF without fighting a position drive. Also ensurePhysxMimicJointAPI:<rotAxis>is actually prepended inapiSchemaswheneverphysxMimicJoint:<rotAxis>:*attributes are authored (for examplePhysxMimicJointAPI:rotYonFanuc/m900*P2). - Prismatic mimic followers (
DJ.004,DJ.006, andmimic_jointmotion ratio): Because PhysX'sDJ.004/DJ.006validator requires non-zerodrive:linear:physics:stiffness > 0on aPhysicsPrismaticJointfollower withPhysxMimicJointAPI, authoring a large follower stiffness (such asstiffness = 1000holdingtargetPosition = 0onFrankaRobotics/FrankaFR3fr3_finger_joint2) creates a strong spring toward0that opposesPhysxMimicJointAPIwhen only the leader finger is commanded inmimic_joint. Author a minimal positive follower stiffness (float drive:linear:physics:stiffness = 1anddamping = 0inrunnables/physics/physx.usda) soDJ.004andDJ.006pass whilePhysxMimicJointAPIdrives the follower with a~1.0motion ratio. - Completing
DJ.007mimic attributes:DJ.007requires a valid singlereferenceJointtarget, finite non-zerogearing, finiteoffset, and finite resolveddampingRatioandnaturalFrequency(plus compatible follower/leader joint limits underfollower = -gearing * reference - offset, with neither joint havingphysics:excludeFromArticulation = true). Preserve authored zero or negativenaturalFrequencyand unauthored zero schema defaults: PhysX usesnaturalFrequency <= 0for rigid coupling without compliance. Positive natural frequency and damping ratio select compliant coupling; non-positive damping also selects rigid coupling. Choose compliance from the mechanism's intended behavior; zero natural frequency needs no repair. Blocked and malformed values still require correction from source evidence.
- Revolute (and non-prismatic) mimic followers: When a revolute joint carries
- Closed-loop 4-bar / parallel linkages in PhysX (
DJ.004,DJ.007,DJ.011):DJ.011requires the non-excluded articulation subgraph (physics:excludeFromArticulation = false) to be cycle-free and have at most one joint per body pair; break every kinematic loop by settinguniform bool physics:excludeFromArticulation = trueon one joint in the loop (and ensure noPhysxMimicJointAPIis applied to or references an excluded joint, perDJ.007).- On non-excluded passive linkage joints inside a closed loop (such as
P2_01orP2onFanuc/m900*andFanuc/m-2000_*4-bar linkages, or passiveFinger_02/Finger_03linkage joints onYahboom/Dofbot) that do not usePhysxMimicJointAPI, satisfyDJ.004(PhysicsJointHasDriveOrMimicAPI) andDJ.001/DJ.006by applyingPhysicsDriveAPI:angularwith zero stiffness and zero damping (float drive:angular:physics:stiffness = 0,float drive:angular:physics:damping = 0) and a finite positivedrive:angular:physics:maxForce > 0(e.g.1e-7or the linkage rating). Never leave non-zerostiffnessordampingon a passive loop joint: an active drive on a dependent loop coordinate fights the primary actuator (J3orFinger_01) and causes the benchmark to command incompatible targets across the loop.
Workflow
- Confirm the input exists and identify the exact selected feature/version from the profile TOML, validation report, or user request.
- Load the selected
FET022_DrivenJoints.PhysXmanifest and the feature markdown before editing. - Load requirement docs linked from the feature markdown for every reported failing requirement.
- Create or use a staged output location unless the user explicitly asks for in-place edits.
- Repair only the requirements listed by the selected
FET022_DrivenJoints.PhysXmanifest and its dependencies. - Rerun the same profile gate or the narrowest available feature/capability validation gate. If runtime evidence is required and unavailable, report that limitation instead of claiming a pass.
- Summarize the selected
FET022_DrivenJoints.PhysXversion, changed files, validation evidence, and the first remaining blocker or next exact feature gate.
Feature Guidance
- Repair only the requirements listed by the selected
FET022_DrivenJoints.PhysXmanifest and its dependencies. - Do not add schemas, metadata, or runtime behavior for a sibling runtime feature.
- Report missing runtime/tooling evidence as a validation limitation instead of claiming a pass.
Report Fields
| Field | Meaning |
|---|---|
feature |
Exact contract ID, for example FET022_DrivenJoints.PhysX.0-2-0. |
input |
Source asset, package root, or package definition inspected. |
output |
Staged output path, or in-place only when explicitly requested. |
requirements_repaired |
Requirement IDs repaired in this pass. |
validation |
Command or inspection used to verify this exact feature. |
status |
passed, failed, skipped, or blocked. |
next_step |
The next exact feature skill or user/runtime evidence needed. |