Describe the bug
When I replace the time.sleep() by an infinite while True: to keep the script running, the cwTurn starts to merging with ccwTurn
To Reproduce
Steps to reproduce the behavior:
- Use the example script
- Replace
time.sleep() by any while, example:
try:
while True:
temp = 0
- run the script
Expected behavior
perfect difference between cwTurn and ccwTurn
Screenshots

(rotate to down direction all the time, rotating up works fine)
Of course, I've used different Rotary to valid this test:
Bought here: https://www.amazon.es/gp/product/B079H3C98M/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
Describe the bug
When I replace the
time.sleep()by an infinitewhile True:to keep the script running, thecwTurnstarts to merging withccwTurnTo Reproduce
Steps to reproduce the behavior:
time.sleep()by any while, example:Expected behavior
perfect difference between
cwTurnandccwTurnScreenshots

(rotate to down direction all the time, rotating up works fine)
Of course, I've used different Rotary to valid this test:
Bought here: https://www.amazon.es/gp/product/B079H3C98M/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1