Interface OculusIO
- All Known Implementing Classes:
OculusIOReal
,OculusIOSim
public interface OculusIO
Interface for handling input/output operations with the Oculus Quest hardware.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Data structure for Oculus inputs that can be automatically logged. -
Method Summary
Modifier and TypeMethodDescriptiondefault void
Resets the current heading of the Oculus as zerodefault void
Resets the pose components for resetting the Oculus position tracking.default void
updateInputs
(OculusIO.OculusIOInputs inputs) Updates the set of loggable inputs from the Oculus.
-
Method Details
-
updateInputs
Updates the set of loggable inputs from the Oculus.- Parameters:
inputs
- The input object to update with current values
-
resetPose
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
-