src/org/usfirst/frc4678/CyberCavs2017Code/RobotMap.java
public static void init() {
        // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
        driveTrainleftMotor = new Talon(1);
        LiveWindow.addActuator("DriveTrain", "leftMotor", (Talon) driveTrainleftMotor);
        
        driveTrainrightMotor = new Talon(0);
        LiveWindow.addActuator("DriveTrain", "rightMotor", (Talon) driveTrainrightMotor);
        
        driveTrainleftPosition = new Encoder(0, 1, false, EncodingType.k4X);
        LiveWindow.addSensor("DriveTrain", "leftPosition", driveTrainleftPosition);
        driveTrainleftPosition.setDistancePerPulse(1.0);
        driveTrainleftPosition.setPIDSourceType(PIDSourceType.kRate);
        driveTrainrightPosition = new Encoder(2, 3, false, EncodingType.k4X);
        LiveWindow.addSensor("DriveTrain", "rightPosition", driveTrainrightPosition);
        driveTrainrightPosition.setDistancePerPulse(1.0);
        driveTrainrightPosition.setPIDSourceType(PIDSourceType.kRate);
        driveTrainshifter = new Solenoid(0, 0);
        LiveWindow.addActuator("DriveTrain", "shifter", driveTrainshifter);
        
        intakelowGoalFlap = new Servo(4);
        LiveWindow.addActuator("Intake", "lowGoalFlap", intakelowGoalFlap);
        
        intakeintakeMotor = new Talon(2);
        LiveWindow.addActuator("Intake", "intakeMotor", (Talon) intakeintakeMotor);
        
        intakeintakePosition = new CANTalon(0);
        LiveWindow.addActuator("Intake", "intakePosition", intakeintakePosition);
        
        intakeleftFuelWindmillDeployMotor = new Servo(3);
        LiveWindow.addActuator("Intake", "leftFuelWindmillDeployMotor", intakeleftFuelWindmillDeployMotor);
        
        intakerightFuelWindmillDeployMotor = new Servo(8);
        LiveWindow.addActuator("Intake", "rightFuelWindmillDeployMotor", intakerightFuelWindmillDeployMotor);
        
        intakeleftFuelWindmillSpinMotor = new Talon(11);
        LiveWindow.addActuator("Intake", "leftFuelWindmillSpinMotor", (Talon) intakeleftFuelWindmillSpinMotor);
        
        intakerightFuelWindmillSpinMotor = new Talon(12);
        LiveWindow.addActuator("Intake", "rightFuelWindmillSpinMotor", (Talon) intakerightFuelWindmillSpinMotor);
        
        clawclawPosition = new CANTalon(1);
        LiveWindow.addActuator("Claw", "clawPosition", clawclawPosition);
        
        clawclamp = new Solenoid(0, 1);
        LiveWindow.addActuator("Claw", "clamp", clawclamp);
        
        clawleftFingerPosition = new AnalogInput(0);
        LiveWindow.addSensor("Claw", "leftFingerPosition", clawleftFingerPosition);
        
        clawrightFingerPosition = new AnalogInput(1);
        LiveWindow.addSensor("Claw", "rightFingerPosition", clawrightFingerPosition);
        
        climberclimberMotor = new Talon(5);
        LiveWindow.addActuator("Climber", "climberMotor", (Talon) climberclimberMotor);
        
        shootershooterMotor = new CANTalon(3);
        LiveWindow.addActuator("Shooter", "shooterMotor", shootershooterMotor);
        
        shooterindexMotor = new CANTalon(2);
        LiveWindow.addActuator("Shooter", "indexMotor", shooterindexMotor);
        
        hopperleftAgitator = new Relay(0);
        LiveWindow.addActuator("Hopper", "leftAgitator", hopperleftAgitator);
        
        hopperrightAgitator = new Relay(1);
        LiveWindow.addActuator("Hopper", "rightAgitator", hopperrightAgitator);
        
        hopperfrontFlap = new Servo(6);
        LiveWindow.addActuator("Hopper", "frontFlap", hopperfrontFlap);
        
        hopperbackFlap = new Servo(7);
        LiveWindow.addActuator("Hopper", "backFlap", hopperbackFlap);
        

    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
    }
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = DECLARATIONS
public static void init() {
        driveTrainleftMotor = new Talon(1);
        LiveWindow.addActuator("DriveTrain", "leftMotor", (Talon) driveTrainleftMotor);
        driveTrainrightMotor = new Talon(0);
        LiveWindow.addActuator("DriveTrain", "rightMotor", (Talon) driveTrainrightMotor);
        driveTrainleftPosition = new Encoder(0, 1, false, EncodingType.k4X);
        LiveWindow.addSensor("DriveTrain", "leftPosition", driveTrainleftPosition);
        driveTrainleftPosition.setDistancePerPulse(1.0);
        driveTrainleftPosition.setPIDSourceType(PIDSourceType.kRate);
        driveTrainrightPosition = new Encoder(2, 3, false, EncodingType.k4X);
        LiveWindow.addSensor("DriveTrain", "rightPosition", driveTrainrightPosition);
        driveTrainrightPosition.setDistancePerPulse(1.0);
        driveTrainrightPosition.setPIDSourceType(PIDSourceType.kRate);
        driveTrainshifter = new Solenoid(0, 0);
        LiveWindow.addActuator("DriveTrain", "shifter", driveTrainshifter);
        intakelowGoalFlap = new Servo(4);
        LiveWindow.addActuator("Intake", "lowGoalFlap", intakelowGoalFlap);
        intakeintakeMotor = new Talon(2);
        LiveWindow.addActuator("Intake", "intakeMotor", (Talon) intakeintakeMotor);
        intakeintakePosition = new CANTalon(0);
        LiveWindow.addActuator("Intake", "intakePosition", intakeintakePosition);
        intakeleftFuelWindmillDeployMotor = new Servo(3);
        LiveWindow.addActuator("Intake", "leftFuelWindmillDeployMotor", intakeleftFuelWindmillDeployMotor);
        intakerightFuelWindmillDeployMotor = new Servo(8);
        LiveWindow.addActuator("Intake", "rightFuelWindmillDeployMotor", intakerightFuelWindmillDeployMotor);
        intakeleftFuelWindmillSpinMotor = new Talon(11);
        LiveWindow.addActuator("Intake", "leftFuelWindmillSpinMotor", (Talon) intakeleftFuelWindmillSpinMotor);
        intakerightFuelWindmillSpinMotor = new Talon(12);
        LiveWindow.addActuator("Intake", "rightFuelWindmillSpinMotor", (Talon) intakerightFuelWindmillSpinMotor);
        clawclawPosition = new CANTalon(1);
        LiveWindow.addActuator("Claw", "clawPosition", clawclawPosition);
        clawclamp = new Solenoid(0, 1);
        LiveWindow.addActuator("Claw", "clamp", clawclamp);
        clawleftFingerPosition = new AnalogInput(0);
        LiveWindow.addSensor("Claw", "leftFingerPosition", clawleftFingerPosition);
        clawrightFingerPosition = new AnalogInput(1);
        LiveWindow.addSensor("Claw", "rightFingerPosition", clawrightFingerPosition);
        climberclimberMotor = new Talon(5);
        LiveWindow.addActuator("Climber", "climberMotor", (Talon) climberclimberMotor);
        shootershooterMotor = new CANTalon(3);
        LiveWindow.addActuator("Shooter", "shooterMotor", shootershooterMotor);
        shooterindexMotor = new CANTalon(2);
        LiveWindow.addActuator("Shooter", "indexMotor", shooterindexMotor);
        hopperleftAgitator = new Relay(0);
        LiveWindow.addActuator("Hopper", "leftAgitator", hopperleftAgitator);
        hopperrightAgitator = new Relay(1);
        LiveWindow.addActuator("Hopper", "rightAgitator", hopperrightAgitator);
        hopperfrontFlap = new Servo(6);
        LiveWindow.addActuator("Hopper", "frontFlap", hopperfrontFlap);
        hopperbackFlap = new Servo(7);
        LiveWindow.addActuator("Hopper", "backFlap", hopperbackFlap);
    }
public static void init ( ) { driveTrainleftMotor = new Talon ( 1 ) ; LiveWindow . addActuator ( "DriveTrain" , "leftMotor" , ( Talon ) driveTrainleftMotor ) ; driveTrainrightMotor = new Talon ( 0 ) ; LiveWindow . addActuator ( "DriveTrain" , "rightMotor" , ( Talon ) driveTrainrightMotor ) ; driveTrainleftPosition = new Encoder ( 0 , 1 , false , EncodingType . k4X ) ; LiveWindow . addSensor ( "DriveTrain" , "leftPosition" , driveTrainleftPosition ) ; driveTrainleftPosition . setDistancePerPulse ( 1.0 ) ; driveTrainleftPosition . setPIDSourceType ( PIDSourceType . kRate ) ; driveTrainrightPosition = new Encoder ( 2 , 3 , false , EncodingType . k4X ) ; LiveWindow . addSensor ( "DriveTrain" , "rightPosition" , driveTrainrightPosition ) ; driveTrainrightPosition . setDistancePerPulse ( 1.0 ) ; driveTrainrightPosition . setPIDSourceType ( PIDSourceType . kRate ) ; driveTrainshifter = new Solenoid ( 0 , 0 ) ; LiveWindow . addActuator ( "DriveTrain" , "shifter" , driveTrainshifter ) ; intakelowGoalFlap = new Servo ( 4 ) ; LiveWindow . addActuator ( "Intake" , "lowGoalFlap" , intakelowGoalFlap ) ; intakeintakeMotor = new Talon ( 2 ) ; LiveWindow . addActuator ( "Intake" , "intakeMotor" , ( Talon ) intakeintakeMotor ) ; intakeintakePosition = new CANTalon ( 0 ) ; LiveWindow . addActuator ( "Intake" , "intakePosition" , intakeintakePosition ) ; intakeleftFuelWindmillDeployMotor = new Servo ( 3 ) ; LiveWindow . addActuator ( "Intake" , "leftFuelWindmillDeployMotor" , intakeleftFuelWindmillDeployMotor ) ; intakerightFuelWindmillDeployMotor = new Servo ( 8 ) ; LiveWindow . addActuator ( "Intake" , "rightFuelWindmillDeployMotor" , intakerightFuelWindmillDeployMotor ) ; intakeleftFuelWindmillSpinMotor = new Talon ( 11 ) ; LiveWindow . addActuator ( "Intake" , "leftFuelWindmillSpinMotor" , ( Talon ) intakeleftFuelWindmillSpinMotor ) ; intakerightFuelWindmillSpinMotor = new Talon ( 12 ) ; LiveWindow . addActuator ( "Intake" , "rightFuelWindmillSpinMotor" , ( Talon ) intakerightFuelWindmillSpinMotor ) ; clawclawPosition = new CANTalon ( 1 ) ; LiveWindow . addActuator ( "Claw" , "clawPosition" , clawclawPosition ) ; clawclamp = new Solenoid ( 0 , 1 ) ; LiveWindow . addActuator ( "Claw" , "clamp" , clawclamp ) ; clawleftFingerPosition = new AnalogInput ( 0 ) ; LiveWindow . addSensor ( "Claw" , "leftFingerPosition" , clawleftFingerPosition ) ; clawrightFingerPosition = new AnalogInput ( 1 ) ; LiveWindow . addSensor ( "Claw" , "rightFingerPosition" , clawrightFingerPosition ) ; climberclimberMotor = new Talon ( 5 ) ; LiveWindow . addActuator ( "Climber" , "climberMotor" , ( Talon ) climberclimberMotor ) ; shootershooterMotor = new CANTalon ( 3 ) ; LiveWindow . addActuator ( "Shooter" , "shooterMotor" , shootershooterMotor ) ; shooterindexMotor = new CANTalon ( 2 ) ; LiveWindow . addActuator ( "Shooter" , "indexMotor" , shooterindexMotor ) ; hopperleftAgitator = new Relay ( 0 ) ; LiveWindow . addActuator ( "Hopper" , "leftAgitator" , hopperleftAgitator ) ; hopperrightAgitator = new Relay ( 1 ) ; LiveWindow . addActuator ( "Hopper" , "rightAgitator" , hopperrightAgitator ) ; hopperfrontFlap = new Servo ( 6 ) ; LiveWindow . addActuator ( "Hopper" , "frontFlap" , hopperfrontFlap ) ; hopperbackFlap = new Servo ( 7 ) ; LiveWindow . addActuator ( "Hopper" , "backFlap" , hopperbackFlap ) ; }
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = DECLARATIONS
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS