Replies: 1 comment 1 reply
-
This certainly sounds interesting, though I admit that I did not read the relevant references [3,4,5]. Let me try and rephrase what I think you are proposing. You are saying that for dissipative constraints that do not have a motion reference, which I think only applies to joint friction (and possibly contact friction, but that is more complicated), the generated forces can be derived from a dissipation function. Is that correct? Let us take dry joint friction as a our example. Can you try and write what you are proposing? Note GitHub markdown supports LaTex and you can use the preview tab to make sure it is rendered correctly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
just wanted to share an idea/suggestion :)
From documentation of Mujoco library [1] and from reference [2], I have seen that dynamics computations are largely based on Gauss principle of least constraints. But when it comes to adding dissipative (e.g. some frictional) forces in those computations, I noticed that Mujoco's formulation at this point deviates from a bit from Gauss' principle, and it takes a different (but still valid) direction. I.e. those forces are still added in Gauss' formulation, but they are not modelled using the same way that extended Gauss' principle considers those additional aspects of dynamics [3].
I was wondering if it would make sense to instead continue with Gauss' principle all the way when it comes to adding dissipative forces. I.e. to take another dynamical-consistent way of modeling the dissipative forces and improve the accuracy of Mujoco engine even more. More specifically, for dissipative forces such as static (zero velocity) friction forces and load-dependent parts of dynamic (non-zero velocity) friction forces (e.g. in joints, contacts, etc.), reaction-forces from position limits (since these limits dissipate energy from the system when the system reaches them), etc. @emotodorov, @yuvaltassa.
References to this different approach are [3][4][5]. The idea is to use extended Gauss' principle that considers dissipative forces in its original acceleration energy cost (i.e. in 2nd order change of kinetic/potential energy cost). More specially, Gauss' and Maximum-Dissipation principles can be combined to produce a dynamically consistent formulation to account for dissipative forces.
Looking forward to your feedback. And I apologize in advance if some of my explanations here, or my understanding of these aspects, are incorrect in any way.
Thank you in advance for you feedback and please correct me if I got something wrong in here. :)
P.S. Recently there has been some new developments around Gauss-based solvers in State of the Art that contribute to advancing physics-related computations in terms of efficiency [6]. I see a lot of similarity between that work and Mujoco's solvers. They have also referenced Mujoco work in their publication.
[1] https://mujoco.readthedocs.io/en/stable/overview.html (Computation and Modelling sections)
[2] E. Todorov, "Convex and analytically-invertible dynamics with contacts and constraints: Theory and implementation in MuJoCo," 2014 IEEE International Conference on Robotics and Automation (ICRA).
[3] G. Pozharitskii, “Extension of the principle of gauss to systems with dry (coulomb) friction”, Journal of Applied Mathematics and mechanics, vol. 25, pp. 586 –607, 1961.
[4] A. F. Vereshchagin, “Modelling and control of motion of manipulation robots”, Soviet Journal of Computer and Systems Sciences, vol. 27, pp. 29–38, 1989. (unfortunately, access to this publication is not available anywere (neither paid or free access), but I have access to a scanned copy if requred for referencing)
[5] Vukcevic, Djordje, "Extending a constrained hybrid dynamics solver for energy-optimal robot motions in the presence of static friction", Technical Report, 2018. (chapter 5)
[6] A. S. Sathya, H. Bruyninckx, W. Decré and G. Pipeleers, "Efficient Constrained Dynamics Algorithms Based on an Equivalent LQR Formulation Using Gauss' Principle of Least Constraint," in IEEE Transactions on Robotics, vol. 40, pp. 729-749, 2024
Best regards,
Djordje
Beta Was this translation helpful? Give feedback.
All reactions