更换IP地址

This commit is contained in:
ywb
2026-05-26 11:34:07 +08:00
parent df1f8cc319
commit c7042b1bba
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ AGV_CONFIG = {
# ========== 机械臂 TCP 客户端 ========== # ========== 机械臂 TCP 客户端 ==========
ARM_CONFIG = { ARM_CONFIG = {
"host": "192.168.110.164", "host": "192.168.50.74",
"port": 5002, "port": 5002,
"timeout": 8, "timeout": 8,
"retry_times": 3, "retry_times": 3,
@@ -39,8 +39,8 @@ CAMERA_CONFIG = {
# ========== 机械臂摄像头流 ========== # ========== 机械臂摄像头流 ==========
ARM_CAMERA_CONFIG = { ARM_CAMERA_CONFIG = {
"url": "http://192.168.110.164:5003/api/camera/preview", "url": "http://192.168.50.74:5003/api/camera/preview",
"snapshot_url": "http://192.168.110.164:5003/api/camera/snapshot", "snapshot_url": "http://192.168.50.74:5003/api/camera/snapshot",
} }
# ========== HTTP 上传 ========== # ========== HTTP 上传 ==========
+2 -2
View File
@@ -16,7 +16,7 @@ AGV_CONFIG = {
# ========== 机械臂 TCP 客户端 ========== # ========== 机械臂 TCP 客户端 ==========
ARM_CONFIG = { ARM_CONFIG = {
"host": "192.168.110.164", "host": "192.168.50.74",
"port": 5002, "port": 5002,
"timeout": 8, "timeout": 8,
"retry_times": 3, "retry_times": 3,
@@ -39,7 +39,7 @@ CAMERA_CONFIG = {
# ========== 机械臂摄像头流 ========== # ========== 机械臂摄像头流 ==========
ARM_CAMERA_CONFIG = { ARM_CAMERA_CONFIG = {
"url": "http://192.168.110.164:5003/api/camera/preview", "url": "http://192.168.50.74:5003/api/camera/preview",
} }
# ========== HTTP 上传 ========== # ========== HTTP 上传 ==========
+1 -1
View File
@@ -26,7 +26,7 @@ import numpy as np
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
ROS2_SETUP_CMD = "source /opt/ros/humble/setup.bash && source ~/agv_pro_ros2/install/setup.bash" ROS2_SETUP_CMD = "source /opt/ros/humble/setup.bash && source ~/agv_pro_ros2/install/setup.bash"
ARM_CAMERA_SNAPSHOT = "http://192.168.110.164:5003/api/camera/snapshot" ARM_CAMERA_SNAPSHOT = "http://192.168.50.74:5003/api/camera/snapshot"
PHOTOS_DIR = "/home/elephant/photos" PHOTOS_DIR = "/home/elephant/photos"
# 二维码扫描重试参数 # 二维码扫描重试参数