mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 15:03:07 +01:00
Basis working
This commit is contained in:
@@ -10,6 +10,7 @@ typedef struct {
|
||||
String instance; // data type/instance to be calibrated
|
||||
double offset; // calibration offset
|
||||
double slope; // calibration slope
|
||||
double smooth; // smoothing factor
|
||||
double value; // calibrated data value
|
||||
bool isCalibrated; // is data instance value calibrated?
|
||||
} CalibData;
|
||||
@@ -23,6 +24,7 @@ public:
|
||||
static void readConfig(GwConfigHandler* config, GwLog* logger);
|
||||
static int getInstanceListNo(String instance);
|
||||
static void calibrateInstance(String instance, GwApi::BoatValue* boatDataValue, GwLog* logger);
|
||||
void smoothInstance(String instance, double &dataValue, GwLog* logger);
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user