fix:WeRobot-Code.java problem with the vertical

This commit is contained in:
Gzod01 2023-09-29 18:41:46 +02:00
parent 09b9a7bc9c
commit 53b3747c82

View file

@ -147,7 +147,7 @@ class WRRobot{
if(y>0){
movement(new double[]{pow,-pow,pow,-pow});
}else{
movement(new double[]{pow,-pow,pow,-pow});
movement(new double[]{-pow,pow,-pow,pow});
}
}
@ -169,7 +169,7 @@ class WRRobot{
if (g2x > 0) {
movement(new double[]{pow,pow,pow,pow});
} else {
movement(new double[]{-pow,-pow,-pow,-pow});
movement(new double[]{-pow,-pow,-pow,pow});
}
}