Need for LSD ‘shafts’ for rallycross simulation with chronoUnity

38 views
Skip to first unread message

A. Gachette

unread,
Aug 5, 2025, 2:49:37 PMAug 5
to ProjectChrono
Hello, I'm working on a rallycross simulation with chronoUnity (C# binding). I would like to use a Driveline4WD shafts for more realism but I also need a limited slip differential. My aim would be to : retain the shaft inertias, have a locking limit, and be able to apply a max bias (LSD). The SimpleDrivelineXWD template offers a Differential Max Bias in JSON, but it doesn't manage shaft inertias or locking. In C#, the current binding does not expose the shafts (InputShaft, FrontShaft, RearShaft) or the possibility of connecting a ChShaftsClutch to implement this bias, unless I'm mistaken. Question: Is there a way in chronoUnity (or in the roadmap) to access these shafts/clutches of a ShaftsDriveline4WD to connect an LSD, or an alternative method to cleanly replace the native driveline with a complete ShaftsDriveline? Thanks for your help!

Radu Serban

unread,
Aug 6, 2025, 5:36:26 AMAug 6
to ProjectChrono

You are correct, we currently do not expose through the SWIG interfaces (which are used to automatically create the Python and C# bindings) any of the classes used to build new vehicle system templates. This is because we do not see Python and C# as development platforms for Chrono, but rather only user interfaces.  In other words, if you want to modify an existing driveline template or create a new one, you would need to do this in C++ and, expose that through the SWIG interface file, and recreate the Chrono C# libraries.

 

--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/664b7c02-4f1a-4457-96d3-7bead9420e9fn%40googlegroups.com.

A. Gachette

unread,
Aug 7, 2025, 10:00:03 AMAug 7
to ProjectChrono
Thank you very much for your quick and clear reponse. I will pursue this route.
Reply all
Reply to author
Forward
0 new messages