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;
}
How does your test differ?
|
The major difference is we are reading an I2C 9DOF IMU model GY85. Works great, but maybe the I2C is slowing things down. I did a quick estimate and thought the time would be about 1 to 2ms, but maybe there is more overhead than I guessed.
I guess we just need to try the measurements again.