remove CalcAzimuth

This commit is contained in:
2023-10-12 20:58:30 +02:00
parent 12c338def1
commit f0474027be
7 changed files with 4 additions and 272 deletions
-15
View File
@@ -53,7 +53,6 @@ void SensorData::enableRealCompass()
this->realCompass = new QMC5883LCompass();
// Init Compass
Wire.beginTransmission(address);
// TODO: describe Bytes !!!
Wire.write(0x0b);
Wire.write(0x01);
Wire.endTransmission();
@@ -63,20 +62,6 @@ void SensorData::enableRealCompass()
caliCompass.useData();
}
void SensorData::enableCalcCompass()
{
// TODO: !!! implementieren
}
CalcAzimuth::State SensorData::getCalcAzimuthState() const
{
if (static_cast<bool>(this->calcCompass))
{
return this->calcCompass->getState();
}
return CalcAzimuth::State::Invalid;
}
void SensorData::printPVTdata(UBX_NAV_PVT_data_t *ubxDataStruct)
{
static constexpr uint8_t stringSize = 32;