drive(mm) {
        if (mm > 0) {
            this.driveForward(mm);
        }
        else {
            this.driveBackward(mm);
        }
    }
// If speed is not explicitely set in the command, then drive at max speed
If speed is not explicitely set in the command, then drive at max speed
If speed is not explicitely set in the command then drive at max speed
drive(mm) {
        if (mm > 0) {
            this.driveForward(mm);
        }
        else {
            this.driveBackward(mm);
        }
    }
drive ( mm ) { if ( mm > 0 ) { this . driveForward ( mm ) ; } else { this . driveBackward ( mm ) ; } }
If speed is not explicitely set in the command, then drive at max speed
If speed is not explicitely set in the command then drive at max speed