Class OculusIOSim
java.lang.Object
frc.alotobots.library.subsystems.vision.oculus.io.OculusIOSim
- All Implemented Interfaces:
OculusIO
Simulation implementation of OculusIO that provides static test values.
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.alotobots.library.subsystems.vision.oculus.io.OculusIO
OculusIO.OculusIOInputs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMosi
(int value) Sets MOSI (Master Out Slave In) value for Quest communication.void
setResetPose
(double x, double y, double rotation) Sets the pose components for resetting the Oculus position tracking.void
updateInputs
(OculusIO.OculusIOInputs inputs) Updates the set of loggable inputs from the Oculus.
-
Constructor Details
-
OculusIOSim
public OculusIOSim()
-
-
Method Details
-
updateInputs
Description copied from interface:OculusIO
Updates the set of loggable inputs from the Oculus.- Specified by:
updateInputs
in interfaceOculusIO
- Parameters:
inputs
- The input object to update with current values
-
setMosi
public void setMosi(int value) Description copied from interface:OculusIO
Sets MOSI (Master Out Slave In) value for Quest communication. -
setResetPose
public void setResetPose(double x, double y, double rotation) Description copied from interface:OculusIO
Sets the pose components for resetting the Oculus position tracking.- Specified by:
setResetPose
in interfaceOculusIO
- Parameters:
x
- The X coordinatey
- The Y coordinaterotation
- The rotation in degrees
-