unitreerobotics / unitree_legged_sdk

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

Lib for python 3.10 (Go1 EDU) #74

Closed Kulczar closed 1 year ago

Kulczar commented 1 year ago

Hello guys!

the lib works very well on python 3.8, i want to know if able to upgrade the lib to works on python 3.10 !?

Thx!

https://github.com/unitreerobotics/unitree_legged_sdk/tree/v3.8.0

JonasFovea commented 1 year ago

Doesn't it work with 3.10?

Kulczar commented 1 year ago

No :( just with python 3.8!

Captura de tela de 2023-01-04 10-45-20

xyq1223 commented 1 year ago

Hello,we have provided the python_wrapper,please check and any version of Python (>3.0) can be used to control the robot dog (https://github.com/unitreerobotics/unitree_legged_sdk/tree/go1/python_wrapper)

JonasFovea commented 1 year ago

@Kulczar have you tried the new pybind feature?

realquantumcookie commented 1 year ago

Hello,we have provided the python_wrapper,please check and any version of Python (>3.0) can be used to control the robot dog (https://github.com/unitreerobotics/unitree_legged_sdk/tree/go1/python_wrapper)

Hi there, just follow up on this, I tried to compile for python 3.11 but it failed. Looks like the newest supported version of python for the pybind feature you guys provided would be 3.10. And also inside python_wrapper/python_interface.cpp it looks like the line

#include <msgpack.h>

is actually not needed.