added activity recognition to smoothing transition

This commit is contained in:
toni
2016-04-26 10:12:10 +02:00
parent ed8e37108a
commit f7e817d5e4
13 changed files with 204 additions and 183 deletions

View File

@@ -9,6 +9,8 @@
#include "../lukas/StepObservation.h"
#include "../lukas/TurnObservation.h"
#include "Indoor/grid/walk/GridWalk.h"
/**
* all available sensor readings
*/
@@ -31,6 +33,10 @@ struct MyObservation {
/** turn observation data (if any) */
TurnObservation* turn = nullptr;
/** get the activity into the observation. just for testing in smoothing */
Activity currentActivity = Activity::UNKNOWN;
/** timestamp of the youngest sensor data that resides within this observation. used to detect the age of all other observations! */
uint64_t latestSensorDataTS = 0;