We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c90acf commit eda6b12Copy full SHA for eda6b12
core/calibration/camera_projections/Linear.h
@@ -17,6 +17,7 @@
17
#pragma once
18
19
#include <cmath>
20
+#include <string_view>
21
22
#include <calibration/camera_projections/Common.h>
23
@@ -32,8 +33,8 @@ class LinearProjection {
32
33
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
34
35
static constexpr int kNumParams = 4;
- static constexpr char kName[] = "Linear";
36
- static constexpr char kDescription[] = "fx, fy, cx, cy";
+ static constexpr std::string_view kName = "Linear";
37
+ static constexpr std::string_view kDescription = "fx, fy, cx, cy";
38
static constexpr int kNumDistortionParams = 0;
39
static constexpr int kFocalXIdx = 0;
40
static constexpr int kFocalYIdx = 1;
0 commit comments