36 lines
799 B
C++
36 lines
799 B
C++
/*
|
||
* © Copyright 2014 – Urheberrechtshinweis
|
||
* Alle Rechte vorbehalten / All Rights Reserved
|
||
*
|
||
* Programmcode ist urheberrechtlich geschuetzt.
|
||
* Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner.
|
||
* Keine Verwendung ohne explizite Genehmigung.
|
||
* (vgl. § 106 ff UrhG / § 97 UrhG)
|
||
*/
|
||
|
||
#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_UP,
|
||
STAIRS_DOWN,
|
||
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
|