You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

 #ifndef SENSORUNLINEARITYCORRECTION_H
#define SENSORUNLINEARITYCORRECTION_H

#include <QObject>
#include <QVector>

//! Error correction class for sensors
class SensorUnlinearityCorrection : public QObject
{
Q_OBJECT
public:
    explicit SensorUnlinearityCorrection(QObject *parent = 0);
    double SensorErrorCorrection(double in);
    void CalcCalibrationConstants();
private:
    QVector <double> CorrectVal;
    QVector <double> ValFromSensor;
    QVector <double> a,b;//angle offset
signals:

public slots:

};

#endif // SENSORUNLINEARITYCORRECTION_H
  • No labels
You must log in to comment.