def get_vehicle_angle(rect_angle):
    """ Returns angle needed to be turned to align perpendicularly to long side of object """
    angle = 90 - abs(rect_angle) if rect_angle >= -90 else 90 - abs(rect_angle)
    return (angle + 90) % 360