pyrealsense2.software_sensor

class pyrealsense2.software_sensor
__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add_motion_stream(self, motion_stream[, ...])

Add motion stream to software sensor

add_option(self, option, range[, is_writable])

Register option that will be supported by the sensor

add_pose_stream(self, pose_stream[, is_default])

Add pose stream to software sensor

add_read_only_option(self, option, val)

Register read-only option that will be supported by the sensor

add_video_stream(self, video_stream[, ...])

Add video stream to software sensor

as_color_sensor(self)

as_debug_stream_sensor(self)

as_depth_sensor(self)

as_fisheye_sensor(self)

as_max_usable_range_sensor(self)

as_motion_sensor(self)

as_pose_sensor(self)

as_roi_sensor(self)

as_wheel_odometer(self)

close(self)

Close sensor for exclusive access.

from_frame(frame)

get_active_streams(self)

Retrieves the list of stream profiles currently streaming on the sensor.

get_info(self, info)

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

get_option(self, option)

Read option value from the device.

get_option_description(self, option)

Get option description.

get_option_range(self, option)

Retrieve the available range of values of a supported option

get_option_value(self, arg0)

get_option_value_description(self, option, value)

Get option value description (In case a specific option value holds special meaning)

get_recommended_filters(self)

Return the recommended list of filters by the sensor.

get_stream_profiles(self)

Retrieves the list of stream profiles supported by the sensor.

get_supported_options(self)

Retrieve list of supported options

is_color_sensor(self)

is_debug_stream_sensor(self)

is_depth_sensor(self)

is_fisheye_sensor(self)

is_max_usable_range_sensor(self)

is_motion_sensor(self)

is_option_read_only(self, option)

Check if particular option is read only.

is_pose_sensor(self)

is_roi_sensor(self)

is_wheel_odometer(self)

on_motion_frame(self, frame)

Inject motion frame into the sensor

on_notification(self, notif)

on_options_changed(self, callback)

Sets a callback to notify in case options in this container change value

on_pose_frame(self, frame)

Inject pose frame into the sensor

on_video_frame(self, frame)

Inject video frame into the sensor

open(*args, **kwargs)

Overloaded function.

set_metadata(self, value, type)

Set frame metadata for the upcoming frames

set_notifications_callback(self, callback)

Register Notifications callback

set_option(self, option, value)

Write new value to device option

set_option_value(self, arg0, arg1)

set_read_only_option(self, option, val)

Update value of registered read-only option

start(*args, **kwargs)

Overloaded function.

stop(self)

Stop streaming.

supports(*args, **kwargs)

Overloaded function.

Attributes

name

profiles

The list of stream profiles supported by the sensor.

add_motion_stream(self: pyrealsense2.software_sensor, motion_stream: pyrealsense2.motion_stream, is_default: bool = False) pyrealsense2.stream_profile

Add motion stream to software sensor

add_option(self: pyrealsense2.software_sensor, option: pyrealsense2.option, range: pyrealsense2.option_range, is_writable: bool = True) None

Register option that will be supported by the sensor

add_pose_stream(self: pyrealsense2.software_sensor, pose_stream: pyrealsense2.pose_stream, is_default: bool = False) pyrealsense2.stream_profile

Add pose stream to software sensor

add_read_only_option(self: pyrealsense2.software_sensor, option: pyrealsense2.option, val: float) None

Register read-only option that will be supported by the sensor

add_video_stream(self: pyrealsense2.software_sensor, video_stream: pyrealsense2.video_stream, is_default: bool = False) pyrealsense2.stream_profile

Add video stream to software sensor

on_motion_frame(self: pyrealsense2.software_sensor, frame: pyrealsense2.software_motion_frame) None

Inject motion frame into the sensor

on_notification(self: pyrealsense2.software_sensor, notif: pyrealsense2.software_notification) None
on_pose_frame(self: pyrealsense2.software_sensor, frame: pyrealsense2.software_pose_frame) None

Inject pose frame into the sensor

on_video_frame(self: pyrealsense2.software_sensor, frame: pyrealsense2.software_video_frame) None

Inject video frame into the sensor

set_metadata(self: pyrealsense2.software_sensor, value: pyrealsense2.frame_metadata_value, type: int) None

Set frame metadata for the upcoming frames

set_read_only_option(self: pyrealsense2.software_sensor, option: pyrealsense2.option, val: float) None

Update value of registered read-only option