mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 17:09:19 +02:00
Increased BrakeAccFactor for DMUs
This commit is contained in:
@@ -2362,6 +2362,8 @@ double TController::BrakeAccFactor() const
|
||||
|| ( mvOccupied->Vel > VelDesired + fVelPlus ) ) ) {
|
||||
Factor += ( fBrakeReaction * ( /*mvOccupied->BrakeCtrlPosR*/BrakeCtrlPosition < 0.5 ? 1.5 : 1 ) ) * mvOccupied->Vel / ( std::max( 0.0, ActualProximityDist ) + 1 ) * ( ( AccDesired - AbsAccS_pub ) / fAccThreshold );
|
||||
}
|
||||
if (mvOccupied->TrainType == dt_DMU && mvOccupied->Vel > 40)
|
||||
Factor *= 1 + (1600 / mvOccupied->Vel / mvOccupied->Vel);
|
||||
return Factor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user