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

Skip to content
Snippets Groups Projects
Commit a2d6af35 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

extend message in case of negative brake power

parent d6a8acc0
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
if (!dryRun && BrakePower < 0) {
throw new VectoSimulationException("Negative Braking Power is not allowed!");
throw new VectoSimulationException("Negative Braking Power is not allowed! P_br: {0}", BrakePower);
}
CurrentState.SetState(outTorque + brakeTorque, outAngularVelocity, outTorque, outAngularVelocity);
......
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