|
Re: Thread scheduler for PID period control ?
Quote:
Originally Posted by Joe Ross
I just ran the following code:
Code:
double prevTime = 0;
public void teleopPeriodic() {
double time = Timer.getFPGATimestamp();
System.out.println(time-prevTime);
prevTime=time;
}
And got the following output...
|
I took the liberty of plotting it. Attached.
Last edited by Ether : 31-01-2014 at 22:36.
Reason: added 2nd graph
|