more sensorData menu

This commit is contained in:
2023-09-10 13:00:12 +02:00
parent 7c8406f438
commit ad560e7d16
9 changed files with 119 additions and 212 deletions
+22
View File
@@ -30,6 +30,28 @@ void CalcAzimuth::updateCurrentPosition(Point point) {
this->positionChanged = true;
}
String CalcAzimuth::stateToString(State state) {
switch (state) {
case State::Invalid:
return "Invalid";
case State::Bad:
return "Bad";
case State::Ok:
return "Ok";
case State::Good:
return "Good";
case State::Super:
return "Super";
default:
return "UNKOWN";
}
}
void CalcAzimuth::run() {
if (!this->positionChanged)
return;