Closed NHDinosaur closed 3 years ago
How about:
if (deploy.get()) { Robot.powerCellMover.setRollerSpeed(Robot.oi.getGroundPickUpRollerAxis()); } else { Robot.powerCellMover.setRollerSpeed(0); }
Oh, deploy is private at the moment.
Did that, but inside setRollerSpeed()
itself.
If the ground collector runs while retracted, it rubs against the intake for the singulator and causes damage. It would be good to add a limit so we don't have to make sure of this manually.