Package xbot.common.controls.sensors
Interface XSettableTimerImpl
- All Superinterfaces:
XTimerImpl
- All Known Implementing Classes:
MockTimer
,TimerWpiAdapter
-
Method Summary
Modifier and TypeMethodDescriptionvoid
advanceTimeInSecondsBy
(double time) Advance the timervoid
setTimeInSeconds
(double time) Set the current timeMethods inherited from interface xbot.common.controls.sensors.XTimerImpl
delay, getFPGATimestamp, getMatchTime
-
Method Details
-
setTimeInSeconds
void setTimeInSeconds(double time) Set the current time- Parameters:
time
- The current time in seconds
-
advanceTimeInSecondsBy
void advanceTimeInSecondsBy(double time) Advance the timer- Parameters:
time
- Duration in seconds to advance by
-