blob: 1c451abd1ef04df240dd1570bf83914e8953d658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <cstddef>
#include <cstdint>
#include <QString>
constexpr size_t img_width = 1280;
constexpr size_t img_height = 800;
constexpr uint32_t patternSize = 16;
constexpr float hardcodedZRangeMm{175.f};
constexpr size_t calibrationTableHeight{0x4000}; // 16384
namespace {
constexpr uint16_t discretesInRage{16384};
}
// http json keys
const QString exposureTimeKey = "exposureTime";
const QString laserLevelKey = "laserLevel";
const QString dumpsRoot{QStringLiteral("/home/user/dumps")};
|