mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-11 01:39:41 +01:00
AI braking: predict the ESt3 brake force from the distributor characteristic
This commit is contained in:
@@ -5091,6 +5091,7 @@ void TMoverParameters::ComputeTotalForce(double dt)
|
||||
double TMoverParameters::BrakeForceR(double ratio, double velocity)
|
||||
{
|
||||
double press = 0;
|
||||
ratio = Hamulec->GetBrakeRatio(ratio);
|
||||
if (MBPM > 2)
|
||||
{
|
||||
press = MaxBrakePress[1] + (MaxBrakePress[3] - MaxBrakePress[1]) * std::min(1.0, (TotalMass - Mass) / (MBPM - Mass));
|
||||
|
||||
Reference in New Issue
Block a user