frc538 / 2020-infinite-recharge

Robot code for FRC Team 538.
0 stars 0 forks source link

Configure waits for autonomous #62

Open drewwhis opened 4 years ago

drewwhis commented 4 years ago

We should be able to say we want to wait x seconds before starting our auto and y seconds after we finish shooting.

drewwhis commented 4 years ago

This will probably be a SmartDashboard entry where we type the number of seconds we want to wait. It will be read and converted into a wait command. If we enter an invalid number, assume we want to wait 0 seconds.

drewwhis commented 4 years ago

Calls like SmartDashboard.getNumber("Pre-Auto Wait", 0) and SmartDashboard.getNumber("Post-Action Wait", 0) would probably do the trick.