more sensorData menu
This commit is contained in:
@@ -105,6 +105,12 @@ CalcAzimuth::State SensorData::getCalcAzimuthState() const {
|
||||
return CalcAzimuth::State::Invalid;
|
||||
}
|
||||
|
||||
NTRIPClientStates SensorData::getNtripState() const {
|
||||
if (this->ntripClient)
|
||||
return this->ntripClient->getClientState();
|
||||
return NTRIPClientStates::notAvailable;
|
||||
}
|
||||
|
||||
void SensorData::printPVTdata(UBX_NAV_PVT_data_t *ubxDataStruct) {
|
||||
if (!SensorData::outputStatusPrintPVTdata)
|
||||
return;
|
||||
|
||||
@@ -47,6 +47,7 @@ class SensorData : public Component {
|
||||
|
||||
Point getCurrentPos() const { return this->currentPosition; }
|
||||
const UBX_NAV_PVT_data_t* getGnssData() const { return this->gnssData; };
|
||||
NTRIPClientStates getNtripState() const;
|
||||
const float* getGyroData() const { return this->yawPitchRoll; }
|
||||
|
||||
CalcAzimuth* getCalcCompass() const { return this->calcCompass; }
|
||||
|
||||
Reference in New Issue
Block a user