Ejemplo n.º 1
0
        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.
        }
Ejemplo n.º 2
0
        //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();
        }