first95 / FRC2018

The code base for our 2018 robot
MIT License
3 stars 0 forks source link

Add capability to wait for field color side assignments #57

Closed jwalthour closed 6 years ago

jwalthour commented 6 years ago

Apparently sometimes autonomous mode begins just slightly before game data is delivered. Would be useful to be resilient to such delays.

https://www.chiefdelphi.com/forums/showthread.php?t=162816&page=2

lindsayvallen commented 6 years ago

Done in commit 481a112. Tested to see that, with game data present, it exits while loop quickly. Can't test it with delay because we're getting plate assignment from FRC Driver Station and if leave it out there, will complain and die rather than waiting for assignment to get added. Will only wait 8 seconds after autonomousInit starts before timing out and moving on without plate assignments.