Description
Using lerp to smooth out the jumps is possible but than every quick movement of the user also gets smoothed. This solution is not ideal therefore I have to work on a fix.
One possible solution seems to use the accelerometer to check if the data coming from the arcore camera are correct.
The idea of using the IMU was mentioned here
google-ar/arcore-android-sdk#604
by one of the google arcore team members.
Another fix might be to use a filter algorithm which cuts off movements which are to fast for humans or which are unlikely. For example one could record the last few frames and if the next frames differs to much from the ones before it could be a jump in the tracking and filtering it out might help to eliminate the jumps keeping responsiveness high and lag low.