From 9b944c80216dedd4edd88b3fbbc64f9b4fa3d3ee Mon Sep 17 00:00:00 2001 From: Marco Bonino Date: Mon, 17 Jul 2023 11:15:34 -0700 Subject: [PATCH] Add SpatialPersistenceAnchors RecordableTypeId Summary: Add new RecordableTypeId. SpatialPersistenceAnchors maps to 379. Reviewed By: georges-berenger Differential Revision: D47223921 fbshipit-source-id: 91ef554655bef3226361164aad993b3ce2cf45e8 --- vrs/StreamId.cpp | 1 + vrs/StreamId.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/vrs/StreamId.cpp b/vrs/StreamId.cpp index eac0871f..6ce36c74 100644 --- a/vrs/StreamId.cpp +++ b/vrs/StreamId.cpp @@ -131,6 +131,7 @@ const map& getRecordableTypeIdRegistry() { {RecordableTypeId::PointCloudRecordableClass, "Point Cloud Data Class"}, {RecordableTypeId::MapRecordableClass, "Map Data Class"}, {RecordableTypeId::SensorVarianceBiasRecordableClass, "Sensor Variance/Bias Data Class"}, + {RecordableTypeId::AnchorRecordableClass, "Anchor Data Class"}, /// << Annotations >> {RecordableTypeId::AnnotationRecordableClass, "Annotation Data Class"}, diff --git a/vrs/StreamId.h b/vrs/StreamId.h index 9ad0fee7..5d96e2b3 100644 --- a/vrs/StreamId.h +++ b/vrs/StreamId.h @@ -152,7 +152,8 @@ enum class RecordableTypeId : uint16_t { MocapRecordableClass = 375, ///< For motion capture data streams. PointCloudRecordableClass = 376, ///< For point cloud data streams. MapRecordableClass = 377, ///< For map data streams. - SensorVarianceBiasRecordableClass = 378, /// For sensor variance/bias results. + SensorVarianceBiasRecordableClass = 378, ///< For sensor variance/bias results. + AnchorRecordableClass = 379, ///< For anchor data streams (i.e. spatial persistence anchors). // << Annotations >> AnnotationRecordableClass = 400, ///< For annotation streams.