Compare commits
2 Commits
2ba467e024
...
ab657425c8
Author | SHA1 | Date |
---|---|---|
|
ab657425c8 | |
|
1bd181acad |
Binary file not shown.
Binary file not shown.
|
@ -10,11 +10,17 @@ 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
|
||||||
import ZKMetaUnit.src.robot_interface as sdk
|
sys.path.append("/home/unitree/alg/prejects/ZK-AI/zkdog/ZKDogApi/src")
|
||||||
|
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