ActuationSpec class
Struct to hold parameters for the default actions
The default actions only have one parameters, the amount they move the scene node by, however other actions may have any number of parameters and can define different structs to hold those parameters
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, amount: float, constraint: typing.Optional[float] = None) -> None
- Method generated by attrs for class ActuationSpec.
- def __ne__(self, other)
- Check equality and either forward a NotImplemented or return the result negated.
Properties
- amount: float get set del
- The amount the control moves the scene node by
- constraint: typing.Optional[float] get set del
- A constraint on the actuation. Currently only applies to the maximum amount the agent can lookup or loopdown
Method documentation
def habitat_sim. agent. ActuationSpec. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.