Hi, everyone
I'm using pychrono, but I'm having some problems:
My computer hardware environment:12th Gen Intel(R) Core(TM) i7-12700H、computer memory module:16G、Samsung SSD 980 PRO 1TB、NVIDIA GeForce RTX 3060 Laptop GPU
My computer software environment is windows11 Pro 64-bit, running under vs2022 64-bit Debug
When I use some of the demos that come with the chrono vehicle module directly, I often get stuck and Windows refresh slowly, such as demo_VEH_CityBus, demo_VEH_M113, etc.
The following figure shows some runtime interfaces and parameters
I hope you can give me some advice and look forward to your reply.
demo_VEH_CityBus


demo_VEH_HMMWV


demo_VEH_M113


I need your help
Thanks
leiw
Leiv,
Simply build your code in Release (not Debug) and you will see significantly faster simulations.
By the way, you are not using PyChrono (which is a set of wrappers around the C++ libraries to allow using Chrono from Python).
--Radu
From: projec...@googlegroups.com <projec...@googlegroups.com>
On Behalf Of ??
Sent: Wednesday, November 1, 2023 7:27 AM
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] Chrono Running lag
Hi, everyone
I'm using pychrono, but I'm having some problems:
My computer hardware environment:12th Gen Intel(R) Core(TM) i7-12700H、computer memory module:16G、Samsung SSD 980 PRO 1TB、NVIDIA GeForce RTX 3060 Laptop GPU
My computer software environment is windows11 Pro 64-bit, running under vs2022 64-bit Debug
When I use some of the demos that come with the chrono vehicle module directly, I often get stuck and Windows refresh slowly, such as demo_VEH_CityBus, demo_VEH_M113, etc.
The following figure shows some runtime interfaces and parameters
I hope you can give me some advice and look forward to your reply.
demo_VEH_CityBus


demo_VEH_HMMWV


demo_VEH_M113


I need your help
Thanks
leiw
--
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/4527ef26-ae14-4ba8-9304-f021a32de61dn%40googlegroups.com.
Chrono makes no real-time guarantees. Depending on model complexity, solver and integrator settings, and many other factors, some simulations will run faster, others slower. While a wheeled vehicle modeled through Chrono::Vehicle will likely run in (soft) real-time on commodity hardware, that’s certainly not the case with a model as complex as a tracked vehicle.
Debug code will *always* run slower that code built in Release.
As for using PyChrono, that will *not* give you any additional performance! As I mentioned before, PyChrono wraps around the C++ libraries. If anything, it may be very slightly slower (depending how much work you do in the interpreted Python layer). And using Python will definitely not allow you to debug Chrono code.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/bdcd1318-0037-40c6-9be7-a522728d0cean%40googlegroups.com.