private bool temp_HasContainer; //Replace with the limit switch output #endregion Fields #region Constructors public AutomatedRobot() { stacker = new Stacker(); drive = new SmartDrive(); driveWait = 0; state = RobotStates.Stack; //Assuming we start with can by our corner. }
//Elevator elevator; //ToteChute toteChute; //Arm arm; /** * This function is run when the robot is first started up and should be * used for any initialization code. */ public override void RobotInit() { AutonDriveWait = new SWave_WaitByCallCount(75); joysticks = new Joysticks(); drive = new SmartDrive(); stacker = new Stacker(); canburglar = new CanBurglar(); compressor = new Compressor(); compressor.Start(); }