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

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

debug info

parent a5cda443
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -100,6 +100,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
retry = false; retry = false;
var strategyResponse = Strategy.Request(absTime, dt, outTorque, outAngularVelocity, dryRun); var strategyResponse = Strategy.Request(absTime, dt, outTorque, outAngularVelocity, dryRun);
DebugData.Add($"[HC-R-0-{retryCount}]", strategyResponse);
if (strategyResponse is HybridStrategyLimitedResponse ovl) { if (strategyResponse is HybridStrategyLimitedResponse ovl) {
if (dryRun) { if (dryRun) {
return new ResponseDryRun(this) { return new ResponseDryRun(this) {
...@@ -147,7 +148,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl ...@@ -147,7 +148,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
CurrentStrategySettings = strategySettings; CurrentStrategySettings = strategySettings;
retVal = NextComponent.Request(absTime, dt, outTorque, outAngularVelocity, dryRun); retVal = NextComponent.Request(absTime, dt, outTorque, outAngularVelocity, dryRun);
DebugData.Add($"HC.R-{retryCount}", new { DebugData.Add($"HC.R-1-{retryCount}", new {
DataBus.DriverInfo.DrivingAction, DataBus.DriverInfo.DrivingAction,
StrategySettings = strategySettings, StrategySettings = strategySettings,
Response = retVal, Response = retVal,
......
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