From 0c58e6c072c0b1f88344e62c5443d335fade3676 Mon Sep 17 00:00:00 2001
From: FlorianMueller87 <florian.b.mueller@gmx.de>
Date: Tue, 9 Aug 2022 15:04:14 +0200
Subject: [PATCH 1/4] Added new elements to MeasurementState

elements: NEW, PARTIALLY_MEASURED, PREDICED_OCCLUDED

Issue: #646
Signed-off-by: FlorianMueller87 <florian.b.mueller@gmx.de>
---
 osi_detectedobject.proto | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/osi_detectedobject.proto b/osi_detectedobject.proto
index 41d0f240b..35b8ada98 100644
--- a/osi_detectedobject.proto
+++ b/osi_detectedobject.proto
@@ -84,6 +84,23 @@ message DetectedItemHeader
         // Values provided by tracking only.
         //
         MEASUREMENT_STATE_PREDICTED = 3;
+
+        // This indicates the first occurrence of this particular object in the object list.
+        //
+        MEASUREMENT_STATE_NEW = 4;
+
+        // The object was partly updated with new information
+        // from a sensor in the last update cycle of this object
+        // list. The measurement was incomplete and could,
+        // therefore, only partially update the signals of this
+        // object. The remaining signals of this object are unchanged
+        // or predicted for this measurement cycle.
+        //
+        MEASUREMENT_STATE_PARTIALLY_MEASURED = 5;
+
+        // Tracked object is temporarily occluded by another entity.
+        //
+        MEASUREMENT_STATE_PREDICED_OCCLUDED = 6;
     }
 }
 

From 7293b45f1115c1c7d0eddd0176983d14be80e9df Mon Sep 17 00:00:00 2001
From: FlorianMueller87 <florian.b.mueller@gmx.de>
Date: Tue, 9 Aug 2022 15:09:36 +0200
Subject: [PATCH 2/4] Added new element to MeasurementState: INVALID

Issue: #648
Signed-off-by: FlorianMueller87 <florian.b.mueller@gmx.de>
---
 osi_detectedobject.proto | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/osi_detectedobject.proto b/osi_detectedobject.proto
index 35b8ada98..3491dfae9 100644
--- a/osi_detectedobject.proto
+++ b/osi_detectedobject.proto
@@ -101,6 +101,10 @@ message DetectedItemHeader
         // Tracked object is temporarily occluded by another entity.
         //
         MEASUREMENT_STATE_PREDICED_OCCLUDED = 6;
+
+        // The object is invalid in this cycle.
+        //
+        MEASUREMENT_STATE_INVALID = 7;
     }
 }
 

From cb96acbd4ea6a95f73fb938c5ae135ac770c9148 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCller?= <florian.mueller@expleogroup.com>
Date: Tue, 1 Nov 2022 10:14:48 +0100
Subject: [PATCH 3/4] Corrected type: PREDICED to PREDICTED

---
 osi_detectedobject.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/osi_detectedobject.proto b/osi_detectedobject.proto
index 3491dfae9..adf854c0b 100644
--- a/osi_detectedobject.proto
+++ b/osi_detectedobject.proto
@@ -100,7 +100,7 @@ message DetectedItemHeader
 
         // Tracked object is temporarily occluded by another entity.
         //
-        MEASUREMENT_STATE_PREDICED_OCCLUDED = 6;
+        MEASUREMENT_STATE_PREDICTED_OCCLUDED = 6;
 
         // The object is invalid in this cycle.
         //

From 54a11b668d6acbac9b63bc6189a50ec168065ed4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCller?= <florian.mueller@expleogroup.com>
Date: Fri, 4 Nov 2022 16:39:01 +0100
Subject: [PATCH 4/4] Corrected PARTLY typo

---
 osi_detectedobject.proto | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/osi_detectedobject.proto b/osi_detectedobject.proto
index adf854c0b..2b29810c4 100644
--- a/osi_detectedobject.proto
+++ b/osi_detectedobject.proto
@@ -96,7 +96,7 @@ message DetectedItemHeader
         // object. The remaining signals of this object are unchanged
         // or predicted for this measurement cycle.
         //
-        MEASUREMENT_STATE_PARTIALLY_MEASURED = 5;
+        MEASUREMENT_STATE_PARTLY_MEASURED = 5;
 
         // Tracked object is temporarily occluded by another entity.
         //