Replies: 1 comment 6 replies
-
Yes. This introduces several complications. The biggest one being that there is no easy way to apply forces from springs, dampers and joint limits, which are often critical. One could do limits with colliding geoms which would work but be inefficient, and springs and dampers would require custom code implemented in a callback (though a fairly straightforward one).
Yes, modulo the above qualifiers. But as in the quote, it is not obvious why someone would want to do this. To clarify, the reason this is interesting to you is that you want some subset of the comparison between {MuJoCo reduced coords + few constraints, MuJoCo Cartesian + lots of constraints, some other engine (e.g. ADAM)}. Is this correct? Check out the Robotiq gripper. This is a model with two 4-bar linkages, implemented with connect constraints (one per linkage is enough since the thing is coplanar). Happy to hear your thoughts. |
Beta Was this translation helpful? Give feedback.
-
I have a use case for multibody dynamics that is more in the mechanical engineering sense, while I am also in the AI circle which makes me want to invest more time in MuJoCo than all those "Computer-aided engineering" software.
As far as I understand, game physics (e.g. Bullet, PhysX, Havok, Open Dynamics Engine), robotics simulation (MuJoCo, Gazebo), and tiltular "multibody dynamics simulation" (MBDyn, and the go-to commercial software MSC ADAMS) with their most representative use case in vehicle engineering, all carry out multibody dynamics simulation in principle, but with different design trade-offs and thus different underlying math.
Suppose that we want to engineer an actual car suspension system, and for some reason we just want to use MuJoCo instead of the most proven choice MSC ADAMS (or its open source alternative MBDyn). Perhaps, we want to use reinforcement learning to search for a better solution. Or maybe we need to engineer a parallel robot which is to be built economically (thus working much closer to the elastic limit of the material than typical expensively built robots).
In these cases, would some design choices of MuJoCo, even with solver parameters set in favor of fidelity, make it less useful than MBDyn/ADAMS?
One particular worry that I had from the official documentation was from
A car suspension has a lot of kinematic loops, as well as hard joints. That said, all "hard" joint can be also considered "soft" with very large stiffness, so it might still work.
In particular, if all joints are modeled as in the quote, would generalized coordinates be reduced to Cartesian coordinates? If this is the case, could high-fidelity simulation still be possible at the price of computational efficiency by adjusting the solver configuration?
Search for similar discussions:
I have looked up a lot of reading materials, and surprisingly failed to find anyone including MBDyn (let alone ADAMS) in comparisons like Simulation Tools for Model-Based Robotics: Comparison of Bullet, Havok, MuJoCo, ODE and PhysX, not even a forum post bringing up both together. I am otherwise very convinced that MuJoCo is superior to other so-called "physics engines" in terms of fidelity.
Edit: Actually there is a paper bringing both ADAMS and MuJoCo into discussion:
-On the use of simulation in robotics: Opportunities, challenges, and suggestions for moving forward
But the discussion is so general, not even getting into kinematic tree vs loop as far as in this post.
Since car suspension is the most representative use case, I was able to find one paper that used MuJoCo to model vehiclal suspension.
However the paper only contained simulation output from MuJoCo, no comparison to physical experiment or even simulation results from other software.
There are a few papers evaluating MuJoCo simulation against physical experiments, addressing the "Reality gap". However they are geared toward typical tree-like robots. MuJoCo did not out perform Bullet in these experiments, either.
Quantifying the Reality Gap in Robotic Manipulation Tasks
Validating Robotics Simulators on Real-World Impacts
Beta Was this translation helpful? Give feedback.
All reactions