def getAngleStatus(angle):
    """ returns status based on the angle. Status codes:
    0 - straight (-10 to +10)
    1 - left or down (less than -10)
    2 - right or up (greater than 10)
    """
    if angle < -10:
        return 1
    elif angle > 10:
        return 2
    return 0