newton.actuators.register_actuator_component#

newton.actuators.register_actuator_component(schema_name, component_class, kind)[source]#

Register a USD API schema for actuator parsing.

Parameters:
  • schema_name (str) – USD API schema token (e.g. "MyCustomControlAPI"). Must be registered with pxr.Usd.SchemaRegistry.

  • component_class (type | Callable[[dict[str, Any]], type]) – Concrete class, or a callable that receives the parsed kwargs dict and returns the concrete class. A callable may also validate kwargs and raise ValueError.

  • kind (ComponentKind) – Whether this schema is a controller, clamping, delay, etc.

If schema_name is already registered, a warning is emitted and the existing entry is overwritten.