Skip to content

Commit

Permalink
Add SpatialPersistenceAnchors RecordableTypeId
Browse files Browse the repository at this point in the history
Summary:
Add new RecordableTypeId.
SpatialPersistenceAnchors maps to 379.

Reviewed By: georges-berenger

Differential Revision: D47223921

fbshipit-source-id: 91ef554655bef3226361164aad993b3ce2cf45e8
  • Loading branch information
Marco Bonino authored and facebook-github-bot committed Jul 17, 2023
1 parent 193ebf5 commit 9b944c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions vrs/StreamId.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ const map<RecordableTypeId, const char*>& 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"},
Expand Down
3 changes: 2 additions & 1 deletion vrs/StreamId.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9b944c8

Please sign in to comment.