Remove warmup and pause periods for 2019 scrimmage.

This commit is contained in:
Patrick Fairbank
2019-04-05 23:46:18 -07:00
parent 998ed66d9a
commit 74c1063a2d
2 changed files with 28 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ var MatchTiming = struct {
TeleopDurationSec int
EndgameTimeLeftSec int
TimeoutDurationSec int
}{3, 15, 2, 135, 30, 0}
}{0, 15, 0, 135, 20, 0}
func GetAutoEndTime(matchStartTime time.Time) time.Time {
return matchStartTime.Add(time.Duration(MatchTiming.WarmupDurationSec+MatchTiming.AutoDurationSec) * time.Second)