Пример #1
0
void brakeForGoAhead() {
    for (int i = 3; i > 0; i--) {
        md.setBrakes(370, 400);
        //motor not start at the same time
        //not stop at the same time
        //make right motor skip a bit
        //to be same as left motor
    }
}
Пример #2
0
void brakeForRotation() {
    for (int i = 3; i > 0; i--) {
        md.setBrakes(400, 400);
    }
}