java.lang.Object
frc.alotobots.library.subsystems.vision.oculus.io.OculusIOSim
All Implemented Interfaces:
OculusIO

public class OculusIOSim extends Object implements OculusIO
Simulation implementation of OculusIO that provides static test values.
  • Constructor Details

    • OculusIOSim

      public OculusIOSim()
  • Method Details

    • updateInputs

      public void updateInputs(OculusIO.OculusIOInputs inputs)
      Description copied from interface: OculusIO
      Updates the set of loggable inputs from the Oculus.
      Specified by:
      updateInputs in interface OculusIO
      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.
      Specified by:
      setMosi in interface OculusIO
      Parameters:
      value - The MOSI value to set
    • 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 interface OculusIO
      Parameters:
      x - The X coordinate
      y - The Y coordinate
      rotation - The rotation in degrees