69 float imu_to_head_transform[12];
71 float imu_gyro_bias[3];
73 float imu_gyro_scale[3];
75 float imu_accelerometer_bias[3];
77 float imu_accelerometer_scale[3];
180 std::map<std::string, vr_tracking_reference_info>
references;
the vr namespace for virtual reality support
VRControllerType
type of controller
VRButtonStateFlags
one flag for each vr controller button
const unsigned max_nr_controller_axes
maximum number of axes per controller
VRAxisType
different axis types of controller inputs
const unsigned max_nr_controllers
maximum number of attachable controller and tracker devices
VRInputType
different controller input types
std::ostream & operator<<(std::ostream &os, const vr_device_info &di)
stream out operator for device infos
const unsigned max_nr_controller_inputs
maximum number of inputs per controller
VRControllerRole
role of controller
information provided for controller devices
int32_t nr_axes
total number of axes provided by all inputs
VRControllerType type
controller type
VRButtonStateFlags supported_buttons
one flag per button telling whether it is supported
VRControllerRole role
controller role
int32_t nr_inputs
number of used inputs
information provided for any device type
std::string serial_number
unique identifier of device
std::string model_number
number describing the device type
std::map< std::string, std::string > variable_parameters
a map from parameter name to parameter value used for all device parameters that are not explicitly d...
information provided for hmd device
bool reports_time_since_vsynch
whether time since vsynch is reported
float ipd
interpupilar distance measured in meters
bool lighthouse_2_0_features
whether lighthouse 2.0 features are supported
float seconds_vsynch_to_photons
seconds from vsynch to photons
float head_to_eye_distance
distance from head origin to eye centers in meters
int32_t number_cameras
number of cameras
information provided for a vr kit
vr_hmd_info hmd
information for head mounted display
bool force_feedback_support
whether force feedback is supported
information provided for trackable devices
bool provides_battery_charge_level
whether one can query battery charge level
bool has_proximity_sensor
whether device has proximity sensor
float battery_charge_level
battery charge level in percentage (0 .. empty, 1 .. full)
std::string device_type
type name of device
int32_t device_class
index of device class
bool is_wireless
whether device is wireless
information provided for a base station / tracking reference
float z_near
near and far clipping planes of tracking frustum in meters
std::string mode
tracking mode string
information provided for tracking system
std::string name
name of tracking system
std::map< std::string, vr_tracking_reference_info > references
map from serial number to info of corresponding tracking reference
defines types to store the state vr::vr_kit_state of a vr kit, which is split into sub states for the...