habitat_sim.sensor.CameraSensor class

Static methods

def get_observation(…)

Methods

def is_visual_sensor(self, /) -> bool
def reset_zoom(self, /) -> None
Reset Orthographic Zoom or Perspective FOV.
def set_height(self, arg0: int, /) -> None
Set the height of the resolution in the SensorSpec for this CameraSensor.
def set_projection_params(self, sensor_spec: CameraSensorSpec) -> None
Specify the projection parameters this CameraSensor should use. Should be consumed by first querying this CameraSensor’s SensorSpec and then modifying as necessary.
def set_transformation_from_spec(self, /) -> None
def set_width(self, arg0: int, /) -> None
Set the width of the resolution in SensorSpec for this CameraSensor.
def specification(self, /) -> SensorSpec
def zoom(self, factor: float) -> None
Modify Orthographic Zoom or Perspective FOV multiplicatively by passed amount. User >1 to increase, 0<factor<1 to decrease.

Special methods

def __init__(self, arg0: scene.SceneNode, arg1: CameraSensorSpec, /) -> None

Properties

camera_type: SensorSubType get set
The type of projection (ORTHOGRAPHIC or PINHOLE) this CameraSensor uses.
far: float get
The distance to the far clipping plane this VisualSensor uses.
far_plane_dist: float get set
The distance to the far clipping plane for this CameraSensor uses.
fov: magnum.Deg get set
Set the field of view to use for this CameraSensor. Only applicable to Pinhole Camera Types
framebuffer_size: magnum.Vector2i get
hfov: magnum.Deg get
The Field of View this VisualSensor uses.
near: float get
The distance to the near clipping plane this VisualSensor uses.
near_plane_dist: float get set
The distance to the near clipping plane for this CameraSensor uses.
node: scene.SceneNode get
Node this object is attached to
object: scene.SceneNode get
Alias to node
render_camera: gfx.Camera get
Get the RenderCamera in the sensor (if there is one) for rendering PYTHON DOES NOT GET OWNERSHIP
render_target: gfx.RenderTarget get