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

MPC controller : Robot deviates from its trajectory #82

Open
stiefen1 opened this issue Apr 5, 2023 · 1 comment
Open

MPC controller : Robot deviates from its trajectory #82

stiefen1 opened this issue Apr 5, 2023 · 1 comment

Comments

@stiefen1
Copy link

stiefen1 commented Apr 5, 2023

Hello,

When I run the locomotion_controller_example.py, I observe that the robot is deviating from the commanded trajectory. It's not so bad when the robot is walking, but if I try to keep the robot in place (all the legs in stance mode) using the code commented in the same file, then the base of the robot is moving back and the robot falls. I didn't change anything in the code, just followed the setup instructions and run the example.

Do you have any idea where this problem comes from ?

Best,
Stephen

@Wangxinhui-bot
Copy link

Hello,
Happy to see we are doing same work, though I haven't solved yet, but the trick is to change mpc weight in file torque_stance_leg_controller.py
Please let me know if you solved 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