Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get LowLevel data while standing up in HighLevel (Aliengo sdk) #123

Open
giuseppecialdella opened this issue Oct 25, 2023 · 3 comments
Open

Comments

@giuseppecialdella
Copy link

giuseppecialdella commented Oct 25, 2023

Hello,
I have downloaded the sdk v3.8.4 for the Aliengo and I would like to know two things:

  1. In the first place I want to read low level telemetry (like temperature) while working in Sport mode (HighLevel). Unlike Go1 and B1 sdk, in the AlienGo sdk (more precisely into the comm.h header) the HighState data structure for example doesn't contain the MotorState variable (useful to read temperatures) that is instead present into the LowState. So when the robot is standing up I can get HighLevel data but not the LowLevel data and viceversa when it's lying down. Anyway I'm interested in getting low level data when is standing up.
  2. I'm writing the telemetry scripts in C++ but I would like to try them in Python. The problem is that when I run the examples in python it says that it doesn't find the robot_interface.

Does anyone know how to handle these problems? Thank you in advance!

@Liu-Xiaoyan97
Copy link

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. You can try to see if there is any response. Please give me feedback.

@giuseppecialdella
Copy link
Author

@Liu-Xiaoyan97 Not yet, I've tried what you are saying but it gives me another error: ImportError: libunitree_legged_sdk.so: cannot open shared object file: No such file or directory

@heartInsert
Copy link

Do you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants