bool Scoop::Update() { // if (IsButtonRaised() && !IsScoopRaised()) { RaiseScoop(); } else if (IsButtonLowered() && !IsScoopLowered() ) { LowerScoop(); } else { StopScoop (); } SetRoller (IsRollerOn()); return true; }
void Intake::Shoot(){ //if minimum shooter speed is 95% of the speed that the talon is saying, then roll in if (m_shooterSpeedPID->OnTarget()) { SetRoller(1.0); } }