unitreerobotics / unitree_legged_sdk

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

example_joystick with python #106

Open Qianzhong-Chen opened 1 year ago

Qianzhong-Chen commented 1 year ago

Hi, I found that example_joystick only has cpp version but no python program.

I am using python to write control code and want to use the RC at the same time. However, when using python to collect data from RC, the data in state.wirelessRemote doesn't make sense to me. Then I found that in example_joystick.cpp, it uses memcpy, which is a feature in cpp.

Could you please develop a python version example_joystick program? That would be super helpful to me, thanks!

xyq1223 commented 11 months ago

Hello, we have fed back this requirement to our R&D colleagues, thank you for your support and understanding!

Morozovga691 commented 10 months ago

Could you tell me please, what example_joystick program should do? When I try to start the file, i see the next problem: " ./example_joystick: error while loading shared libraries: libunitree_legged_sdk.so: cannot open shared object file: No such file or directory "