Strange behavior of the CHRONO/MULTICORE collision system in the "demo_MBS_collision_trimesh.cpp" demo

92 views
Skip to first unread message

Paul-Otto Müller

unread,
Apr 12, 2024, 9:23:46 AM4/12/24
to ProjectChrono
Hello everyone,

I've got a question regarding the "demo_MBS_collision_trimesh.cpp" demo.

If I change the collision system type from "BULLET" to "MULTICORE", somehow the collision shapes are no longer aligned with the visualization model.
The reason for this seems to be line 111, where the COG frame is moved relative to the REF frame. When the rotational part (principal_inertia_rot) is removed, the issue does not occur.

I don't know if I need to change anything or if this behavior may be as intended.

The code was compiled with the newest version of Project Chrono from the main Git branch (but this also occurs with older versions).

Looking forward to your response.

Kind regards,
Paul

Radu Serban

unread,
Apr 13, 2024, 3:06:38 AM4/13/24
to ProjectChrono

Hi Paul,

 

Thank you for pointing this out.  I confirm that there is a bug when the frame orientation is changed.  I will look into this when I get a chance.

 

--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 on the web visit https://groups.google.com/d/msgid/projectchrono/77b0073e-1247-4e5c-ac3f-2786f4740829n%40googlegroups.com.

Radu Serban

unread,
May 5, 2024, 9:51:06 AM5/5/24
to ProjectChrono

Paul, I finally got a chance to look at this issue earlier today. I pushed a fix.

--Radu

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages