Class SimVision.QuestSimIO

java.lang.Object
frc.robot.subsystems.vision.SimVision.QuestSimIO
All Implemented Interfaces:
QuestNavControl, PoseSourceIO
Enclosing class:
SimVision

public static final class SimVision.QuestSimIO extends Object implements PoseSourceIO, QuestNavControl
Simulated QuestNav: reports truth in its own frame, which lines up with the field only after resetPose(Pose2d), plus a random-walk drift. Seeded, so a sim run is repeatable.
  • Constructor Details

  • Method Details

    • resetPose

      public void resetPose(Pose2d robotPose)
      Description copied from interface: QuestNavControl
      Tells the Quest the robot's current field pose.
      Specified by:
      resetPose in interface QuestNavControl
      Parameters:
      robotPose - robot pose on the field now
    • updateInputs

      public void updateInputs(PoseSourceInputs inputs)
      Description copied from interface: PoseSourceIO
      Fills inputs with everything reported since the last call.
      Specified by:
      updateInputs in interface PoseSourceIO
      Parameters:
      inputs - the inputs to overwrite