newton.actuators.parse_actuator_prim#
- newton.actuators.parse_actuator_prim(prim)[source]#
Parse a USD Actuator prim into a composed actuator specification.
Each detected schema directly maps to a component class with its extracted params. Returns
Noneif the prim is not aNewtonActuator.- Raises:
ValueError – If the prim is a
NewtonActuatorbut: - has no authorednewton:targetsrelationship, - the target prim does not exist or is not aPhysicsRevoluteJoint/PhysicsPrismaticJoint, - has multiple controller schemas applied, - has no controller schema, or - has aNewtonNeuralControlAPIwith an unsupported model.