how to smooth accelerometer values ?

how to smooth accelerometer values? I need to get rid of the hand-shake effect. I need a ready solution in bluprint.

Hi jacenty,

You can use an array to hold the last few samples and average them. Here is an example using the last 5:

The AccelAccum variable is set up as a vector array of 5 elements defaulting to (0,0,0):

filterArray.png