pyrealsense2.sensor

class pyrealsense2.sensor
__init__(self: pyrealsense2.sensor) → None

Methods

__init__((self: pyrealsense2.sensor) -> None)
as_color_sensor(...)
as_depth_sensor(...)
as_fisheye_sensor(...)
as_motion_sensor(...)
as_pose_sensor(...)
as_roi_sensor(...)
as_wheel_odometer(...)
close((self: pyrealsense2.sensor) -> None) Close sensor for exclusive access.
get_info((self: pyrealsense2.sensor, ...) Retrieve camera specific information, like versions of various internal components.
get_option((self: pyrealsense2.options, ...) Read option value from the device.
get_option_description(...) Get option description.
get_option_range(...) Retrieve the available range of values of a supported option
get_option_value_description(...) Get option value description (In case a specific option value holds special meaning)
get_recommended_filters(...) Return the recommended list of filters by the sensor.
get_stream_profiles(...) Retrieves the list of stream profiles supported by the sensor.
get_supported_options(...) Retrieve list of supported options
is_color_sensor(...)
is_depth_sensor(...)
is_fisheye_sensor(...)
is_motion_sensor(...)
is_option_read_only(...) Check if particular option is read only.
is_pose_sensor(...)
is_roi_sensor(...)
is_wheel_odometer(...)
open(*args, **kwargs) Overloaded function.
set_notifications_callback(...) Register Notifications callback
set_option((self: pyrealsense2.options, ...) Write new value to device option
start(*args, **kwargs) Overloaded function.
stop((self: pyrealsense2.sensor) -> None) Stop streaming.
supports(*args, **kwargs) Overloaded function.

Attributes

profiles The list of stream profiles supported by the sensor.
as_color_sensor(self: pyrealsense2.sensor) → rs2::color_sensor
as_depth_sensor(self: pyrealsense2.sensor) → rs2::depth_sensor
as_fisheye_sensor(self: pyrealsense2.sensor) → rs2::fisheye_sensor
as_motion_sensor(self: pyrealsense2.sensor) → rs2::motion_sensor
as_pose_sensor(self: pyrealsense2.sensor) → rs2::pose_sensor
as_roi_sensor(self: pyrealsense2.sensor) → rs2::roi_sensor
as_wheel_odometer(self: pyrealsense2.sensor) → rs2::wheel_odometer
close(self: pyrealsense2.sensor) → None

Close sensor for exclusive access.

get_info(self: pyrealsense2.sensor, info: pyrealsense2.camera_info) → str

Retrieve camera specific information, like versions of various internal components.

Return the recommended list of filters by the sensor.

get_stream_profiles(self: pyrealsense2.sensor) → List[pyrealsense2.stream_profile]

Retrieves the list of stream profiles supported by the sensor.

is_color_sensor(self: pyrealsense2.sensor) → bool
is_depth_sensor(self: pyrealsense2.sensor) → bool
is_fisheye_sensor(self: pyrealsense2.sensor) → bool
is_motion_sensor(self: pyrealsense2.sensor) → bool
is_pose_sensor(self: pyrealsense2.sensor) → bool
is_roi_sensor(self: pyrealsense2.sensor) → bool
is_wheel_odometer(self: pyrealsense2.sensor) → bool
open(*args, **kwargs)

Overloaded function.

  1. open(self: pyrealsense2.sensor, profile: pyrealsense2.stream_profile) -> None

Open sensor for exclusive access, by commiting to a configuration

  1. open(self: pyrealsense2.sensor, profiles: List[pyrealsense2.stream_profile]) -> None

Open sensor for exclusive access, by committing to a composite configuration, specifying one or more stream profiles.

profiles

The list of stream profiles supported by the sensor. Identical to calling get_stream_profiles

set_notifications_callback(self: pyrealsense2.sensor, callback: Callable[[pyrealsense2.notification], None]) → None

Register Notifications callback

start(*args, **kwargs)

Overloaded function.

  1. start(self: pyrealsense2.sensor, callback: Callable[[pyrealsense2.frame], None]) -> None

Start passing frames into user provided callback.

  1. start(self: pyrealsense2.sensor, syncer: pyrealsense2.syncer) -> None

Start passing frames into user provided syncer.

  1. start(self: pyrealsense2.sensor, queue: pyrealsense2.frame_queue) -> None

start passing frames into specified frame_queue

stop(self: pyrealsense2.sensor) → None

Stop streaming.

supports(*args, **kwargs)

Overloaded function.

  1. supports(self: pyrealsense2.sensor, arg0: pyrealsense2.camera_info) -> bool

info

  1. supports(self: pyrealsense2.sensor, arg0: pyrealsense2.option) -> bool

info