This is a cute simulation.
From the code you provided, I take it that you are using an older version of Chrono. I just tried your code with the latest Chrono from the main git branch, and I cannot reproduce the issue.
Regarding your question about ChBodyEasMesh, note that this creates under the hood a ChBodyAuxRef (and not a ChBody). In that case, you probably want to control the pose of the reference frame with respect to the global frame. However, SetPos and SetRot actually affect the pose of the centroidal frame (relative to the global frame).
I know that this is *very* confusing and it’s something I intend to change throughout Chrono whenever I will find the time.
In the meantime, I suggest you
I attached a modification of your code where I
Let me know what you get.
Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/projectchrono/c35f6ec9-0d9f-4311-8b8c-f09a3afdbb94n%40googlegroups.com.