Hello
I would like to analyze the data from an IMU (returns acceleration and gyroscope data) in order to achieve positioning data for my robot.
For the test setup I just connected the sensor and micro controller to a linear actuator and wrote a program that repeated this steps 25 times:


1) move backwards for 1 second
2) stop and wait for 1 second
3) move forwards for 1 second
4) stop and wait for 1 second, then repeat
I'm recording the state and the accelerometer data during the 100second period (4 steps, each one second, repeated 25 times) which looks like below:
State:

(the 0 state is just a very small initialization step and can be considered the same as state 1 or the end of state 4)
X axis acceleration:

y and z axis acceleration will be attached in the next post (since I'm only allowed 4 attachments per post).
As you can see there are some spikes in the data which obviously don't exist in the real world and can throw off measurements by a lot! what is the best way of deleting these spikes from the data?
I would like to analyze the data from an IMU (returns acceleration and gyroscope data) in order to achieve positioning data for my robot.
For the test setup I just connected the sensor and micro controller to a linear actuator and wrote a program that repeated this steps 25 times:


1) move backwards for 1 second
2) stop and wait for 1 second
3) move forwards for 1 second
4) stop and wait for 1 second, then repeat
I'm recording the state and the accelerometer data during the 100second period (4 steps, each one second, repeated 25 times) which looks like below:
State:

(the 0 state is just a very small initialization step and can be considered the same as state 1 or the end of state 4)
X axis acceleration:

y and z axis acceleration will be attached in the next post (since I'm only allowed 4 attachments per post).
As you can see there are some spikes in the data which obviously don't exist in the real world and can throw off measurements by a lot! what is the best way of deleting these spikes from the data?

