Restarting the IMU listener on calibration provides much better results. This is specially important with extreme calibrations (like the glasses and phone IMUs being rotated 90 degs).
The following is a good test case:
put the phone over a surface with a 90º rotation relative to the glasses, i.e. pointing towards your right or left
start wolvic
observe that the ray is pointing to the front despite the phone position
take the phone and point it to the wolvic window and then click on calibrate
Without this patch the behaviour of the pointer after calibration is pretty bad. With this patch it works normally
Restarting the IMU listener on calibration provides much better results. This is specially important with extreme calibrations (like the glasses and phone IMUs being rotated 90 degs).
The following is a good test case:
Without this patch the behaviour of the pointer after calibration is pretty bad. With this patch it works normally