habitat.config.default_structured_configs.ForceTerminateMeasurementConfig class

If the force is greater than a certain threshold, this measure will be 1.0 and 0.0 otherwise. Note that if the measure is 1.0, the task will end as a result.

Special methods

def __format__(self, format_spec, /)
Default object formatter.
def __init__(self, type: str = 'ForceTerminate', max_accum_force: float = -1.0, max_instant_force: float = -1.0) -> None
def __repr__(self)

Data

max_accum_force: float = -1.0
max_instant_force: float = -1.0
type: str = 'ForceTerminate'

Method documentation

def habitat.config.default_structured_configs.ForceTerminateMeasurementConfig.__format__(self, format_spec, /)

Default object formatter.

Return str(self) if format_spec is empty. Raise TypeError otherwise.