pyrealsense2.software_device¶
- class pyrealsense2.software_device¶
- __init__(self: pyrealsense2.software_device) None ¶
Methods
__init__
(self)add_sensor
(self, name)Add software sensor with given name to the software device.
add_to
(self, ctx)Add software device to existing context.
as_auto_calibrated_device
(self)as_calibration_change_device
(self)as_debug_protocol
(self)as_device_calibration
(self)as_firmware_logger
(self)as_playback
(self)as_recorder
(self)as_updatable
(self)as_update_device
(self)create_matcher
(self, matcher)Set the wanted matcher type that will be used by the syncer
first_color_sensor
(self)first_depth_sensor
(self)first_fisheye_sensor
(self)first_motion_sensor
(self)first_pose_sensor
(self)first_roi_sensor
(self)get_info
(self, info)Retrieve camera specific information, like versions of various internal components
hardware_reset
(self)Send hardware reset request to the device
is_auto_calibrated_device
(self)is_calibration_change_device
(self)is_connected
(self)is_debug_protocol
(self)is_device_calibration
(self)is_firmware_logger
(self)is_metadata_enabled
(self)is_playback
(self)is_recorder
(self)is_updatable
(self)is_update_device
(self)query_sensors
(self)Returns the list of adjacent devices, sharing the same physical parent composite device.
register_info
(self, info, val)Add a new camera info value, like serial number
set_destruction_callback
(self, callback)Register destruction callback
supports
(self, info)Check if specific camera info is supported.
update_info
(self, info, val)Update an existing camera info value, like serial number
Attributes
sensors
List of adjacent devices, sharing the same physical parent composite device.
- add_sensor(self: pyrealsense2.software_device, name: str) pyrealsense2.software_sensor ¶
Add software sensor with given name to the software device.
- add_to(self: pyrealsense2.software_device, ctx: pyrealsense2.context) None ¶
Add software device to existing context. Any future queries on the context will return this device. This operation cannot be undone (except for destroying the context)
- create_matcher(self: pyrealsense2.software_device, matcher: pyrealsense2.matchers) None ¶
Set the wanted matcher type that will be used by the syncer
- register_info(self: pyrealsense2.software_device, info: pyrealsense2.camera_info, val: str) None ¶
Add a new camera info value, like serial number
- set_destruction_callback(self: pyrealsense2.software_device, callback: Callable[[], None]) None ¶
Register destruction callback
- update_info(self: pyrealsense2.software_device, info: pyrealsense2.camera_info, val: str) None ¶
Update an existing camera info value, like serial number