unitreerobotics / unitree_legged_sdk

SDK tools for control robots.
BSD 3-Clause "New" or "Revised" License
287 stars 160 forks source link

Go1: Demos in example_py folder do not work #91

Open rafiqrana opened 1 year ago

rafiqrana commented 1 year ago

Hi, I am getting the following error with the go1 branch:

$ python3 example_py/example_walk.py 
Traceback (most recent call last):
File "/home/<username>/git/clone/unitree_legged_sdk/example_py/example_walk.py", line 8, in <module>
    import robot_interface as sdk
ModuleNotFoundError: No module named 'robot_interface'

System info:

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy
xyq1223 commented 1 year ago

Hello,We recommend that you download the latest SDK and recompile and run

sxyxs commented 11 months ago

Hi I download the latest SDK (3.8.6 for go1), compile and run (ubuntu20.04) with cmake -DPYTHON_BUILD=TRUE ..

I still got the issue python3 example_py/example_walk.py Traceback (most recent call last): File "example_py/example_walk.py", line 8, in <module> import robot_interface as sdk ModuleNotFoundError: No module named 'robot_interface'

heartInsert commented 3 months ago

Do you solve this problem ?