Compare commits
No commits in common. "ab657425c8eb0cd8b32198d144e0ff136cd47988" and "2ba467e024cd9abd1cc3a00158c1a413f40bfe3a" have entirely different histories.
ab657425c8
...
2ba467e024
Binary file not shown.
Binary file not shown.
|
@ -10,17 +10,11 @@ import time
|
||||||
import math
|
import math
|
||||||
from typing import List
|
from typing import List
|
||||||
from .utils import MQTT, parse_robot_state, calcu_vecloty, calcu_distance
|
from .utils import MQTT, parse_robot_state, calcu_vecloty, calcu_distance
|
||||||
sys.path.append("/home/unitree/alg/prejects/ZK-AI/zkdog/ZKDogApi/src")
|
import ZKMetaUnit.src.robot_interface as sdk
|
||||||
import robot_interface as sdk
|
|
||||||
|
|
||||||
HIGHLEVEL = 0xee
|
HIGHLEVEL = 0xee
|
||||||
LOWLEVEL = 0xff
|
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:
|
class ZKDOG:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.udp = sdk.UDP(HIGHLEVEL, 8080, "192.168.123.161", 8082)
|
self.udp = sdk.UDP(HIGHLEVEL, 8080, "192.168.123.161", 8082)
|
||||||
|
|
Loading…
Reference in New Issue