56 enum VIVE_VARIANT variant;
67 uint32_t last_sample_time_raw;
89 double lens_separation;
91 uint16_t eye_target_height_in_pixels;
92 uint16_t eye_target_width_in_pixels;
105 uint16_t lens_separation;
112 uint32_t display_firmware_version;
113 uint32_t firmware_version;
114 uint8_t hardware_revision;
115 char *mb_serial_number;
117 char *device_serial_number;
124 bool disconnect_notified;
136 enum VIVE_VARIANT variant);
144 #define VIVE_SPEW(p, ...) \ 146 if (p->print_spew) { \ 147 fprintf(stderr, "%s - ", __func__); \ 148 fprintf(stderr, __VA_ARGS__); \ 149 fprintf(stderr, "\n"); \ 152 #define VIVE_DEBUG(p, ...) \ 154 if (p->print_debug) { \ 155 fprintf(stderr, "%s - ", __func__); \ 156 fprintf(stderr, __VA_ARGS__); \ 157 fprintf(stderr, "\n"); \ 161 #define VIVE_ERROR(...) \ 163 fprintf(stderr, "%s - ", __func__); \ 164 fprintf(stderr, __VA_ARGS__); \ 165 fprintf(stderr, "\n"); \ A IMU fusion specially made for 3dof devices.
A 3 element vector with single floats.
Definition: xrt_defines.h:131
A pose composed of a position and orientation.
Definition: xrt_defines.h:229
A single lighthouse senosor point and normal, in IMU space.
Definition: vive_device.h:35
Definition: vive_device.h:51
A lighthouse consisting of sensors.
Definition: vive_device.h:26
A quaternion with single floats.
Definition: xrt_defines.h:97
Wrapper around OS threading native functions.
Header defining a xrt HMD device.
All in one helper that handles locking, waiting for change and starting a thread. ...
Definition: os_threading.h:149
Representing a single hid interface on a device.
Definition: os_hid.h:26
A single HMD or input device.
Definition: xrt_device.h:203
Definition: m_imu_3dof.h:34