From c2825f86be55438d6711b8dd42c37674fbfae92a Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Wed, 20 Apr 2022 09:14:31 +0200 Subject: [PATCH] debug info --- .../Models/SimulationComponent/Impl/HybridController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs index f1eac30799..3b0b51dc8c 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/HybridController.cs @@ -100,6 +100,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl retry = false; var strategyResponse = Strategy.Request(absTime, dt, outTorque, outAngularVelocity, dryRun); + DebugData.Add($"[HC-R-0-{retryCount}]", strategyResponse); if (strategyResponse is HybridStrategyLimitedResponse ovl) { if (dryRun) { return new ResponseDryRun(this) { @@ -147,7 +148,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl CurrentStrategySettings = strategySettings; retVal = NextComponent.Request(absTime, dt, outTorque, outAngularVelocity, dryRun); - DebugData.Add($"HC.R-{retryCount}", new { + DebugData.Add($"HC.R-1-{retryCount}", new { DataBus.DriverInfo.DrivingAction, StrategySettings = strategySettings, Response = retVal, -- GitLab