Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

Merge pull request #757 in VECTO/vecto-sim from...

Merge pull request #757 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:bugfix/VECTO-980-error-during-simulation-run to develop

* commit 'a50b0aa5':
  in case a requestDisengaged (driver model) fails and the gearbox is re-engaged, try a requestEngaged again.
parents 0f40fa15 a50b0aa5
No related branches found
No related tags found
No related merge requests found
...@@ -431,9 +431,14 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -431,9 +431,14 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
} }
throw new VectoException("HandleRequestEngaged found no operating point."); throw new VectoException("HandleRequestEngaged found no operating point.");
} else {
return HandleRequestDisengaged(absTime, ds, gradient, velocity, debug);
} }
var response = HandleRequestDisengaged(absTime, ds, gradient, velocity, debug);
if (!(response is ResponseSuccess) && DataBus.ClutchClosed(absTime)) {
response = HandleRequestEngaged(absTime, ds, targetVelocity, gradient, prohibitOverspeed, velocity, debug);
}
return response;
} }
private IResponse HandleRequestDisengaged( private IResponse HandleRequestDisengaged(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment