added freeze target point

This commit is contained in:
2023-05-23 21:01:27 +02:00
parent ca8d9bb963
commit 3a2c5b90f8
4 changed files with 21 additions and 2 deletions
+2
View File
@@ -108,6 +108,7 @@ class Navigation {
* @return false route can not be started
*/
bool startNavigation();
void freezeTargetPoint(bool val = true) { this->preventNextPoint = val; };
/**
* @brief Get the Course Correction object
@@ -218,6 +219,7 @@ class Navigation {
bool navigationStarted = false;
bool navigationFinished = false;
bool isNtripInit = false;
bool preventNextPoint = false;
char* host;
char* mountPoint;