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

Skip to content
Snippets Groups Projects
Commit 14751240 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

VelocitySpeedGearshiftPreprocessor: Removed try-catch again because error was...

VelocitySpeedGearshiftPreprocessor: Removed try-catch again because error was solved in TransmissionInputRetarder.
parent 084d9300
No related branches found
No related tags found
No related merge requests found
......@@ -106,13 +106,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
gearbox.EngageTime = 100.SI<Second>();
gearbox._nextGear = gearForSpeed;
try {
var vehicleSpeed = SimulateRollingVehicle(vehicle, gradient, container);
tmp.Add(new Entry { StartVelocity = speed, Gradient = gradient, EndVelocity = vehicleSpeed });
} catch (Exception e) {
throw new VectoException($"Exception during PreProcessing for gradient {gradient:F2}: {e.Message}", e);
}
var vehicleSpeed = SimulateRollingVehicle(vehicle, gradient, container);
modData?.Reset();
tmp.Add(new Entry { StartVelocity = speed, Gradient = gradient, EndVelocity = vehicleSpeed });
}
}
......
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