|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include "calibration/LcTareStore.hpp"#include <chrono>#include <cmath>#include <cstring>#include <filesystem>#include <fstream>#include <iostream>#include <iterator>#include <nlohmann/json.hpp>Go to the source code of this file.
Namespaces | |
| namespace | fsw |
| Motorized ball valve position: raw ADC counts -> % open. | |
| namespace | fsw::calibration |
| Output smoothing for calibrated PT pressure, per sensor uid (ESP32 and LabJack T7 alike). | |
| namespace | fsw::calibration::anonymous_namespace{LcTareStore.cpp} |
Functions | |
| double | fsw::calibration::anonymous_namespace{LcTareStore.cpp}::unix_now_ms () |
| std::string | fsw::calibration::lc_tare_entity (uint8_t board_id, uint8_t connector) |
| The publish-path entity name for an LC channel: "LC<slot>_Cal.CH<connector>", where slot is board_id % 10 with 0 -> 10 — the same rule DatabaseConfig uses to name the calibrated LC VTables, and the same board_number the LC publish path already holds. | |
Variables | |
| constexpr double | fsw::calibration::anonymous_namespace{LcTareStore.cpp}::kProbes [] = {-1.0e9, -1.0e6, 0.0, 1.0e6, 1.0e9} |
| Probe codes spanning the signed 32-bit ADC range the LC boards report. | |