public class HardwareTimer extends java.lang.Object implements Timer.StaticInterface
Constructor and Description |
---|
HardwareTimer() |
Modifier and Type | Method and Description |
---|---|
void |
delay(double seconds)
Pause the thread for a specified time.
|
double |
getFPGATimestamp()
Return the system clock time in seconds.
|
double |
getMatchTime() |
Timer.Interface |
newTimer() |
public HardwareTimer()
public void delay(double seconds)
delay
in interface Timer.StaticInterface
seconds
- Length of time to pausepublic double getFPGATimestamp()
getFPGATimestamp
in interface Timer.StaticInterface
public double getMatchTime()
getMatchTime
in interface Timer.StaticInterface
public Timer.Interface newTimer()
newTimer
in interface Timer.StaticInterface