Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#ifndef Runner_h
#define Runner_h
#include "movement.h"
#include "tasks/task.h"
#include "pen.h"
#include "display.h"
#include "LittleFS.h"
class Runner {
private:
Movement *movement;
Pen *pen;
Display *display;
void initTaskProvider();
Task* getNextTask();
Task* currentTask;
bool stopped;
File openedFile;
double totalDistance;
double distanceSoFar;
Movement::Point startPosition;
Movement::Point targetPosition;
int progress;
Task *finishingSequence[1];
int sequenceIx = 0;
public:
Runner(Movement *movement, Pen *pen, Display *display);
void start();
void run();
void dryRun();
};
#endifc817cd038This file is pinned to the selected release. Download the original to open it in your design tool.