예제 #1
0
 protected void end() {
   pidControllerDistance.disable();
   drivetrainStrafe.mecanumPolarStrafe(0, 0);
   drivetrainRotation.mecanumPolarRotate(0);
   timer.stop();
 }
예제 #2
0
 protected void initialize() {
   pidControllerDistance.enable();
   pidControllerDistance.setSetpoint(0);
   drivetrainStrafe.mecanumPolarStrafe(FORWARD_SPEED, 0);
   timer.start();
 }