15#include <librealsense2/rs.h>
16#include <librealsense2/h/rs_pipeline.h>
30 rs2_error *error_status;
62 if (rsc->error_status) rs2_free_error(rsc->error_status);
73 rsc->error_status = NULL;
struct xrt_device * rs_ddev_create(int device_idx)
Create a RealSense device tracked with device-SLAM (T26x).
Definition: rs_ddev.c:443
struct xrt_device * rs_hdev_create(struct xrt_prober *xp, int device_idx)
Create RealSense device tracked with host-SLAM (one with camera and IMU streams)
Definition: rs_hdev.c:991
static void rs_container_cleanup(struct rs_container *rsc)
Cleans up an rs_container and resets its fields to NULL;.
Definition: rs_driver.h:47
Interface to RealSense devices.
Container to store and manage useful objects from the RealSense API.
Definition: rs_driver.h:29
rs2_device * device
Main device.
Definition: rs_driver.h:39
rs2_pipeline * pipeline
RealSense running pipeline.
Definition: rs_driver.h:40
int device_count
Length of device_list.
Definition: rs_driver.h:35
rs2_device_list * device_list
List of connected RealSense devices.
Definition: rs_driver.h:34
rs2_pipeline_profile * profile
Pipeline profile.
Definition: rs_driver.h:42
rs2_config * config
Pipeline streaming configuration.
Definition: rs_driver.h:41
int device_idx
device index in device_list
Definition: rs_driver.h:38
rs2_context * context
RealSense API context.
Definition: rs_driver.h:33
A single HMD or input device.
Definition: xrt_device.h:241
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition: xrt_prober.h:132
Common interface to probe for devices.