mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
Changed the condition of the roll flip
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user