From 66894987a27347a20136974c38dc570632d93024 Mon Sep 17 00:00:00 2001
From: Zhiying Li <zhiyingli@g.ucla.edu>
Date: Thu, 4 Nov 2021 22:20:36 -0700
Subject: [PATCH] change the AT size and new esp32-cam url using the new router

---
 Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py b/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py
index 4fdade8..f17cf50 100644
--- a/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py
+++ b/Code/Control/Laptop_Code/ESP32_AT/imageTread_AT.py
@@ -36,7 +36,8 @@ def get_AT_6DOF_info(url):
     fy = 600
     cx = 400
     cy = 300
-    AT_size = 0.16
+    #AT_size = 0.16
+    AT_size = 0.74
     results = detector.detect(gray_image, estimate_tag_pose=True, camera_params=[fx, fy, cx, cy], tag_size=AT_size)
     debug_print = 0
     for r in results:
@@ -97,6 +98,11 @@ if __name__ == "__main__":
     # url='http://192.168.1.107/cam-hi.jpg'
     url='http://192.168.4.1/cam-hi.jpg'
     url = 'http://192.168.1.118/cam-hi.jpg'
+    url = 'http://10.0.0.3/cam-hi.jpg'  #03
+    url = 'http://10.0.0.5/cam-hi.jpg'  #01
+    url = 'http://10.0.0.6/cam-hi.jpg'  #02
+    url = 'http://10.0.0.7/cam-hi.jpg'  #06
+
 
 
     # cv2.namedWindow("live transmission", cv2.WINDOW_AUTOSIZE)
-- 
GitLab