Hi Dan,

I ran demo_VEH_WheeledJSON on my workstation with 20-core cpu (@2.40 Hz) 
and 32 GB RAM, and built the code in release mode, but this demo and others 
are running very slowly, and the frame rate is very slow, I don't know what 
went wrong. The compile command I used, is as follows:

cmake -G"Unix Makefiles" -H/root/chrono -B/root/build_chrono 
-DENABLE_MODULE_IRRLICHT=ON -DENABLE_MODULE_POSTPROCESS=ON 
-DENABLE_MODULE_VEHICLE=ON -DENABLE_MODULE_OPENGL=ON -DENABLE_MODULE_GPU=ON 
--install-prefix=/usr/local/chrono
make -j4
make install

在2023年8月9日星期三 UTC+8 09:53:24<Dan Negrut> 写道:

> Bean - I think it’s relatively reasonable to expect a vehicle to take 2 
> seconds to reach 5.15 m/s. That’s 18.5 km/h – this value depends on the 
> mass of the vehicle and engine used (HMMWV, it seems). This vehicle 
> simulation should be real time, unless you have an old laptop or so. Also, 
> make sure you built the code in release mode, not debug mode.
>
> Dan
>
> ---------------------------------------------
>
> Bernard A. and Frances M. Weideman Professor
>
> NVIDIA CUDA Fellow
>
> Department of Mechanical Engineering
>
> Department of Computer Science
>
> University of Wisconsin - Madison
>
> 4150ME, 1513 University Avenue
>
> Madison, WI 53706-1572
>
> 608 772 0914 <(608)%20772-0914>
>
> http://sbel.wisc.edu/
>
> http://projectchrono.org/ 
>
> ---------------------------------------------
>
>  
>
> *From:* [email protected] <[email protected]> *On 
> Behalf Of *Bean Young
> *Sent:* Tuesday, August 8, 2023 8:45 PM
> *To:* ProjectChrono <[email protected]>
> *Subject:* [chrono] Re: why can't the vehicle in demo_VEH_WheeledJSON 
> move?
>
>  
>
> Hello!
>
>  
>
> Yes, you are absolutely right!
>
> After I held down the W key for 2 seconds (in simulation time), I could 
> see the vehicle get moving at 5.15 m/s:
>
>  
>
>
> But 2 seconds of simulation time takes too long in real-world, and how can 
> I make demo_VEH_WheeledJSON run in real time mode?
>
> Thankds for help!
>
> 在2023年8月8日星期二 UTC+8 20:45:28<[email protected]> 写道:
>
> Hello!
>
> Can you please try pressing the throttle for longer and seeing if the 
> vehicle still does not move? It is normal that there is a lag between the 
> application of the throttle and the movement of the vehicle. This can be 
> due to two reasons
>
> 1) The torque converter slips (seen as Tconv slip). In the screenshot you 
> can also see the T conv out RPM is only 10 and so it is expected that the 
> vehicle does not move forward. This is similar to a vehicle in real life, 
> even if you slam the throttle there will be a finite lag before the vehicle 
> starts moving. 
>
> 2) This lag might seem longer than usual because your simulation might not 
> be running at Real Time. This means that even though you feel that you have 
> been pressing the keyboard key for a long time, in simulation time, it is 
> too low (and still within the lag period). From my experience, pressing the 
> key for about 1 second simulation time is enough to get the vehicle moving. 
>
> If you still face issues after pressing the key for longer, then there 
> might be some problem and we can try looking at it together :)
>
>  
>
> Best
>
> Huzaifa
>
>  
>
> On Tuesday, August 8, 2023 at 4:46:03 AM UTC-5 [email protected] wrote:
>
> I have built Chrono 7.0.3 and 8.0.0 in Ubuntu 18.04, when I 
> ran demo_VEH_WheeledJSON, I pressed A key on the keybord, I could see the 
> throttle was increasing, but the vehicle was not moving and the speed was 
> no change, the screenshot is as follows:
>
>
> Can someone help me explain this problem?
>
> -- 
> 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/dccb3b76-e564-4a58-9772-316a97cb5c74n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/projectchrono/dccb3b76-e564-4a58-9772-316a97cb5c74n%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/14f18ff1-90f8-401d-a861-2f1a802136cbn%40googlegroups.com.

Reply via email to