private Intake() { Robotmap map = Robotmap.GetInstance(); intakeMotor = new TalonSRX(map.GetIntake_ID()); // Creates the TalonSRX motor. intakeMotor.SetInverted(true); // If you get value i will invert it. if it is going the wrong way it can be inverted. m_currentState = INTAKESTATE.Off; }
public void setState(INTAKESTATE sweeper) { m_currentState = sweeper; }