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

About the length of motorState and the position in HighState #112

Open
gyt290811 opened this issue Aug 26, 2023 · 1 comment
Open

About the length of motorState and the position in HighState #112

gyt290811 opened this issue Aug 26, 2023 · 1 comment

Comments

@gyt290811
Copy link

gyt290811 commented Aug 26, 2023

Hello, the robot has only 12 motors and why the length of motorState is 20? std::array<MotorState, 20> motorState; How do I know which joint motor's state corresponds to each part in the motorState? Is their order the same as in quadruped.h? What are the remaining eight variables in motorState? After starting the robot, I control it to move backward, but the position[0] is showing a positive value. What may cause this problem?
2023-08-26 22-55-45屏幕截图

@xyq1223
Copy link

xyq1223 commented Sep 26, 2023

Hello, regarding motorState , we actually only use twelve, and the last eight are reserved bits, so you don’t need to worry about it.

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

2 participants