Hi Edward,

I think it’d be best to first familiarize yourself with the design and 
philosophy of Chrono::Vehicle and how vehicle subsystems are defined and then 
assembled into a vehicle system.
You can start with the information available on the Chrono project website: 
https://api.projectchrono.org/manual_vehicle.html and the paper 
https://projectchrono.org/assets/white_papers/chronoVehicle_IJVP.pdf.

As you will see there, Chrono::Vehicle uses a so-called template-based design 
by providing fully parameterized templates (“blueprints”) of various vehicle 
subsystems (chassis, suspension, steering, etc) which a user can use and 
particularize for the specific vehicle they want to model. For example, if your 
vehicle has a double wishbone suspension, you use that particular template and 
provide all parameters that are specific to the vehicle you are modeling.  
These include both geometric and inertial parameters. Geometric information is 
typically provided as location of “hard points” specifying locations of bodies, 
connection points, etc.

There are two ways in which you can construct all subsystems for a particular 
vehicle model:

  1.  You can create your own set of C++ classes, deriving from the 
corresponding subsystem template class and implementing all necessary virtual 
functions in order to set the template parameters to the values corresponding 
to your particular vehicle.
You can see this done for all vehicle models in the ChronoModels_vehicle 
library (see 
https://github.com/projectchrono/chrono/tree/main/src/chrono_models/vehicle)
  2.  You can fully specify the parameters of a vehicle subsystem template 
through a JSON specification file, then create a vehicle JSON file that 
references the JSON files for the individual component subsystems.  You can see 
examples of such hierarchies of JSON files in the various subdirectories of the 
data directory https://github.com/projectchrono/chrono/tree/main/data/vehicle

Bottom line is that modeling a vehicle in Chrono has nothing to do with 
Solidworks (although having access to some CAD files for the vehicle and/or 
vehicle subsystems certainly helps in extracting the various parameters you 
must provide).

Finally, note that new vehicle models can only be created in C++.  The PyChrono 
wrappers only allow you to *use* an existing vehicle model, not create a new 
one.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Edward “Edward.png” Hoene
Sent: Wednesday, August 14, 2024 4:22 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] New vehicle on project chrono

Hi, I'm new to project chrono, and I was wondering if I'm able to make a new 
vehicle or if there are any webpages where people made extra vehicle models. Do 
I have to build one on SOLIDWORKS?

Thanks,
Edward Hoene
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/d75380dd-0e71-4990-8b40-4ede2b430dccn%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/d75380dd-0e71-4990-8b40-4ede2b430dccn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!J2spoq74tmoSwOrL0aokxklUJfcl2M6xREEwlR-shqB6MMhNvt86VoZRPB6la96bj6ctfKuH4S1e7TYp_14$>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC21853DD53941449A414DEB90A7822%40CH3PPF46CDC2185.namprd06.prod.outlook.com.

Reply via email to