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

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

fix: don't re-compute engine torque from average enine power with average engine speed

parent 429a7988
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
//UpdateEngineState(CurrentState.EnginePower, avgEngineSpeed);
CurrentState.EngineTorque = CurrentState.EnginePower / CurrentState.EngineSpeed;
return new ResponseSuccess { Source = this };
}
......
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