Disable debugging
This commit is contained in:
parent
e94eb397bb
commit
c94c9e8879
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#define RC_DEBUG2
|
// #define RC_DEBUG2
|
||||||
#ifdef RC_DEBUG2
|
#ifdef RC_DEBUG2
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#endif
|
#endif
|
||||||
@ -334,7 +334,6 @@ void Perception::Update(float currentTimeMs) {
|
|||||||
if (obj->DegradeConfidence(deltaTime) == false) {
|
if (obj->DegradeConfidence(deltaTime) == false) {
|
||||||
// delete obj
|
// delete obj
|
||||||
if (roboid != nullptr && roboid->networkSync != nullptr) {
|
if (roboid != nullptr && roboid->networkSync != nullptr) {
|
||||||
printf("Cleanup obj %d\n", obj->id);
|
|
||||||
roboid->networkSync->DestroyObject(obj);
|
roboid->networkSync->DestroyObject(obj);
|
||||||
}
|
}
|
||||||
this->trackedObjects[objIx] = nullptr;
|
this->trackedObjects[objIx] = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user