Compare commits

..

No commits in common. "ab657425c8eb0cd8b32198d144e0ff136cd47988" and "2ba467e024cd9abd1cc3a00158c1a413f40bfe3a" have entirely different histories.

4 changed files with 1 additions and 7 deletions

0
ZKDogApi/src/__init.py Normal file
View File

View File

@ -10,17 +10,11 @@ import time
import math
from typing import List
from .utils import MQTT, parse_robot_state, calcu_vecloty, calcu_distance
sys.path.append("/home/unitree/alg/prejects/ZK-AI/zkdog/ZKDogApi/src")
import robot_interface as sdk
import ZKMetaUnit.src.robot_interface as sdk
HIGHLEVEL = 0xee
LOWLEVEL = 0xff
# cmake -DPYTHON_LIBRARY=/home/unitree/python3.8/lib \
# -DPYTHON_INCLUDE_DIR=/home/unitree/python3.8/include/python3.8 \
# -DPYTHON_EXECUTABLE=/home/unitree/python3.8/bin/python3.8 \
# ..
class ZKDOG:
def __init__(self) -> None:
self.udp = sdk.UDP(HIGHLEVEL, 8080, "192.168.123.161", 8082)