habitat_sim.gfx.SimulatorBackend class

Static methods

def get_active_scene_graph(…)
PYTHON DOES NOT GET OWNERSHIP
def get_active_semantic_scene_graph(…)
PYTHON DOES NOT GET OWNERSHIP
def get_object_motion_type(…)
def recompute_navmesh(…)
def set_object_motion_type(…)

Methods

def add_object(self, object_lib_index: int, scene_id: int = 0) -> int
def apply_force(self, force: magnum.Vector3, relative_position: magnum.Vector3, object_id: int, sceneID: int = 0) -> None
def apply_torque(self, torque: magnum.Vector3, object_id: int, sceneID: int = 0) -> None
def get_existing_object_ids(self, sceneID: int = 0) -> typing.List[int]
def get_physics_object_library_size(self, /) -> int
def get_rotation(self, object_id: int, sceneID: int = 0) -> magnum.Quaternion
def get_transformation(self, object_id: int, sceneID: int = 0) -> magnum.Matrix4
def get_translation(self, object_id: int, sceneID: int = 0) -> magnum.Vector3
def get_world_time(self, /) -> float
def reconfigure(self, configuration: SimulatorConfiguration) -> None
def remove_object(self, object_id: int, sceneID: int = 0) -> int
def reset(self, /) -> None
def seed(self, new_seed: int) -> None
def set_rotation(self, rotation: magnum.Quaternion, object_id: int, sceneID: int = 0) -> None
def set_transformation(self, transform: magnum.Matrix4, object_id: int, sceneID: int = 0) -> None
def set_translation(self, translation: magnum.Vector3, object_id: int, sceneID: int = 0) -> None
def step_world(self, dt: float = 0.016666666666666666) -> float

Special methods

def __init__(self, arg0: SimulatorConfiguration, /) -> None

Properties

gpu_device: int get
renderer: Renderer get
semantic_scene get