Hi all,
I tried posting this Q in Csharp, but they seem
to be down right now. (Anyone know why?)
Here it goes...
I am working on a school project, that includes
the control of motors throught motion profiling,
and velocity loops. The velocity loop function
has to run every 10ms, and preferably more
precise than not.
Does anyone have any suggestions as to how to
start the funcion every 10ms, with more precision
than using the Timer function? Sould I put it on
a separate thread, put the thread to sleep for
a certain amount of time?? Will that be better
than the timer function? or does it do it alread
that way? How do they do this timing for games an such??
Any and all suggestions would be greatly appreciated.
Thanks in advance for all help