diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-01-23 15:49:39 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-01-23 15:49:39 +0100 |
| commit | 459fe70f53b2f3a7dc33c3833210f60840a23204 (patch) | |
| tree | b670c6fe344e499affad0334491ddeaa26d102e0 /src/calibration.cpp | |
| parent | 80949709a1132b5198bb8006963f177fcde2e991 (diff) | |
change img data type to uint8_t, fix loading of bin calibration table
Diffstat (limited to 'src/calibration.cpp')
| -rw-r--r-- | src/calibration.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/calibration.cpp b/src/calibration.cpp index 33423b3..5caae02 100644 --- a/src/calibration.cpp +++ b/src/calibration.cpp @@ -324,8 +324,9 @@ CalibrationTablePtr calibrateX( // `pixelsToLines`. e.g. the most left/right lines. skip such points if (columnX < xLeft || columnX > xRight) { if (rawProfile.counters.encoderPosition >= 0) { - qWarning() - << "x anchor not found" << xLeft << columnX << xRight; + // FIXME: xRight can be smaller than xLeft + // qWarning() + // << "x anchor not found" << xLeft << columnX << xRight; continue; } } |
