update
This commit is contained in:
parent
350a5e8bec
commit
bb6dbe5bdd
@ -5,6 +5,7 @@ import os
|
||||
import time
|
||||
import random
|
||||
import grpc # 新增grpc导入
|
||||
import cv2
|
||||
from typing import Generator # 新增Generator类型导入
|
||||
import numpy as np # 确保导入numpy(传感器数据处理需要)
|
||||
|
||||
@ -141,7 +142,7 @@ def test_camera():
|
||||
print("=== 测试相机功能 ===")
|
||||
|
||||
# 初始化客户端
|
||||
client = CMVRGrpcClient("192.168.1.6:50052")
|
||||
client = CMVRGrpcClient("192.168.1.222:50060")
|
||||
if not client.is_connected():
|
||||
print("连接服务器失败")
|
||||
return
|
||||
@ -312,7 +313,7 @@ def test_dexhand():
|
||||
print("=== 测试DexHand功能 ===")
|
||||
|
||||
# 初始化GRPC客户端(使用实际服务器地址)
|
||||
client = CMVRGrpcClient("192.168.1.6:50052")
|
||||
client = CMVRGrpcClient("192.168.1.222:50060")
|
||||
if not client.is_connected():
|
||||
print("连接服务器失败")
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user