public override void RobotInit() { //Function defined in RobotParts.cs initParts(); //Variable defined in Autonomous.cs autonomousMethod = (int)SmartDashboard.GetNumber("Autonomous Method", 0); }