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
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* Create a RelaseSense 6DOF tracker device.
|
|
|
|
*
|
|
|
|
* @ingroup drv_rs
|
|
|
|
*/
|
|
|
|
struct xrt_device *
|
|
|
|
rs_6dof_create(void);
|
|
|
|
|
2021-01-12 21:27:49 +00:00
|
|
|
void
|
|
|
|
rs_update_offset(struct xrt_pose offset, struct xrt_device *xdev);
|
|
|
|
|
2020-02-09 15:36:16 +00:00
|
|
|
/*!
|
|
|
|
* @dir drivers/realsense
|
|
|
|
*
|
|
|
|
* @brief @ref drv_rs files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|