25 lines
447 B
C++
25 lines
447 B
C++
#ifndef GRIDWALK_H
|
|
#define GRIDWALK_H
|
|
|
|
#include "GridWalkState.h"
|
|
#include "../Grid.h"
|
|
|
|
/** all supported acitivites lukas can detect */
|
|
enum class Activity {
|
|
UNKNOWN,
|
|
STANDING,
|
|
WALKING,
|
|
STAIRS,
|
|
ELEVATOR,
|
|
};
|
|
|
|
template <typename T> class GridWalk {
|
|
|
|
public:
|
|
|
|
virtual GridWalkState<T> getDestination(Grid<T>& grid, const GridWalkState<T>& start, const float distance_m, const float headChange_rad, Activity act) = 0;
|
|
|
|
};
|
|
|
|
#endif // GRIDWALK_H
|