From 459fe70f53b2f3a7dc33c3833210f60840a23204 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Thu, 23 Jan 2025 15:49:39 +0100 Subject: change img data type to uint8_t, fix loading of bin calibration table --- src/calibration.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/calibration.cpp') 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; } } -- cgit v1.2.3-70-g09d2