net-man / Cerberus2020

The code for Cerberus robotic in FRC 2020.
Other
0 stars 0 forks source link

Add a State Interface or Object #10

Closed net-man closed 5 years ago

net-man commented 5 years ago

A state should have three time it executes code.

  1. on start - When the state is started.
  2. on periodic - Loop while the state is active.
  3. on end - When the state is stopped.