onInit

protected fun onInit()

Runs upon the pressing of the INIT button on the Driver Station.

This is where you should initialise your hardware (if applicable) and other components.

Override this method to use it.