1. 3 weeks ago

    G.A.T Wrenches

    Dec 20 Groton 9050 C

    I'm sorta new to C++ but have been getting better, I want to know if I can run 2 motors for a whole match by just pressing 1 button

    if(con.ButtonR1.pressing()){
        LeftShooterB.spin(directionType::fwd);
        RightShooterB.spin(directionType::fwd);
    }

    If I don't have this

    else { 
        LeftShooterB.stop(braketype::coast);
        RightShooterB.stop(braketype::coast);
    } 

    Will the motors run until the end of the match?

  2. TaranMayer

    Dec 20 Arizona 6142w

    @G.A.T Wrenches I'm sorta new to C++ but have been getting better, I want to know if I can run 2 motors for a whole match by just pressing 1 button

    if(con.ButtonR1.pressing()){
        LeftShooterB.spin(directionType::fwd);
        RightShooterB.spin(directionType::fwd);
    }

    If I don't have this

    else { 
        LeftShooterB.stop(braketype::coast);
        RightShooterB.stop(braketype::coast);
    } 

    Will the motors run until the end of the match?

    If there is nothing to stop them, they will keep running, and eat up your battery. I assume this is for an intake?

  3. G.A.T Wrenches

    Dec 20 Groton 9050 C

    No a Shooter, That if we constantly shut it down and start it up they overheat and can only fire 4 to 5 shots

 

or Sign Up to reply!