From 14eb244e238c775fea690c1738e8078a0dd81dbc Mon Sep 17 00:00:00 2001 From: SzabolcsGergely Date: Tue, 22 Mar 2022 16:17:04 +0200 Subject: [PATCH] Change metre to meter --- .../datatype/RawSpatialLocationCalculatorConfig.hpp | 2 +- include/depthai-shared/datatype/RawSpatialLocations.hpp | 2 +- include/depthai-shared/datatype/RawStereoDepthConfig.hpp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp b/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp index 6835ae4c..10786518 100644 --- a/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp +++ b/include/depthai-shared/datatype/RawSpatialLocationCalculatorConfig.hpp @@ -13,7 +13,7 @@ namespace dai { /** * SpatialLocation configuration thresholds structure * - * Contains configuration data for lower and upper threshold in depth units (millimetre by default) for ROI. + * Contains configuration data for lower and upper threshold in depth units (millimeter by default) for ROI. * Values outside of threshold range will be ignored when calculating spatial coordinates from depth map. */ struct SpatialLocationCalculatorConfigThresholds { diff --git a/include/depthai-shared/datatype/RawSpatialLocations.hpp b/include/depthai-shared/datatype/RawSpatialLocations.hpp index d68cf4bc..fb376d13 100644 --- a/include/depthai-shared/datatype/RawSpatialLocations.hpp +++ b/include/depthai-shared/datatype/RawSpatialLocations.hpp @@ -16,7 +16,7 @@ namespace dai { * * Contains configuration data, average depth for the calculated ROI on depth map. * Together with spatial coordinates: x,y,z relative to the center of depth map. - * Units are in depth units (millimetre by default). + * Units are in depth units (millimeter by default). */ struct SpatialLocations { /** diff --git a/include/depthai-shared/datatype/RawStereoDepthConfig.hpp b/include/depthai-shared/datatype/RawStereoDepthConfig.hpp index e9578190..498b270f 100644 --- a/include/depthai-shared/datatype/RawStereoDepthConfig.hpp +++ b/include/depthai-shared/datatype/RawStereoDepthConfig.hpp @@ -27,7 +27,7 @@ struct RawStereoDepthConfig : public RawBuffer { /** * Measurement unit for depth data */ - enum class DepthUnit : int32_t { METRE, CENTIMETRE, MILLIMETRE, INCH, FOOT, CUSTOM }; + enum class DepthUnit : int32_t { METER, CENTIMETER, MILLIMETER, INCH, FOOT, CUSTOM }; /** * Set the disparity/depth alignment to the perspective of a rectified output, or center it @@ -38,11 +38,11 @@ struct RawStereoDepthConfig : public RawBuffer { * Measurement unit for depth data. * Depth data is integer value, multiple of depth unit. */ - DepthUnit depthUnit = DepthUnit::MILLIMETRE; + DepthUnit depthUnit = DepthUnit::MILLIMETER; /** - * Custom depth unit multiplier, if custom depth unit is enabled, relative to 1 metre. - * A multiplier of 1000 effectively means depth unit in millimetre. + * Custom depth unit multiplier, if custom depth unit is enabled, relative to 1 meter. + * A multiplier of 1000 effectively means depth unit in millimeter. */ float customDepthUnitMultiplier = 1000.f;