engine cut-off
I've tried to simulate a little bit better an engine cut-off when rpm limit work.
My idea, if you agree, it's to add a parameter in .car file, like:
rpm-limit-hysteresis = 200
What do you think? I've sent my example files to the mailing list.
(hysteresis now is fixed, it's only for trails)
Try these file and then if you want, try to change hysteresis ( 400, 200) with your car.
You need only to change this parameter in Engine.cc m_engine_speed_limit_hysteresis (see example below) .
I've tried them with G4,M3,GT,3S,F1.
Ex: (Engine.cc line 42/43)
m_engine_speed_limit_hysteresis (Vamos_Geometry::rpm_to_rad_s (rpm_limit-400)),
or
m_engine_speed_limit_hysteresis (Vamos_Geometry::rpm_to_rad_s (rpm_limit-200)),
The last one work better.
pwp71
P.S. tell me if I must commit these files.
|