bouge mieux
This commit is contained in:
@@ -65,7 +65,7 @@ public class GrimperMur extends Command {
|
||||
angle = angle + 360;
|
||||
}
|
||||
if(alliance.get() == Alliance.Blue){
|
||||
y = 5;
|
||||
y = 5.4;
|
||||
x = 1.11;
|
||||
angle = 0;
|
||||
if(drivetrain.getPigeon2().getYaw().getValueAsDouble() > 350 || drivetrain.getPigeon2().getYaw().getValueAsDouble() < 10){
|
||||
@@ -81,7 +81,7 @@ public class GrimperMur extends Command {
|
||||
}
|
||||
}
|
||||
else{
|
||||
x = 11.45966;
|
||||
x = 15.6;
|
||||
y = 6.959326;
|
||||
angle = 180;
|
||||
if(drivetrain.getPigeon2().getYaw().getValueAsDouble() > 170 && drivetrain.getPigeon2().getYaw().getValueAsDouble() < 190){
|
||||
|
||||
Reference in New Issue
Block a user