habitat.datasets.rearrange.samplers.art_sampler.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 __init__(self, ao_handle: str, link_name: str, state_range: typing.Tuple[float, float]) -> None