19#define WMR_MAX_CAMERAS 4
23#define WMR_MAX_LEDS 40
29enum wmr_distortion_model
31 WMR_DISTORTION_MODEL_UNKNOWN = 0,
32 WMR_DISTORTION_MODEL_POLYNOMIAL_3K,
33 WMR_DISTORTION_MODEL_POLYNOMIAL_6KT,
37enum wmr_camera_location
39 WMR_CAMERA_LOCATION_HT0 = 0,
40 WMR_CAMERA_LOCATION_HT1 = 1,
41 WMR_CAMERA_LOCATION_DO0 = 2,
42 WMR_CAMERA_LOCATION_DO1 = 3,
43 WMR_CAMERA_LOCATION_HT2 = 4,
44 WMR_CAMERA_LOCATION_HT3 = 5,
47enum wmr_camera_purpose
49 WMR_CAMERA_PURPOSE_HEAD_TRACKING,
50 WMR_CAMERA_PURPOSE_DISPLAY_OBSERVER,
55 enum wmr_distortion_model model;
67 enum wmr_distortion_model model;
94 double visible_radius;
107 enum wmr_camera_location location;
108 enum wmr_camera_purpose purpose;
u_logging_level
Logging level enum.
Definition: u_logging.h:43
Definition: wmr_config.h:106
struct xrt_vec3 translation
Raw translation (to HT0)
Definition: wmr_config.h:112
struct xrt_pose pose
Pose from translation and rotation
Definition: wmr_config.h:114
struct xrt_matrix_3x3 rotation
Raw rotation (to HT0), row major.
Definition: wmr_config.h:113
Definition: wmr_config.h:185
Definition: wmr_config.h:54
Definition: wmr_config.h:66
Definition: wmr_config.h:85
struct xrt_pose pose
Pose from translation and rotation
Definition: wmr_config.h:91
struct xrt_vec3 translation
Raw translation (to HT0)
Definition: wmr_config.h:89
struct xrt_matrix_3x3 rotation
Raw rotation (to HT0), row major.
Definition: wmr_config.h:90
Definition: wmr_config.h:166
struct wmr_camera_config * tcams[4]
Pointers to tracking cameras in cameras
Definition: wmr_config.h:175
int slam_cam_count
Number of tracking cameras to use for SLAM.
Definition: wmr_config.h:177
int tcam_count
Number of tracking cameras.
Definition: wmr_config.h:176
Definition: wmr_config.h:121
struct xrt_vec3 noise_std
Measurement noise standard deviation.
Definition: wmr_config.h:137
struct xrt_vec3 bias_var
Bias random walk variance.
Definition: wmr_config.h:134
struct xrt_pose pose
Pose from translation and rotation
Definition: wmr_config.h:124
struct xrt_vec3 translation
Raw translation (to HT0).
Definition: wmr_config.h:122
struct xrt_matrix_3x3 rotation
Raw rotation (to HT0), row major.
Definition: wmr_config.h:123
Definition: wmr_config.h:151
Definition: wmr_config.h:160
A tightly packed 3x3 matrix of floats.
Definition: xrt_defines.h:533
A pose composed of a position and orientation.
Definition: xrt_defines.h:465
Image rectangle.
Definition: xrt_defines.h:430
A 2 element vector with single floats.
Definition: xrt_defines.h:250
A 3 element vector with single floats.
Definition: xrt_defines.h:271
Basic logging functionality.
void wmr_config_precompute_transforms(struct wmr_inertial_sensors_config *sensors, struct wmr_distortion_eye_config *eye_params)
Precompute transforms to convert between OpenXR and WMR coordinate systems.
Definition: wmr_config.c:610