Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Auton& call()

Calls the auton’s function. For the most part this function is only used internally, but it can be used if the user wants to call the auton function manually.

Returns

A reference to the auton.

Example

Auton skillsAuton = "Skills" + [](){
    //Auton code here
};
void autonomous(){
    skillsAuton.call();
}