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
Modifier and TypeFieldDescriptiondouble
Battery level percentagefloat[]
Euler angles [roll, pitch, yaw] in degreesint
Frame counter from the Oculusint
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 Oculus -
Constructor Summary
-
Method Summary
-
Field Details
-
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
-
-
Constructor Details
-
OculusIOInputs
public OculusIOInputs()
-