소스 검색

fix coord issue

Tuan Nguyen 1 년 전
부모
커밋
040c96cb3e
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      app.py

+ 0 - 1
app.py

@@ -709,7 +709,6 @@ def send_coordinate():
 
         # Send the coordinate to the Arduino
         send_coordinate_batch(ser, [(theta, rho)])
-        reset_theta()
         return jsonify({"success": True})
     except Exception as e:
         return jsonify({"success": False, "error": str(e)}), 500