Skip to content

Commit

Permalink
Revert back to fast continuous calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticFox8515 committed Oct 23, 2023
1 parent 56531e0 commit 3b8ea60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenVR-SpaceCalibrator/Calibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void StartCalibration()
}

void StartContinuousCalibration() {
CalCtx.calibrationSpeed = CalibrationContext::SLOW;
CalCtx.calibrationSpeed = CalibrationContext::FAST;
StartCalibration();
CalCtx.state = CalibrationState::Continuous;
calibration.setRelativeTransformation(CalCtx.refToTargetPose, CalCtx.relativePosCalibrated);
Expand Down Expand Up @@ -522,7 +522,7 @@ void CalibrationTick(double time)
calibration.Clear();
}
else {
for (int i = 0; i < 50; i++) calibration.ShiftSample();
for (int i = 0; i < 10; i++) calibration.ShiftSample();
}
}
}
Expand Down

0 comments on commit 3b8ea60

Please sign in to comment.