Monado OpenXR Runtime
|
Interface to RealSense devices. More...
Go to the source code of this file.
Functions | |
struct xrt_auto_prober * | rs_create_auto_prober (void) |
Create a auto prober for rs devices. More... | |
struct xrt_fs * | rs_source_create (struct xrt_frame_context *xfctx, int device_idx) |
Creates a RealSense SLAM source from the appropriate device_idx . More... | |
struct xrt_device * | rs_create_tracked_device_internal_slam (void) |
Creates an xrt_device that exposes the onboard tracking of a Realsense device (ie. More... | |
Interface to RealSense devices.
struct xrt_device * rs_create_tracked_device_internal_slam | ( | void | ) |
Creates an xrt_device that exposes the onboard tracking of a Realsense device (ie.
probably a T265)
Creates an xrt_device that exposes the onboard tracking of a Realsense device (ie.
References rs_container::context, rs_container::device_count, rs_container::device_list, DO, and find_capable_device().
struct xrt_fs * rs_source_create | ( | struct xrt_frame_context * | xfctx, |
int | device_idx | ||
) |
Creates a RealSense SLAM source from the appropriate device_idx
.
The streaming configuration is loaded from the global config file.
xfctx | Frame context this frameserver lifetime is tied to. |
device_idx | Index of the realsense device to use. Usually 0 if you only have one RealSense device. |
Creates a RealSense SLAM source from the appropriate device_idx
.
References xrt_fs::configure_capture, xrt_fs::enumerate_modes, rs_source::log_level, rs_source_configure_capture(), rs_source_enumerate_modes(), xrt_fs::stream_start, and U_TYPED_CALLOC.