Closed yvesauad closed 4 years ago
I guess now its fine. I added a condition to step my laser. Not only status==2 (hardware 'holding') but i also added that the thread.Lock should be available. It is supposed to be at this point, but something is holding the lock (maybe some hardware delay etc). Will check all this tomorrow.
The bug is inside adter if my check_moving. It call
self.__laser.set_scan_thread_release()
but then stops. I put some prints in my two whiles and they are not stuck. i am pretty sure the threading.Lock is the source. Didnt find it yet