From ca27a986889769f19a42230b605ed596d0897711 Mon Sep 17 00:00:00 2001
From: Engjell Hyseni <engjell.hyseni@kit.edu>
Date: Wed, 28 Aug 2024 15:11:53 +0200
Subject: [PATCH] deactivating switch arrays

---
 source/devices/ethercat/hand/armarde/Data.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/source/devices/ethercat/hand/armarde/Data.cpp b/source/devices/ethercat/hand/armarde/Data.cpp
index a11a6b33..bef083ea 100644
--- a/source/devices/ethercat/hand/armarde/Data.cpp
+++ b/source/devices/ethercat/hand/armarde/Data.cpp
@@ -72,6 +72,14 @@ namespace devices::ethercat::hand::armarde
             }
         }
 
+        // for (std::size_t i = 0; i < N_TOF_CELLS; i++)
+        // {
+        //     data.tofDepth.at(i) = tofDepth.at(N_TOF_CELLS-1 - i);
+        //     data.tofTargetDetected.at(i) = tofTargetDetected.at(N_TOF_CELLS-1 - i);
+        //     data.tofSigma.at(i) = tofSigma.at(N_TOF_CELLS-1 - i);
+        // }
+
+
         for (const auto& tofVal : data.tofDepth) //TODO maybe also add a sigma median ?
         {
             // the true value is the last one ...
-- 
GitLab