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

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

Reset BrakePower after Request Repetition

parent 55b2a06b
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
IResponse response;
var responseCount = 0;
do {
DataBus.BrakePower = 0.SI<Watt>();
response = NextComponent.Request(absTime, dt, acceleration, gradient);
debug.Add(response);
response.Switch()
......
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