refactore
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/**
|
||||
* @file sensorData.h
|
||||
* @author Alexander Klein (alex@kleiax.de)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2023-09-02
|
||||
*
|
||||
* @copyright Copyright (c) 2023
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef SENSOR_DATA_H
|
||||
#define SENSOR_DATA_H
|
||||
|
||||
#include "sensors.h"
|
||||
|
||||
#include <SparkFun_u-blox_GNSS_Arduino_Library.h>
|
||||
#include <QMC5883LCompass.h>
|
||||
// Gyroskop
|
||||
#include "calcAzimuth.h"
|
||||
|
||||
class SensorData {
|
||||
public:
|
||||
SensorData(Sensors *senors);
|
||||
|
||||
int16_t getRealAzimuth() const { return 0; }
|
||||
int16_t getCalcAzimuth() const { return 0; }
|
||||
CalcAzimuth::CalcAzimuthState getCalcAzimuthState() const { return CalcAzimuth::CalcAzimuthState::Invalid; }
|
||||
const UBX_NAV_PVT_data_t* const getGnssData() const;
|
||||
const void* const getGyroData() const;
|
||||
|
||||
private:
|
||||
Sensors* sensors;
|
||||
};
|
||||
|
||||
SensorData::SensorData(Sensors* senors) {
|
||||
this->sensors = sensors;
|
||||
}
|
||||
|
||||
#endif //SENSOR_DATA_H
|
||||
|
||||
Reference in New Issue
Block a user