ArticulatedObjectStateSampler class
Methods
- def sample(self, sim: habitat_sim.simulator.Simulator, receptacles = None) -> typing.Optional[typing.Dict[habitat_sim._ext.habitat_sim_bindings.ManagedArticulatedObject, typing.Dict[int, float]]]
- For all matching AOs in the scene, sample and apply the joint state for this sampler. Return a list of tuples (instance_handle, link_name, state)
Special methods
- def __format__(self, format_spec, /)
- Default object formatter.
- def __init__(self, ao_handle: str, link_name: str, state_range: typing.Tuple[float, float]) -> None
Method documentation
def habitat. datasets. rearrange. samplers. art_sampler. ArticulatedObjectStateSampler. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.