Hi,
We are trying to score a cone to a small junction during autonomous and then park.
For thr road runner we have the following sequence to build the trajectory:
//We have already raised the height to medium junction however currently at starting position
.strafeLeft(14)
.forward(14)
.addDisplacementMarker(() -> {
sleep(1000);
// code to open Servo claw
sleep(1000)
})
.back(12)
.strafeRight(12)
I added the sleep(1000) before and after the claw open action to slow down a bit. However it completly skips the .back(12) and goes straight to StrafeRight step which messes up the autonomous path.
if there any other alternative so that the code is not dropped prematurely?
Thanks!