Class OculusIOReal
java.lang.Object
frc.alotobots.library.subsystems.vision.oculus.io.OculusIOReal
- All Implemented Interfaces:
 OculusIO
Implementation of OculusIO for real hardware communication via NetworkTables.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface frc.alotobots.library.subsystems.vision.oculus.io.OculusIO
OculusIO.OculusIOInputs - 
Constructor Summary
ConstructorsConstructorDescriptionCreates a new OculusIOReal instance and initializes all NetworkTable publishers and subscribers. - 
Method Summary
Modifier and TypeMethodDescriptionvoidResets the current heading of the Oculus as zerovoidResets the pose components for resetting the Oculus position tracking.voidupdateInputs(OculusIO.OculusIOInputs inputs) Updates the set of loggable inputs from the Oculus. 
- 
Constructor Details
- 
OculusIOReal
public OculusIOReal()Creates a new OculusIOReal instance and initializes all NetworkTable publishers and subscribers. 
 - 
 - 
Method Details
- 
updateInputs
Description copied from interface:OculusIOUpdates the set of loggable inputs from the Oculus.- Specified by:
 updateInputsin interfaceOculusIO- Parameters:
 inputs- The input object to update with current values
 - 
resetPose
Description copied from interface:OculusIOResets the pose components for resetting the Oculus position tracking. HARD RESET. - 
resetHeading
public void resetHeading()Description copied from interface:OculusIOResets the current heading of the Oculus as zero- Specified by:
 resetHeadingin interfaceOculusIO
 
 -