This commit is contained in:
GZod01 2024-03-20 14:33:30 +01:00
parent 08c6921f49
commit ba038c7cfc

View file

@ -131,9 +131,12 @@ public class FTC2024WeRobotControl {
public void harvest(double motor_speed) { public void harvest(double motor_speed) {
Parent.harvestmotor.setPower(motor_speed); Parent.harvestmotor.setPower(motor_speed);
} }
public void harvest() {
Parent.harvestmotor.setPower(1.0);
}
/* /*
* harvest * rotate
* *
* @param angle = the angle to rotate (in degrees) * @param angle = the angle to rotate (in degrees)
* *