2020-02-09 15:36:16 +00:00
|
|
|
// Copyright 2020, Collabora, Ltd.
|
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
|
|
/*!
|
|
|
|
* @file
|
|
|
|
* @brief Interface to RealSense devices.
|
|
|
|
* @author Jakob Bornecrantz <jakob@collabora.com>
|
|
|
|
* @ingroup drv_rs
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*!
|
2020-03-02 18:33:10 +00:00
|
|
|
* @defgroup drv_rs Intel RealSense driver
|
2020-02-09 15:36:16 +00:00
|
|
|
* @ingroup drv
|
|
|
|
*
|
2020-03-02 18:33:10 +00:00
|
|
|
* @brief Driver for the SLAM-capable Intel Realsense devices.
|
2020-02-09 15:36:16 +00:00
|
|
|
*/
|
|
|
|
|
2021-09-17 14:08:01 +00:00
|
|
|
#define RS_TRACKING_DISABLED -1
|
|
|
|
#define RS_TRACKING_UNSPECIFIED 0
|
|
|
|
#define RS_TRACKING_DEVICE_SLAM 1
|
|
|
|
#define RS_TRACKING_HOST_SLAM 2
|
2020-02-09 15:36:16 +00:00
|
|
|
|
2021-02-09 16:38:35 +00:00
|
|
|
/*!
|
|
|
|
* Create a auto prober for rs devices.
|
|
|
|
*
|
|
|
|
* @ingroup drv_rs
|
|
|
|
*/
|
|
|
|
struct xrt_auto_prober *
|
|
|
|
rs_create_auto_prober(void);
|
|
|
|
|
2020-02-09 15:36:16 +00:00
|
|
|
/*!
|
|
|
|
* @dir drivers/realsense
|
|
|
|
*
|
|
|
|
* @brief @ref drv_rs files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|