added activity recognition to smoothing transition
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user