start implementation of routeCache

This commit is contained in:
2024-07-03 09:22:16 +02:00
parent dd304cf787
commit dbb646b5a5
3 changed files with 12 additions and 1 deletions
+4
View File
@@ -100,12 +100,16 @@ public:
*/
bool getStarted() const { return this->started; }
static Route& getRouteCache();
private:
uint16_t currentPoint = 0;
bool started = false;
std::list<Point> points;
std::list<Point>::iterator it;
static Route routeCache;
};
#endif // ROUTE_H