reverse(4);
//start to gate
motorSpeed(4,45);
goToRelativePosition(201);
//brake gate
reverse(4);
motorSpeed(4,75);
goFor(1.275);
//wait gate
motorSpeed(4,0);
goFor(7.5);
//through gate
reverse(4);
motorSpeed(4,60);
goFor(1.2);
//wait load brake
motorSpeed(4,0);
goToRelativePosition(177);
//break to load
reverse(4);
motorSpeed(4,70);
goFor(1.15);
//wait reach load
reverse(4);
motorSpeed(4,0);
goFor(5);
/////////2nd half code
reverse(4);
//to gate
motorSpeed(4,65);
goToRelativePosition(-235);
//brake gate
reverse(4);
motorSpeed(4,68);
goFor(1.25);
//wait gate
motorSpeed(4,0);
goFor(9.5);
//through gate
reverse(4);
motorSpeed(4,55);
goFor(3);
//wait end
motorSpeed(4,0);
goToRelativePosition(-245);
reverse(4);
motorSpeed(4,50);
goFor(1.10);