From 3bc1866d348f57023a9e0cf972d2f2b2d1e7e0b3 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Thu, 24 Oct 2024 11:37:23 +0200 Subject: [PATCH] Fixed unit test --- Perception.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Perception.cpp b/Perception.cpp index 23d6160..bf1b943 100644 --- a/Perception.cpp +++ b/Perception.cpp @@ -432,7 +432,6 @@ void Perception::Update(unsigned long currentTimeMs) { } } -#include void Perception::UpdatePose(Polar16 translation) { for (unsigned char thingIx = 0; thingIx < maxObjectCount; thingIx++) { InterestingThing *thing = trackedObjects[thingIx]; @@ -471,9 +470,9 @@ void Perception::UpdatePose(Polar16 translation) { Vector3 oldPos = thing->position.ToVector3(); Vector3 newPos = newPosition.ToVector3(); - printf(" update percepted position (%f 0 %f) -> (%f 0 %f)\n", - oldPos.Right(), oldPos.Forward(), newPos.Right(), - newPos.Forward()); + // printf(" update percepted position (%f 0 %f) -> (%f 0 %f)\n", + // oldPos.Right(), oldPos.Forward(), newPos.Right(), + // newPos.Forward()); thing->position = newPosition; }