Browse Source

fix for #87 - reverts

shuvit 5 years ago
parent
commit
848efc2b82
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      controller2.py

+ 1
- 1
controller2.py View File

@@ -2734,7 +2734,7 @@ def main():
2734 2734
 
2735 2735
     own['set_revert_timer'] = 0
2736 2736
     ground_since = own["framenum"] - own['lF_air_frame']
2737
-    if ground_since > 80 and frames_since_grinding > 40:
2737
+    if ground_since > 80 and frames_since_grinding > 40 and rLR > -turnsens and rLR < turnsens and rUD > -turnsens and rUD < turnsens:
2738 2738
 
2739 2739
         if q3oncdl < q4oncdl < q5oncdl < q6oncdl < q7oncdl:
2740 2740
             if r_ground.triggered == True:

Loading…
Cancel
Save