We have a haptic device that is linked to an object that is moved around and are tracking the coordinates of that object for analysis.
I'm not at that computer now but I believe the refresh rate is 60.
Would I be guessing right to assume that part of the problem might be that my computer isn't fast enough to run through my code in less than 1/60 of a second? If it was faster, and could run through my code faster, I should be able to up my output from 20 per second to 60, correct?
Or, is there a better way to run a routine on a time interval like this that would allow me to execute my routine 100 times per second?
Thanks.
|