Hi Kyrie,

Sets of such JSON specification files for various concrete vehicle models are 
in the Chrono data directory, under data/vehicle/.  For example, the various 
JSON files completely specifying the various subsystems for a HMMWV vehicle are 
located in subdirectories of 
data/vehicle/hmmwv<https://github.com/projectchrono/chrono/tree/main/data/vehicle/hmmwv>.
Start by looking at 
demo_VEH_WheeledJSON<https://github.com/projectchrono/chrono/blob/main/src/demos/vehicle/wheeled_models/demo_VEH_WheeledJSON.cpp>
 which uses models defined through such JSON files.

You do not provide any details on the vehicle you have in the lab and which you 
want to model.  Assuming it has subsystem topologies for which we have 
templates in Chrono::Vehicle, you need to collect and measure all required 
parameters then generate a complete set of the required JSON files.

If your vehicle has non-standard topology, you can still model it in Chrono, 
but you will not be able to rely on the Chrono::Vehicle module.  Instead, you 
will have to write your own model (in C++) for that.  You can see such an 
example in Chrono in the Mars 
Curiosity<https://github.com/projectchrono/chrono/tree/main/src/chrono_models/robot/curiosity>
 rover.

I hope this helps and puts you on the right track.
--Radu

From: [email protected] <[email protected]> On Behalf 
Of kyrie James
Sent: Wednesday, 9 November 2022 07:29
To: ProjectChrono <[email protected]>
Subject: Re: [chrono] Re: How to Import Your Own 3D Model and Set Constraints 
and Drivers?

Hi Radu,

Thank you very much for your reply! I see what you mean, but I don't know the 
location of the JSON file you are talking about. Can you recommend some related 
demos?

Maybe I didn't make myself clear in my last question. I want to import my own 
vehicle model, which is the model of our laboratory entity car. Constraints and 
drives are added to the laboratory vehicle model and studied. Can Chrono 
realize this requirement?

Thanks in Advance ..  !!

--Kyrie

在2022年11月8日星期二 UTC+8 16:35:31<Radu Serban> 写道:
Suraj and Kyrie,

I am not quite sure what you mean by “integration of 3D Car model”?
Vehicle models in Chrono::Vehicle are modeled by assembling the appropriate set 
of subsystem templates, concretized to your desired vehicle by providing all 
necessary parameters (hardpoint locations, mass and inertia properties, various 
dimensions, spring and damper characteristics, etc, etc).  You can do this 
through a hierarchical set of JSON specification files or else by writing your 
own set of vehicle-specific derived classes (as done in the Chrono vehicle 
model library for several vehicles).

Please provide details on what data you have and want to use to build your own 
Chrono::Vehicle model.

--Radu

From: [email protected] <[email protected]> On Behalf Of 
suraj thigale
Sent: Wednesday, 2 November 2022 06:20
To: ProjectChrono <[email protected]>
Subject: [chrono] Re: How to Import Your Own 3D Model and Set Constraints and 
Drivers?

Hello Team,

I'm also looking for same solution, integration of 3D Car model in chrono 
project's, but could't find in demo/toturial.

if anyone had integrated 3D vehicle model in project chrono let us know the 
integration steps and flow.

Thanks in Advance ..  !!

_S.T
On Wednesday, November 2, 2022 at 7:13:10 AM UTC+5:30 [email protected] wrote:
Dear all,
I want to import my own three-dimensional model of the vehicle, and add drive 
and set parameters, I did not find examples in the tutorial, how to set up in 
Chrono : : vehicle ? Or other modules ?
Thank  you!
--
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/8ff6756b-a330-40fa-add6-d138cb3ded1an%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/8ff6756b-a330-40fa-add6-d138cb3ded1an%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/a609a69e-069f-4332-8657-9f751b23efc7n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/a609a69e-069f-4332-8657-9f751b23efc7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/PH0PR06MB8237533479E9E808CCDE5A95A73E9%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to