Disable debugging

This commit is contained in:
Pascal Serrarens 2024-04-17 15:22:43 +02:00
parent e94eb397bb
commit c94c9e8879

View File

@ -6,7 +6,7 @@
#include <math.h>
#define RC_DEBUG2
// #define RC_DEBUG2
#ifdef RC_DEBUG2
#include <Arduino.h>
#endif
@ -334,7 +334,6 @@ void Perception::Update(float currentTimeMs) {
if (obj->DegradeConfidence(deltaTime) == false) {
// delete obj
if (roboid != nullptr && roboid->networkSync != nullptr) {
printf("Cleanup obj %d\n", obj->id);
roboid->networkSync->DestroyObject(obj);
}
this->trackedObjects[objIx] = nullptr;