|
Re: getMatchTime docs not correct
The Timer class actually wraps the DriverStation.getMatchTime() which has this documentation
Quote:
/**
* Return the approximate match time The FMS does not send an official match
* time to the robots, but does send an approximate match time. The value will
* count down the time remaining in the current period (auto or teleop).
* Warning: This is not an official time (so it cannot be used to dispute ref
* calls or guarantee that a function will trigger before the match ends) The
* Practice Match function of the DS approximates the behaviour seen on the
* field.
*$
* @return Time remaining in current match period (auto or teleop) in seconds
*/
|
This might've been inverted this year on the DS side but it wasn't inverted in the Timer class
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
|