STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
PTCalibration.hpp File Reference
#include <array>
#include <cstdint>
#include <map>
#include <optional>
#include <string>
Include dependency graph for PTCalibration.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fsw::calibration::PTCalibrationCoeffs
 PT Calibration Coefficients. More...
class  fsw::calibration::PTCalibrationManager
 PT Calibration Manager. More...

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).

Functions

uint8_t fsw::calibration::pt_logical_calibration_channel (uint8_t board_slot_number, uint8_t local_connector)
 PT board slot (1–10, from board_id % 10 with 0→10) + local connector (1–10) → factory/JSON logical channel index (slot 1 → 1..10, slot 2 → 11..20, …).