2019-07-05 02:09 AM
--- More detail on MotionAT library ---
The library acquires data from the accelerometer and provides information about the number of active seconds (how long the user was active) with the wearable device.
The central functionthat executes the AT algorithm is the following one:
void MotionAT_Update(MAT_input_t *data_in, MAT_output_t *data_out)
where *data_in parameter is a pointer to a structure with input data of type MAT_input_t (including AccX which is the accelerometer sensor value in X axis in g; AccY which is the accelerometer sensor value in Y axis in g and AccZ which is the accelerometer sensor value in Z axis in g); *data_out parameter is a pointer to a structure with output data (that is active equal to 1 if the user was active during the last algorithm run, otherwise it is equal to 0)
See below an example of the output of MotionAT library in Unicleo-GUI framework �?�
2019-07-05 02:09 AM