bob.ip.get_angle_to_horizontal

bob.ip.get_angle_to_horizontal((float)left_y, (float)left_x, (float)right_y, (float)right_x) → float :

Get the angle needed to level out (horizontally) two points.