celerate(1,0,15,2.5); //Accelerate motor 1 from 0% to 15% in 2.5 seconds
goFor(1); //run motor at constant speed for 1 second
brake(1); //brake motor 1
celerate(2,0,27,4); //accelerate motor 2 from 0% to 27% in 4 seconds
goFor(2.7); //run motor 2 at constant speed for 2.7 seconds
celerate(2,27,15,1);//decelerate motor 2 from 27% to 15% in 1 second
brake(2);//brake motor 2
reverse(2);//reverse motor 2
celerate(4,0,31,2);//accelerate all motors from 0% to 31% in 2 seconds
motorSpeed(4,35);//set all motors to 35%
goFor(1);//run motors for 1 second
brake(2);//brake motor 2
goFor(3);//run for 3 seconds
brake(4);//brake all motors
reverse(1);//reverse motor 1
celerate(1,0,19,2);//accelerate motor 1 from 0% to 19% in 2 seconds
motorSpeed(2,35);//set motor 1 to 35%
goFor(2);//run motors for 2 seconds
motorSpeed(2,19);//set motor 2 to 19%
celerate(4,19,0,3);//accelerate all motors from 19% to 0% in 3 seconds
brake(4);//brake all motors