+xI'm using the existing pursuit rotor task script and I want to keep the original parameters but increase the number of rotations, so the ball spins around the circle 10 times (so, increase num_rev from 1 to 10). I've noticed that each time I do this, the program gets worse and worse at identifying where my mouse is relative to the ball. By the 4th or 5th rotation, the color begins changing when my mouse isn't on the circle, and the more rotations that pass, the worse this discrepancy gets.
Any ideas why this is happening, or how I can ensure multiple revolutions without this weird bug? I've tried playing with the "variables that interact" values, but regardless of speed/movingtimeadjust/anything, this pattern keeps happening.
This essentially means the parameters aren't tuned finely enough for your particular system. The inaccuracies will add up with each rotation until you get a noticeable "drift" as the calculations accumulate error and are significantly "off".
Have you gone through the steps outlined in the script, i.e.
Fine-tune for your computer:
(1) Run the script with speed = 40; num_pos = 360; and movingtimeadjust = 0
(2) Then check values.mean_truetrialduration for your computer (summary data file). This is roughly
the minimum duration trial.movingtarget needs on YOUR computer.
Now compare it to expressions.requiredmovingtargetspeed (summary data file).
IMPORTANT: Your combined settings of speed and Num_pos should NOT produce a a required movingtargetspeed
that is faster than your values.mean_truetrialduration.
(3) Find a combination of your desired speed and Num_pos for your computer that produces a required targetspeed
that is as close as possible to your determined values.mean_truetrialduration
(4) If you have a combination of speed and Num_pos that produces a required targetspeed that is
as slow or slower than your values.mean_truetrialduration, then fine-tune
values.movingtimeadjust until values.accept = 'yes'.
If so, which values have you determined based on that?