gt
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user