mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 15:49:19 +02:00
Changed diesel percentage threshold for AI
This commit is contained in:
committed by
tmj-fstate
parent
7c07aa9682
commit
0f0c30dbff
@@ -3586,7 +3586,7 @@ void TController::SetTimeControllers()
|
||||
}
|
||||
}
|
||||
|
||||
if( std::abs( DizelPercentage_Speed - DizelActualPercentage ) > ( DizelPercentage > 1 ? 3 : 0 ) ) {
|
||||
if( std::abs( DizelPercentage_Speed - DizelActualPercentage ) > ( DizelPercentage > 1 ? 0 : 0 ) ) {
|
||||
|
||||
if( ( PosDec > 0 )
|
||||
&& ( ( DizelActualPercentage - DizelPercentage_Speed > 50 )
|
||||
|
||||
@@ -899,7 +899,8 @@ debug_panel::update_section_ai( std::vector<text_line> &Output ) {
|
||||
+ "+" + to_string( mechanik.fBrake_a1[ 0 ], 2 )
|
||||
+ "\n virtual brake position: " + to_string(mechanik.BrakeCtrlPosition, 2)
|
||||
+ "\n desired diesel percentage: " + to_string(mechanik.DizelPercentage, 0)
|
||||
+ "/" + to_string(mechanik.DizelPercentage_Speed, 0);
|
||||
+ "/" + to_string(mechanik.DizelPercentage_Speed, 0)
|
||||
+ "/" + to_string(100.4*mechanik.mvControlling->eimic_real, 0);
|
||||
|
||||
Output.emplace_back( textline, Global.UITextColor );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user