Monado OpenXR Runtime
t_slam_tracker_config Struct Reference

SLAM tracker configuration. More...

#include <tracking/t_tracking.h>

Collaboration diagram for t_slam_tracker_config:

Data Fields

enum u_logging_level log_level
 SLAM tracking logging level. More...
 
const char * vit_system_library_path
 Path to the VIT system library. More...
 
const char * slam_config
 Config file path, format is specific to the SLAM implementation in use. More...
 
int cam_count
 Number of cameras in use. More...
 
bool slam_ui
 Whether to open the external UI of the external SLAM system. More...
 
bool submit_from_start
 Whether to submit data to the SLAM tracker without user action. More...
 
int openvr_groundtruth_device
 If >0, use lighthouse as groundtruth, see openvr_device. More...
 
enum t_slam_prediction_type prediction
 Which level of prediction to use. More...
 
bool write_csvs
 Whether to enable CSV writers from the start for later analysis. More...
 
const char * csv_path
 Path to write CSVs to. More...
 
bool timing_stat
 Enable timing metric in external system. More...
 
bool features_stat
 Enable feature metric in external system. More...
 
const struct t_slam_calibrationslam_calib
 

Detailed Description

SLAM tracker configuration.

See also
xrt_tracked_slam

Field Documentation

◆ cam_count

int t_slam_tracker_config::cam_count

Number of cameras in use.

Referenced by p_factory_ensure_slam_frameserver(), and t_slam_fill_default_config().

◆ csv_path

const char* t_slam_tracker_config::csv_path

Path to write CSVs to.

Referenced by t_slam_fill_default_config().

◆ features_stat

bool t_slam_tracker_config::features_stat

Enable feature metric in external system.

Instead of a slam_config file you can set custom calibration data

Referenced by t_slam_fill_default_config().

◆ log_level

enum u_logging_level t_slam_tracker_config::log_level

SLAM tracking logging level.

Referenced by t_slam_fill_default_config().

◆ openvr_groundtruth_device

int t_slam_tracker_config::openvr_groundtruth_device

If >0, use lighthouse as groundtruth, see openvr_device.

Referenced by t_slam_fill_default_config().

◆ prediction

enum t_slam_prediction_type t_slam_tracker_config::prediction

Which level of prediction to use.

Referenced by t_slam_fill_default_config().

◆ slam_config

const char* t_slam_tracker_config::slam_config

Config file path, format is specific to the SLAM implementation in use.

Referenced by t_slam_fill_default_config().

◆ slam_ui

bool t_slam_tracker_config::slam_ui

Whether to open the external UI of the external SLAM system.

Referenced by t_slam_fill_default_config().

◆ submit_from_start

bool t_slam_tracker_config::submit_from_start

Whether to submit data to the SLAM tracker without user action.

Referenced by t_slam_fill_default_config().

◆ timing_stat

bool t_slam_tracker_config::timing_stat

Enable timing metric in external system.

Referenced by t_slam_fill_default_config().

◆ vit_system_library_path

const char* t_slam_tracker_config::vit_system_library_path

Path to the VIT system library.

Referenced by t_slam_fill_default_config().

◆ write_csvs

bool t_slam_tracker_config::write_csvs

Whether to enable CSV writers from the start for later analysis.

Referenced by t_slam_fill_default_config().


The documentation for this struct was generated from the following file: