When a scripted video plays slower than normal, DeoVR sends each stroke packet when the slowed video reaches the script point. But the duration in the packet is still the normal-speed value. The device finishes each move early and then stands still until the next packet arrives, so the motion stops and starts instead of following the video smoothly.
Expected
Each packet's duration should be the time to the next script point at the current playback speed: the script duration divided by the speed. At 0.5×, a 234 ms move should be sent as 468 ms.
Steps to reproduce
- Connect an OSR2 (Haptics Connect firmware) over Bluetooth.
- Play a scripted video at normal speed. The motion is smooth.
- Set the playback speed to 0.5×. The motion stops and starts at every script point.