def METHOD_NAME(speed, rotation):
    """
    Set the velocity value of both wheels.
    If rotation is false, both wheels will have the same velocity set,
    which will make the robot go straight. Otherwise, the left wheel will be
    set with the opposite value, making the robot turn without changing
    position.
    """
    leftWheel.setVelocity(-speed if rotation else speed)
    rightWheel.setVelocity(speed)