fixed time for a flag state in SWC racing procedure

This commit is contained in:
fmittag
2016-12-02 17:35:33 +01:00
parent e3c8a7c48d
commit 9f33061495
@@ -149,7 +149,7 @@ public class SWCRacingProcedureImpl extends ConfigurableStartModeFlagRacingProce
} else if (now.before(startTime.plus(CLASS_AND_STARTMODE_DOWN_INTERVAL))) {
return new FlagPoleState(
Arrays.asList(new FlagPole(cachedStartmodeFlag, true), new FlagPole(Flags.SWC_ZERO, true)),
startTime.minus(CLASS_AND_STARTMODE_UP_INTERVAL),
startTime,
Arrays.asList(new FlagPole(cachedStartmodeFlag, false), new FlagPole(Flags.SWC_ZERO, false)),
startTime.plus(CLASS_AND_STARTMODE_DOWN_INTERVAL));
} else {