17#ifndef __RTFT_S_FIRMWARE__
18#define __RTFT_S_FIRMWARE__
23enum rift_s_firmware_block
25 RIFT_S_FIRMWARE_BLOCK_SERIAL_NUM = 0x0B,
26 RIFT_S_FIRMWARE_BLOCK_THRESHOLD = 0xD,
27 RIFT_S_FIRMWARE_BLOCK_IMU_CALIB = 0xE,
28 RIFT_S_FIRMWARE_BLOCK_CAMERA_CALIB = 0xF,
29 RIFT_S_FIRMWARE_BLOCK_DISPLAY_COLOR_CALIB = 0x10,
30 RIFT_S_FIRMWARE_BLOCK_LENS_CALIB = 0x12
35 RIFT_S_CAMERA_TOP = 0x0,
36 RIFT_S_CAMERA_SIDE_LEFT = 0x1,
37 RIFT_S_CAMERA_FRONT_RIGHT = 0x2,
38 RIFT_S_CAMERA_FRONT_LEFT = 0x3,
39 RIFT_S_CAMERA_SIDE_RIGHT = 0x4,
44static const enum rift_s_camera_id
CAM_IDX_TO_ID[RIFT_S_CAMERA_COUNT] = {
45 RIFT_S_CAMERA_FRONT_LEFT, RIFT_S_CAMERA_FRONT_RIGHT,
46 RIFT_S_CAMERA_SIDE_LEFT, RIFT_S_CAMERA_SIDE_RIGHT,
139 int num_lensing_models;
144rift_s_parse_proximity_threshold(
char *json,
int *proximity_threshold);
C interface to math library.
Wrapper header for <math.h> to ensure pi-related math constants are defined.
static enum rift_s_camera_id CAM_IDX_TO_ID[RIFT_S_CAMERA_COUNT]
Order/index of cameras when dealing with multi-camera tracking.
Definition: rift_s_firmware.h:44
Definition: rift_s_firmware.h:90
Definition: rift_s_firmware.h:81
Definition: rift_s_firmware.h:113
Definition: rift_s_firmware.h:75
Definition: rift_s_firmware.h:51
Definition: rift_s_firmware.h:96
Definition: rift_s_firmware.h:107
Definition: rift_s_firmware.h:69
A tightly packed 3x3 matrix of floats.
Definition: xrt_defines.h:533
A tightly packed 4x4 matrix of floats.
Definition: xrt_defines.h:560
Image rectangle.
Definition: xrt_defines.h:430
A 3 element vector with single floats.
Definition: xrt_defines.h:271