Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 407ce447 authored by Harald Martini's avatar Harald Martini
Browse files

uncommented warning when vehicle distance diverges from cycle

parent 0b175576
No related branches found
No related tags found
No related merge requests found
...@@ -194,11 +194,12 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -194,11 +194,12 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
Log.Warn("Distance field is not set!"); Log.Warn("Distance field is not set!");
} else { } else {
var distance = (SI)container[ModalResultField.dist]; var distance = (SI)container[ModalResultField.dist];
//if (!distance.IsEqual(CurrentState.Distance)) { if (!distance.IsEqual(CurrentState.Distance))
// Log.Warn("Vehicle Distance diverges from Cycle by {0} [m]. Distance: {1}", {
// (distance - CurrentState.Distance).Value(), distance); Log.Warn("Vehicle Distance diverges from Cycle by {0} [m]. Distance: {1}",
//} (distance - CurrentState.Distance).Value(), distance);
} }
}
} }
public Newton RollingResistance(Radian gradient) public Newton RollingResistance(Radian gradient)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment