Auton(string name, std::function<void()> fn)
Constructs an auton with the given name and function.
It is recommended to use the operator+() function instead of this constructor because it requires less characters and looks nicer.
Parameters
name- The name of the autonfn- The function that will be called when the auton is run
Example
Auton skillsAuton = Auton("Skills", [](){
//Auton code here
});