Merge branch 'master' of https://forge.gzod01.fr/werobot/ftc2024-robotcode
This commit is contained in:
commit
7afcf0aa8d
2 changed files with 134 additions and 5 deletions
|
@ -100,7 +100,7 @@ public class Ftc2024_autonome_api{
|
|||
robot.boxElv();
|
||||
robot.harvest(1);
|
||||
robot.forward(2);
|
||||
robot.harvest(0);
|
||||
/*robot.harvest(0);
|
||||
robot.rotate((-90));
|
||||
robot.posBasse();
|
||||
while (opModeIsActive() && rotation.getCurrentPosition() < rotation.getTargetPosition()) {
|
||||
|
@ -111,7 +111,7 @@ public class Ftc2024_autonome_api{
|
|||
robot.harvest(-1);
|
||||
robot.backward(0.5);
|
||||
robot.harvest(0);
|
||||
robot.forward(0.5);
|
||||
robot.forward(0.5);*/
|
||||
break;
|
||||
case B2D:
|
||||
imu.resetYaw();
|
||||
|
@ -123,13 +123,13 @@ public class Ftc2024_autonome_api{
|
|||
telemetry.update();
|
||||
}
|
||||
robot.harvest(1);
|
||||
robot.forward(0.5);
|
||||
robot.harvest(0);
|
||||
robot.forward(1);
|
||||
robot.harvest(0);
|
||||
/* robot.forward(1);
|
||||
robot.harvest(-1);
|
||||
robot.backward(0.5);
|
||||
robot.harvest(0);
|
||||
robot.forward(0.5);
|
||||
robot.forward(0.5);*/
|
||||
break;
|
||||
case R4D:
|
||||
robot.boxElv();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue