unitreerobotics / unitree_legged_sdk

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

About libunitree_legged_sdk.so #118

Open muye1202 opened 1 year ago

muye1202 commented 1 year ago

Hi!

May I ask if it is possible to make public the dynamic version of libunitree_legged_sdk? I'm trying to compile a cpp script that's using unitree_legged_sdk library, and has encountered problem when using the static version of libunitree_legged_sdk.It's giving me undefined symbol error and I'm using CMake as compilation tools.

My work is NOT for any commercial use, I'm currently doing research in a robotics lab at Northwestern University in the U.S.

thanks!

Liu-Xiaoyan97 commented 1 year ago

Have you solved your problem? I ran into a similar problem. I renamed robot_interface* in lib/python/arm64 in the sdk to robot_interface.so and placed it in the same directory as the script. It did import, but I encountered ImportError: undefined symbol:PyInstanceMethod_Type. How did you solve it? thank you