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.-
Field Summary
Fields inherited from interface PoseSourceIO
NONEFields inherited from interface QuestNavControl
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTells the Quest the robot's current field pose.voidupdateInputs(PoseSourceInputs inputs) Fillsinputswith everything reported since the last call.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PoseSourceIO
derived
-
Constructor Details
-
QuestSimIO
-
-
Method Details
-
resetPose
Description copied from interface:QuestNavControlTells the Quest the robot's current field pose.- Specified by:
resetPosein interfaceQuestNavControl- Parameters:
robotPose- robot pose on the field now
-
updateInputs
Description copied from interface:PoseSourceIOFillsinputswith everything reported since the last call.- Specified by:
updateInputsin interfacePoseSourceIO- Parameters:
inputs- the inputs to overwrite
-