Download

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:

3627e372f76337ee1b2ac9b830d2d56a95d535a7.png

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

539e54a41360919e16ca4129a8ac3c2f5f894f8e.png