Copyright © 2013 Oculus VR, Inc. All Rights Reserved.
Specifies maximum value ranges that
SensorDevice hardware is configured to detect.
More...
#include <OVR_Device.h>
Specifies maximum value ranges that
SensorDevice hardware is configured to detect.
Although this range doesn't affect the scale of
MessageBodyFrame values, physical motions whose positive or negative magnitude is outside the specified range may get clamped or misreported. Setting lower values may result in higher precision tracking.
|
| SensorRange (float maxAcceleration=0.0f, float maxRotationRate=0.0f, float maxMagneticField=0.0f) |
| Constructor. More... |
|
OVR::SensorRange::SensorRange | ( | float | maxAcceleration = 0.0f , |
| | float | maxRotationRate = 0.0f , |
| | float | maxMagneticField = 0.0f |
| ) | | |
| inline |
Constructor.
- Parameters
maxAcceleration | (optional) the maximum acceleration. |
maxRotationRate | (optional) the maximum rotation rate. |
maxMagneticField | (optional) the maximum magnetic field. |
float OVR::SensorRange::MaxAcceleration |
Maximum detected acceleration in m/s^2.
Up to 8*G equivalent support guaranteed, where G is ~9.81 m/s^2. Oculus DK1 HW has thresholds near: 2, 4 (default), 8, 16 G.
float OVR::SensorRange::MaxMagneticField |
Maximum detectable Magnetic field strength in Gauss.
Up to 2.5 Gauss support guaranteed. Oculus DK1 HW thresholds near: 0.88, 1.3, 1.9, 2.5 gauss.
float OVR::SensorRange::MaxRotationRate |
Maximum detected angular velocity in rad/s.
Up to 8*Pi support guaranteed. Oculus DK1 HW thresholds near: 1, 2, 4, 8 Pi (default).
The documentation for this struct was generated from the following file: