Hey so I have a puncher with my user control programmed to when I press (using the pressed function) a certain button it does 1 full revolution. But I’ve come across a problem where it no longer does one full revolution once and screws up every other revolution. Any help with this problem would be appreciated, thanks.
Here is the user function
//User function to pull back puncher
void regularFire ()
{
int puncherVelocity = 200;
int puncherPullbackAmt = 1;
Puncher.setVelocity(puncherVelocity,velocityUnits::rpm);
Puncher.rotateFor(puncherPullbackAmt,rotationUnits::rev);
Puncher.stop(brakeType::coast);
}