This commit is contained in:
2026-04-01 04:48:34 +02:00
parent 75922f581c
commit b2d4647e41

View File

@@ -74,10 +74,10 @@ public class Limelighter extends Command {
}
else if(calcul > 5){
drivetrain.setControl(
drive.withRotationalRate(0.5*(2*Math.PI)));
drive.withRotationalRate(2));
}
else if(calcul < -5){
drivetrain.setControl(drive.withRotationalRate(-0.5*(2*Math.PI)));
drivetrain.setControl(drive.withRotationalRate(-2));
}
// botx = BotPose[1];
// boty = BotPose[0];