Removed unnecessary (and not working) yaw angle check

This commit is contained in:
artem30801
2019-11-24 23:16:19 +03:00
committed by GitHub
parent eec82af58f
commit fe3f5700a4

View File

@@ -162,9 +162,6 @@ def check_angles(angle_limit=math.radians(5)):
if abs(telemetry.roll) >= angle_limit:
yield ("Roll estimation: {:.3f} rad;{:.3f} degrees".format(telemetry.roll,
math.degrees(telemetry.roll)))
if abs(telemetry.yaw) >= angle_limit:
yield ("Yaw estimation: {:.3f} rad;{:.3f} degrees".format(telemetry.yaw,
math.degrees(telemetry.yaw)))
def selfcheck():