mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
docs: Move some driver entities into @addtogroup and other NFC
This commit is contained in:
parent
891842cb51
commit
773eccad6c
|
@ -77,7 +77,7 @@
|
||||||
},
|
},
|
||||||
"calibration_path": {
|
"calibration_path": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tracking_overrides": {
|
"tracking_overrides": {
|
||||||
|
|
|
@ -635,7 +635,6 @@ process_stereo_samples(class Calibration &c, int cols, int rows)
|
||||||
c.state.view[1].map2 = maps.view[1].rectify.remap_y;
|
c.state.view[1].map2 = maps.view[1].rectify.remap_y;
|
||||||
c.state.view[1].maps_valid = true;
|
c.state.view[1].maps_valid = true;
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
std::cout << "#####\n";
|
std::cout << "#####\n";
|
||||||
std::cout << "calibration rp_error: " << rp_error << "\n";
|
std::cout << "calibration rp_error: " << rp_error << "\n";
|
||||||
to_stdout("camera_rotation", wrapped.camera_rotation_mat);
|
to_stdout("camera_rotation", wrapped.camera_rotation_mat);
|
||||||
|
@ -663,7 +662,6 @@ process_stereo_samples(class Calibration &c, int cols, int rows)
|
||||||
to_stdout("view[1].intrinsics", wrapped.view[1].intrinsics_mat);
|
to_stdout("view[1].intrinsics", wrapped.view[1].intrinsics_mat);
|
||||||
to_stdout("view[1].projection", maps.view[1].projection_mat);
|
to_stdout("view[1].projection", maps.view[1].projection_mat);
|
||||||
to_stdout("view[1].rotation", maps.view[1].rotation_mat);
|
to_stdout("view[1].rotation", maps.view[1].rotation_mat);
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
// Validate that nothing has been re-allocated.
|
// Validate that nothing has been re-allocated.
|
||||||
assert(wrapped.isDataStorageValid());
|
assert(wrapped.isDataStorageValid());
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
#include "euroc_interface.h"
|
#include "euroc_interface.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @addtogroup drv_euroc
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
#define EUROC_TRACE(e, ...) U_LOG_IFL_T(e->ll, __VA_ARGS__)
|
#define EUROC_TRACE(e, ...) U_LOG_IFL_T(e->ll, __VA_ARGS__)
|
||||||
#define EUROC_DEBUG(e, ...) U_LOG_IFL_D(e->ll, __VA_ARGS__)
|
#define EUROC_DEBUG(e, ...) U_LOG_IFL_D(e->ll, __VA_ARGS__)
|
||||||
#define EUROC_INFO(e, ...) U_LOG_IFL_I(e->ll, __VA_ARGS__)
|
#define EUROC_INFO(e, ...) U_LOG_IFL_I(e->ll, __VA_ARGS__)
|
||||||
|
@ -32,11 +37,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*!
|
|
||||||
* @addtogroup drv_euroc
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
DEBUG_GET_ONCE_LOG_OPTION(euroc_log, "EUROC_LOG", U_LOGGING_WARN)
|
DEBUG_GET_ONCE_LOG_OPTION(euroc_log, "EUROC_LOG", U_LOGGING_WARN)
|
||||||
DEBUG_GET_ONCE_OPTION(euroc_path, "EUROC_PATH", NULL)
|
DEBUG_GET_ONCE_OPTION(euroc_path, "EUROC_PATH", NULL)
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
#include "util/u_logging.h"
|
#include "util/u_logging.h"
|
||||||
#include "xrt/xrt_device.h"
|
#include "xrt/xrt_device.h"
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* @addtogroup drv_qwerty
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
#define QWERTY_HMD_STR "Qwerty HMD"
|
#define QWERTY_HMD_STR "Qwerty HMD"
|
||||||
#define QWERTY_HMD_TRACKER_STR QWERTY_HMD_STR " Tracker"
|
#define QWERTY_HMD_TRACKER_STR QWERTY_HMD_STR " Tracker"
|
||||||
#define QWERTY_LEFT_STR "Qwerty Left Controller"
|
#define QWERTY_LEFT_STR "Qwerty Left Controller"
|
||||||
|
@ -22,11 +27,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*!
|
|
||||||
* @addtogroup drv_qwerty
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Container of qwerty devices and driver properties.
|
* @brief Container of qwerty devices and driver properties.
|
||||||
* @see qwerty_hmd, qwerty_controller
|
* @see qwerty_hmd, qwerty_controller
|
||||||
|
|
|
@ -15,15 +15,15 @@
|
||||||
#include <librealsense2/rs.h>
|
#include <librealsense2/rs.h>
|
||||||
#include <librealsense2/h/rs_pipeline.h>
|
#include <librealsense2/h/rs_pipeline.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @addtogroup drv_rs
|
* @addtogroup drv_rs
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
//! Container to store and manage useful objects from the RealSense API
|
//! Container to store and manage useful objects from the RealSense API
|
||||||
struct rs_container
|
struct rs_container
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue