Quasics2016Code/SimpleRobot/src/Subsystems/IntakeArm.cpp
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS
BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS
BEGIN AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTANTS END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTANTS
IntakeArm::IntakeArm() :
    Subsystem("IntakeArm") {
    leftArm = RobotMap::intakeArmLeftArm;
    rightArm = RobotMap::intakeArmRightArm;
    leftArmEncoder = RobotMap::intakeArmLeftArmEncoder;
    rightArmEncoder = RobotMap::intakeArmRightArmEncoder;
    leftArmEncoder->SetDistancePerPulse(1);
    rightArmEncoder->SetDistancePerPulse(1);
    leftArmEncoder->Reset();
    rightArmEncoder->Reset();
    leftArm->SetInverted(false);
    rightArm->SetInverted(true);
}
IntakeArm :: IntakeArm ( ) : Subsystem ( " " ) { leftArm = RobotMap :: intakeArmLeftArm ; rightArm = RobotMap :: intakeArmRightArm ; leftArmEncoder = RobotMap :: intakeArmLeftArmEncoder ; rightArmEncoder = RobotMap :: intakeArmRightArmEncoder ; leftArmEncoder -> SetDistancePerPulse ( 1 ) ; rightArmEncoder -> SetDistancePerPulse ( 1 ) ; leftArmEncoder -> Reset ( ) ; rightArmEncoder -> Reset ( ) ; leftArm -> SetInverted ( false ) ; rightArm -> SetInverted ( true ) ; }
BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTANTS
BEGIN AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTANTS END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = CONSTANTS
// BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS