cancel
Showing results for 
Search instead for 
Did you mean: 

AppMEMS#6b: The X-CUBE-MEMS1 libraries in detail - MotionAR functions

Eleon BORLINI
ST Employee

--- More detail about MotionAR library ---

The library is based on accelerometer data only, and requires a data sampling frequency of 16 Hz., and can to distinguish among the following activities: stationary, walking, fast walking, jogging, biking, driving.

The central function that performs the activity recognition is this one:

void MotionAR_Update (MAC_input_t *data_in, MAR_output_t *data_out, long int

timestamp)

*data_in parameter is a pointer to a structure with input data, *data_out parameter is a pointer to enum with the items described in the previous post and timestamp variable is a relative time for actual sample in ms.

See below the detailed output of the activity recognition of MotionAR algorithm! �?�

1 REPLY 1
Eleon BORLINI
ST Employee

Here below a table describing the algorithm performances:

0690X000009XiQ5QAK.png