Compare commits
3 Commits
3b06cbd447
...
b2d4647e41
| Author | SHA1 | Date | |
|---|---|---|---|
| b2d4647e41 | |||
| 75922f581c | |||
| a429b936d2 |
@@ -74,10 +74,10 @@ public class Limelighter extends Command {
|
|||||||
}
|
}
|
||||||
else if(calcul > 5){
|
else if(calcul > 5){
|
||||||
drivetrain.setControl(
|
drivetrain.setControl(
|
||||||
drive.withRotationalRate(-0.5*(2*Math.PI)));
|
drive.withRotationalRate(2));
|
||||||
}
|
}
|
||||||
else if(calcul < -5){
|
else if(calcul < -5){
|
||||||
drivetrain.setControl(drive.withRotationalRate(-0.5*(2*Math.PI)));
|
drivetrain.setControl(drive.withRotationalRate(-2));
|
||||||
}
|
}
|
||||||
// botx = BotPose[1];
|
// botx = BotPose[1];
|
||||||
// boty = BotPose[0];
|
// boty = BotPose[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user