Monado OpenXR Runtime
Data Fields
vive_device Struct Reference

#include <vive/vive_device.h>

Collaboration diagram for vive_device:
Collaboration graph
[legend]

Data Fields

struct xrt_device base
 
struct os_hid_devicemainboard_dev
 
struct os_hid_devicesensors_dev
 
enum VIVE_VARIANT variant
 
struct os_thread_helper sensors_thread
 
struct os_thread_helper mainboard_thread
 
struct lh_model lh
 
struct {
   uint64_t   time_ns
 
   uint8_t   sequence
 
   uint32_t   last_sample_time_raw
 
   double   acc_range
 
   double   gyro_range
 
   struct xrt_vec3   acc_bias
 
   struct xrt_vec3   acc_scale
 
   struct xrt_vec3   gyro_bias
 
   struct xrt_vec3   gyro_scale
 
   struct xrt_pose   trackref
 IMU position in tracking space. More...
 
imu
 
struct m_imu_3dof fusion
 
struct {
   struct xrt_vec3   acc
 
   struct xrt_vec3   gyro
 
last
 
struct {
   double   lens_separation
 
   double   persistence
 
   uint16_t   eye_target_height_in_pixels
 
   uint16_t   eye_target_width_in_pixels
 
   struct xrt_quat   rot [2]
 
   struct xrt_pose   trackref
 Head position in tracking space. More...
 
   struct xrt_pose   imuref
 Head position in IMU space. More...
 
display
 
struct {
   uint16_t   ipd
 
   uint16_t   lens_separation
 
   uint16_t   proximity
 
   uint8_t   button
 
board
 
struct {
   uint32_t   display_firmware_version
 
   uint32_t   firmware_version
 
   uint8_t   hardware_revision
 
   uint8_t   hardware_version_micro
 
   uint8_t   hardware_version_minor
 
   uint8_t   hardware_version_major
 
   char *   mb_serial_number
 
   char *   model_number
 
   char *   device_serial_number
 
firmware
 
struct xrt_quat rot_filtered
 
bool print_spew
 
bool print_debug
 
bool disconnect_notified
 
struct {
   bool   calibration
 
   bool   last
 
gui
 

Field Documentation

◆ acc

struct xrt_vec3 vive_device::acc

◆ acc_bias

struct xrt_vec3 vive_device::acc_bias

◆ acc_range

double vive_device::acc_range

Referenced by vive_init_defaults().

◆ acc_scale

struct xrt_vec3 vive_device::acc_scale

Referenced by vive_init_defaults().

◆ base

struct xrt_device vive_device::base

◆ board

struct { ... } vive_device::board

◆ button

uint8_t vive_device::button

◆ calibration

bool vive_device::calibration

◆ device_serial_number

char* vive_device::device_serial_number

◆ disconnect_notified

bool vive_device::disconnect_notified

◆ display

struct { ... } vive_device::display

Referenced by vive_init_defaults().

◆ display_firmware_version

uint32_t vive_device::display_firmware_version

◆ eye_target_height_in_pixels

uint16_t vive_device::eye_target_height_in_pixels

Referenced by vive_init_defaults().

◆ eye_target_width_in_pixels

uint16_t vive_device::eye_target_width_in_pixels

Referenced by vive_init_defaults().

◆ firmware

struct { ... } vive_device::firmware

◆ firmware_version

uint32_t vive_device::firmware_version

◆ fusion

struct m_imu_3dof vive_device::fusion

◆ gui

struct { ... } vive_device::gui

◆ gyro

struct xrt_vec3 vive_device::gyro

◆ gyro_bias

struct xrt_vec3 vive_device::gyro_bias

◆ gyro_range

double vive_device::gyro_range

Referenced by vive_init_defaults().

◆ gyro_scale

struct xrt_vec3 vive_device::gyro_scale

Referenced by vive_init_defaults().

◆ hardware_revision

uint8_t vive_device::hardware_revision

◆ hardware_version_major

uint8_t vive_device::hardware_version_major

◆ hardware_version_micro

uint8_t vive_device::hardware_version_micro

◆ hardware_version_minor

uint8_t vive_device::hardware_version_minor

◆ imu

struct { ... } vive_device::imu

Referenced by vive_init_defaults().

◆ imuref

struct xrt_pose vive_device::imuref

Head position in IMU space.

◆ ipd

uint16_t vive_device::ipd

◆ last [1/2]

struct { ... } vive_device::last

◆ last [2/2]

bool vive_device::last

◆ last_sample_time_raw

uint32_t vive_device::last_sample_time_raw

◆ lens_separation [1/2]

double vive_device::lens_separation

◆ lens_separation [2/2]

uint16_t vive_device::lens_separation

◆ lh

struct lh_model vive_device::lh

◆ mainboard_dev

struct os_hid_device* vive_device::mainboard_dev

◆ mainboard_thread

struct os_thread_helper vive_device::mainboard_thread

◆ mb_serial_number

char* vive_device::mb_serial_number

◆ model_number

char* vive_device::model_number

◆ persistence

double vive_device::persistence

◆ print_debug

bool vive_device::print_debug

◆ print_spew

bool vive_device::print_spew

◆ proximity

uint16_t vive_device::proximity

◆ rot

struct xrt_quat vive_device::rot[2]

Referenced by vive_init_defaults().

◆ rot_filtered

struct xrt_quat vive_device::rot_filtered

Referenced by vive_init_defaults().

◆ sensors_dev

struct os_hid_device* vive_device::sensors_dev

◆ sensors_thread

struct os_thread_helper vive_device::sensors_thread

◆ sequence

uint8_t vive_device::sequence

◆ time_ns

uint64_t vive_device::time_ns

◆ trackref

struct xrt_pose vive_device::trackref

IMU position in tracking space.

Head position in tracking space.

◆ variant

enum VIVE_VARIANT vive_device::variant

Referenced by vive_parse_config().


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