diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Brakes.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Brakes.cs index e8d44cb611aa5cb41159d83c85813b78677ccc6f..e0306f1b0c9cd3b829592fa1ce6b6539339e52dd 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Brakes.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Brakes.cs @@ -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);