File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/steelhawks/subsystems/vision Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -262,9 +262,9 @@ public void periodic() {
262262
263263 if (questNav != null ) {
264264 // make it so that in debug mode you can automatically reset pose from vision when disabled/ or make it a toggle
265- if (DriverStation .isDisabled () && Robot .isFirstRun () && Constants .loggedValue ("RobotPosesEmpty" , !allRobotPoses .isEmpty ())) {
266- // questNav.setPose(allRobotPosesAccepted.get(0).toPose2d());
267- questNav .setPose (new Pose2d ());
265+ if (DriverStation .isDisabled () && Robot .isFirstRun () && Constants .loggedValue ("RobotPosesEmpty" , !allRobotPosesAccepted .isEmpty ())) {
266+ questNav .setPose (allRobotPosesAccepted .get (0 ).toPose2d ());
267+ // questNav.setPose(new Pose2d());
268268 }
269269 questNav .periodic ();
270270 LoopTimeUtil .record ("QuestNav" );
You can’t perform that action at this time.
0 commit comments