pushrax / OpenVR-SpaceCalibrator

Use tracked VR devices from one company with any other.
MIT License
669 stars 111 forks source link

Calibration doesn't abort properly when the device lost tracking #99

Open BrianMwit opened 1 year ago

BrianMwit commented 1 year ago

During a calibration process, if one of the devices lost its tracking (ie, vive tracker can't see lighthouse), the calibration process will automatically stop. However, when starting a new calibration, it continues where it left off, using bad sample from the aborted run.

In addition, if the aborted run was running in, say VERY_SLOW 500 samples mode, then the calibration that is rerun in FAST 100 samples mode, the existing collected samples could already be more than 100, causing the process to never terminate, requiring app restart.