Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
83f02baddThis file is pinned to the selected release. Download the original to open it in your design tool.
#ifndef InterpolatingMovementTask_h
#define InterpolatingMovementTask_h
#include "movement.h"
#include "task.h"
const double INCREMENT = 1;
class InterpolatingMovementTask : public Task {
private:
Movement *movement;
Movement::Point target;
Movement::Point position;
int speed;
public:
const static char* NAME;
InterpolatingMovementTask(Movement *movement, Movement::Point target, int speed);
bool isDone();
void startRunning();
const char* name() {
return NAME;
}
};
#endif