concepts.hw_interface.realsense.device.RealSenseDevice#
- class RealSenseDevice[source]#
Bases:
RealSenseInterface
Methods
Capture color and depth images
find_devices
([device_filter])Get devices as detected by RealSense and filter devices that only contain the provided device_filter string in their name.
from_rs_device
(dev)from_serial_number
(serial_number)get_rgbd_image
([format])Start RealSense pipeline
Stop RealSense pipeline
Attributes
- __new__(**kwargs)#
- classmethod find_devices(device_filter='')[source]#
Get devices as detected by RealSense and filter devices that only contain the provided device_filter string in their name. e.g. to filter for D435 only you can call find_devices(“D435”)
- Parameters:
device_filter (str)
- Return type:
- classmethod from_rs_device(dev)[source]#
- Parameters:
dev (<Mock name='mock.device' id='5332271056'>)
- Return type:
- ctx: context' id='5332269712'>] = <Mock name='mock.context()' id='5332270480'>#