Class OculusIO.OculusIOInputs
java.lang.Object
frc.alotobots.library.subsystems.vision.oculus.io.OculusIO.OculusIOInputs
- Direct Known Subclasses:
OculusIOInputsAutoLogged
- Enclosing interface:
- OculusIO
Data structure for Oculus inputs that can be automatically logged.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
Battery level percentageboolean
float[]
Euler angles [roll, pitch, yaw] in degreesint
Frame counter from the Oculusboolean
Does the Oculus have 6dof tracking?int
Current MISO (Master In Slave Out) valuefloat[]
3D position coordinates [x, y, z]float[]
Quaternion orientation [w, x, y, z]double
Current timestamp from the Oculusint
Total number of tracking lost events since the Quest has booted -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
connected
public boolean connected -
position
public float[] position3D position coordinates [x, y, z] -
quaternion
public float[] quaternionQuaternion orientation [w, x, y, z] -
eulerAngles
public float[] eulerAnglesEuler angles [roll, pitch, yaw] in degrees -
timestamp
public double timestampCurrent timestamp from the Oculus -
frameCount
public int frameCountFrame counter from the Oculus -
batteryPercent
public double batteryPercentBattery level percentage -
misoValue
public int misoValueCurrent MISO (Master In Slave Out) value -
isTracking
public boolean isTrackingDoes the Oculus have 6dof tracking? -
totalTrackingLostEvents
public int totalTrackingLostEventsTotal number of tracking lost events since the Quest has booted
-
-
Constructor Details
-
OculusIOInputs
public OculusIOInputs()
-