All Known Implementing Classes:
OculusIOReal, OculusIOSim

public interface OculusIO
Interface for handling input/output operations with the Oculus Quest hardware.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Data structure for Oculus inputs that can be automatically logged.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Resets the current heading of the Oculus as zero
    default void
    resetPose(Pose2d oculusTargetPose)
    Resets the pose components for resetting the Oculus position tracking.
    default void
    Updates the set of loggable inputs from the Oculus.
  • Method Details

    • updateInputs

      default void updateInputs(OculusIO.OculusIOInputs inputs)
      Updates the set of loggable inputs from the Oculus.
      Parameters:
      inputs - The input object to update with current values
    • resetPose

      default void resetPose(Pose2d oculusTargetPose)
      Resets the pose components for resetting the Oculus position tracking. HARD RESET.
      Parameters:
      oculusTargetPose - The target pose of the oculus to reset to. NOT THE TARGET ROBOT POSE
    • resetHeading

      default void resetHeading()
      Resets the current heading of the Oculus as zero