From c70860bd66edba844951377a88117a99a198d956 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Sun, 31 Dec 2023 10:00:10 +0100 Subject: [PATCH] Remove arduino reference --- Perception.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Perception.cpp b/Perception.cpp index 6ac70a4..c749cf9 100644 --- a/Perception.cpp +++ b/Perception.cpp @@ -4,7 +4,7 @@ #include "NetworkSync.h" #include "Switch.h" -#include +// #include #include Perception::Perception() { @@ -190,7 +190,7 @@ void Perception::AddPerceivedObject(Sensor *sensor, Polar position) { // max number of objects) if (availableSlotIx < maxObjectCount) { // a slot is available - printf("[%d] new object \n", availableSlotIx); + // printf("[%d] new object \n", availableSlotIx); this->perceivedObjects[availableSlotIx] = obj; } // If this object is closer than the farthest object, then replace it @@ -253,7 +253,7 @@ void Perception::Update(float currentTimeMs) { if (obj->DegradeConfidence(deltaTime) == false) { // delete obj - printf("[%d] delete object\n", objIx); + // printf("[%d] delete object\n", objIx); if (roboid != nullptr && roboid->networkSync != nullptr) roboid->networkSync->DestroyObject(obj); this->perceivedObjects[objIx] = nullptr;