From 67b6d134e5b49577683e1e617cd48b8c659f0d17 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Thu, 29 Aug 2024 11:31:21 +0200 Subject: [PATCH] Improve perception 2 --- LinearAlgebra | 2 +- Perception.cpp | 2 +- Perception.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LinearAlgebra b/LinearAlgebra index b975aed..6b3bcfc 160000 --- a/LinearAlgebra +++ b/LinearAlgebra @@ -1 +1 @@ -Subproject commit b975aedd2b656077ee9b588a6c57ac8d9d2a55d7 +Subproject commit 6b3bcfc39195230fd37773b7c1047fd3ca9e3bc9 diff --git a/Perception.cpp b/Perception.cpp index 870aede..0eeefc1 100644 --- a/Perception.cpp +++ b/Perception.cpp @@ -345,7 +345,7 @@ InterestingThing* Perception::AddTrackedObject(Sensor* sensor, InterestingThing* Perception::AddTrackedObject(Sensor* sensor, unsigned char networkId, unsigned char thingId, - Spherical position, + Spherical16 position, Quaternion orientation) { InterestingThing* thing = FindTrackedObject(networkId, thingId); if (thing == nullptr) { diff --git a/Perception.h b/Perception.h index 24d0a2a..9aa7ba6 100644 --- a/Perception.h +++ b/Perception.h @@ -95,7 +95,7 @@ class Perception { unsigned char networkId = 0x00); InterestingThing* AddTrackedObject( Sensor* sensor, - Spherical position, + Spherical16 position, Quaternion orientation = Quaternion::identity, unsigned char objectType = 0xFF, unsigned char objectId = 0x00, @@ -105,7 +105,7 @@ class Perception { Sensor* sensor, unsigned char networkId, unsigned char objectId, - Spherical position, + Spherical16 position, Quaternion orientation = Quaternion::identity); bool IsInteresting(float distance);