monado/src/xrt/drivers/realsense/rs_interface.h
Mateo de Mayo 6f20b6d88f d/rs: Add host-SLAM tracked device (hdev)
This device was tested on a D455 but should work on any other RealSense camera
that supports camera and IMU streams (even the T265), given that you properly
configure the external SLAM config file.
2021-09-28 16:11:42 -03:00

48 lines
812 B
C

// 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
/*!
* @defgroup drv_rs Intel RealSense driver
* @ingroup drv
*
* @brief Driver for the SLAM-capable Intel Realsense devices.
*/
#define RS_HOST_SLAM_TRACKER_STR "Host SLAM Tracker for RealSense"
#define RS_TRACKING_DISABLED -1
#define RS_TRACKING_UNSPECIFIED 0
#define RS_TRACKING_DEVICE_SLAM 1
#define RS_TRACKING_HOST_SLAM 2
/*!
* Create a auto prober for rs devices.
*
* @ingroup drv_rs
*/
struct xrt_auto_prober *
rs_create_auto_prober(void);
/*!
* @dir drivers/realsense
*
* @brief @ref drv_rs files.
*/
#ifdef __cplusplus
}
#endif