Compare commits

..

3 Commits

Author SHA1 Message Date
b2d4647e41 gt 2026-04-01 04:48:34 +02:00
75922f581c Merge branch 'main' of https://git.demerso.net/sdesharnais/Rebuilt-2026 2026-04-01 04:48:25 +02:00
a429b936d2 limelight 2026-04-01 04:40:40 +02:00

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];