Quasics2016Code/SimpleRobot/src/Commands/TwoManIntakeArm.cpp
// Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run
void TwoManIntakeArm::Execute() {
    if (fabs(Robot::oi->getIntakeStick()->GetRawAxis(1)) > .05)
        Robot::intakeArm->DirectArmControll(
            -Robot::oi->getIntakeStick()->GetRawAxis(1));
    else {
        Robot::intakeArm->StopArm();
    }
}
void TwoManIntakeArm :: Execute ( ) { if ( fabs ( Robot :: oi -> getIntakeStick ( ) -> GetRawAxis ( 1 ) ) > .05 ) Robot :: intakeArm -> DirectArmControll ( - Robot :: oi -> getIntakeStick ( ) -> GetRawAxis ( 1 ) ) ; else { Robot :: intakeArm -> StopArm ( ) ; } }
Called repeatedly when this Command is scheduled to run
Called repeatedly when this Command is scheduled to run