Browse Source

fix coord issue

Tuan Nguyen 1 year ago
parent
commit
040c96cb3e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app.py

+ 0 - 1
app.py

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