Hi,
You will find that all of the existing suspensions are derived from ChSuspension so yes, you can take that as a base class and create your own. The good news is that there are many examples you can study as a starting point.
The other alternative you have is to build your own suspension
based on the "Generic Wheeled Suspension". Admittedly, that is not
currently documented extensively, but this is a type of suspension
that allows you to "build your own" using existing building
blocks. It is based on the JSON templates that are available for
all of these suspensions [1]. There are a few examples to get you
started. The UAZ has a FrontSAELeafspringAxle suspension that is
both available as a SAEToeBarLeafspringAxle based template [2] and
a replica of that as a GenericWheeledSuspension [3]. This one is
quite complex. Another example is for the HMMWV [4].
Greetings, Marcel
My current requirement is to create several different types of suspensions. The suspensions available in the vehicle library don't quite meet my needs. I'd like to create my own suspensions. Could you please advise if this is feasible? If it is, how can I use the ChSuspension base class to create the suspensions I need?
I'm using a translation software, so there might be some grammar issues. Sorry
--
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/5f856bb5-3288-4898-8a77-a71ca3a7519fn%40googlegroups.com.
That is a good summary, yes.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/36283010-ff2e-4f70-8b1a-257a78617d16n%40googlegroups.com.
Thank you. . I have another question. So, assuming I use the Generic Wheeled Suspension to create the suspension I need, would I only need to configure my suspension's JSON file based on the JSON nodes parsed by the Generic Wheeled Suspension?
Yes, in the JSON file you create you define all the different
bodies, joints, springs and dampers that make up your suspension
topology.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/dd4f2eb0-1af9-4fd2-82a0-7d260d24dc7dn%40googlegroups.com.