java.lang.Object
frc.alotobots.library.subsystems.vision.questnav.io.QuestNavIOReal
All Implemented Interfaces:
QuestNavIO

public class QuestNavIOReal extends Object implements QuestNavIO
Implementation of QuestNavIO for real hardware communication via QuestNav vendor library.
  • Constructor Details

    • QuestNavIOReal

      public QuestNavIOReal()
      Creates a new QuestNavIOReal instance using the QuestNav vendor library.
  • Method Details

    • updateInputs

      public void updateInputs(QuestNavIO.QuestNavIOInputs inputs)
      Description copied from interface: QuestNavIO
      Updates the set of loggable inputs from the QuestNav.
      Specified by:
      updateInputs in interface QuestNavIO
      Parameters:
      inputs - The input object to update with current values
    • setPose

      public void setPose(Pose3d questNavTargetPose)
      Description copied from interface: QuestNavIO
      Resets the pose components for resetting the QuestNav position tracking. HARD RESET.
      Specified by:
      setPose in interface QuestNavIO
      Parameters:
      questNavTargetPose - The target pose of the quest to reset to. NOT THE TARGET ROBOT POSE