Replies: 1 comment 3 replies
-
Hi @lwygzh ! Your question is a bit tangential to our project, but I'm happy to share experiences with you. There is no general answer when designing a low-level controller, this depends on the robot itself.
If we have perfect dynamics, then an MPC predicts perfect torque commands. Regarding contact force integration, you might first read our works
From the first paper, you can see that introducing whole-body controllers (or PD controller) lead to different control policies. Contact forces might be implicit or explicit decision variables. Integration of the contact forces/accelerations requires a controller with inverse dynamics. From the above comment, you might now be aware that we don't need to add the generalised acceleration (I guess this is what you mean with "joint") as these variables are implicit. I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hi,
First, I want to thank the contributors of this library for creating this awesome package!
I am trying to create a NMPC controller for a quadruped. And I am a bit confused on what kind of joint level controller I should have to produce the final control torques. I have tried two things:
I noticed that in the first case the performance is not that well when the computation delay is introduced to the quadruped system. The second controller does improve upon the first controller but it seems to be very sensitive to the cost function weights, amount of delay, and number of solver iterations (there are probably more factors coming into play, but these are the ones I tuned the most).
So I was wondering if anyone sees any issues in the joint level controllers I have?
Two other options I want to try are
Thanks in advance for the help!
Beta Was this translation helpful? Give feedback.
All reactions