Skip to content

Commit

Permalink
Add DistanceRecordable Stream ID.
Browse files Browse the repository at this point in the history
Summary: Recordable class for distance.

Reviewed By: georges-berenger

Differential Revision: D59771318

fbshipit-source-id: bbe5735b7667ee0e7f74ba6d84c1e0413457cb76
  • Loading branch information
Daniel Furlong authored and facebook-github-bot committed Jul 16, 2024
1 parent 85ad9ed commit 54fdb1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions vrs/StreamId.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const unordered_map<RecordableTypeId, const char*>& getRecordableTypeIdRegistry(
{RecordableTypeId::RadarRecordableClass, "Radar Data Class"},
{RecordableTypeId::StepCountRecordableClass, "Step Count Data Class"},
{RecordableTypeId::ForceRecordableClass, "Force Data Class"},
{RecordableTypeId::DistanceRecordableClass, "Distance Data Class"},

{RecordableTypeId::SlamImuData, "IMU Data (SLAM)"},
{RecordableTypeId::SlamMagnetometerData, "Magnetometer Data (SLAM)"},
Expand Down
1 change: 1 addition & 0 deletions vrs/StreamId.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ enum class RecordableTypeId : uint16_t {
RadarRecordableClass = 254, ///< Radar data streams.
StepCountRecordableClass = 255, ///< Step count data streams.
ForceRecordableClass = 256, ///< Force data streams.
DistanceRecordableClass = 257, ///< Distance data streams.

// << Calibration, Setup, Diagnostic, etc >>
CalibrationRecordableClass = 260, ///< For calibration data streams.
Expand Down

0 comments on commit 54fdb1c

Please sign in to comment.