You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever onSensorChanged() is executed, data is immidietly sent to server, instead of that we can store a particular number of data points (sensor data) and send array of data points rather than sending a single data point. As a result chance of missing data points would reduce and network traffic would also reduce leading to lesser lag and better performance.
The text was updated successfully, but these errors were encountered:
The lag in the movement of mouse is not because we are missing data points, but due to some variables like pyautogui.MINIMUM_SLEEP are set to there default value (0.05 for this one). This means the mouse cursor will sleep for 0.05 sec after every movement. This is the reason for lag, equating this variable to 0 removes the lag. I have fixed this in my new pull request.
Whenever onSensorChanged() is executed, data is immidietly sent to server, instead of that we can store a particular number of data points (sensor data) and send array of data points rather than sending a single data point. As a result chance of missing data points would reduce and network traffic would also reduce leading to lesser lag and better performance.
The text was updated successfully, but these errors were encountered: