Changed the condition of the roll flip

This commit is contained in:
Alamoris
2019-07-30 19:38:13 +03:00
committed by GitHub
parent f5da6bc11c
commit f953b1bbd9

View File

@@ -360,7 +360,7 @@ def flip():
while True:
telem = get_telemetry()
if -math.pi + 0.1 < telem.roll < -0.2:
if abs(telem.roll) > math.pi/2:
break
rospy.loginfo('finish flip')