Ask Your Question
0

Transforming linear acceleration data of IMU to linear velocity data

asked 2018-01-07 15:19:14 -0500

Mekateng gravatar image

Hi, How to transform linear accelerating data of IMU to linear velocity data? I want to obtain linear x and y velocity value from IMU. How can ı do this? Thanks in advance.

edit retag flag offensive close merge delete

Comments

Integrate. Acceleration is the derivative of velocity. So, to get to velocity from acceleration you need to integrate.

jayess gravatar imagejayess ( 2018-01-07 17:03:22 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-01-07 19:35:48 -0500

dan gravatar image

updated 2018-01-07 19:37:31 -0500

Assuming the x and y axes of your IMU are aligned with your robot and you want the x and y velocities with respect to the robot:

delta_t = time between accelerometer readings

loop:
velocity_x += (accel_x * delta_t) 
velocity_y += (accel_y * delta_t)
edit flag offensive delete link more

Comments

thank you sir

Mekateng gravatar imageMekateng ( 2018-01-08 02:06:32 -0500 )edit

Just keep in mind that by integrating the error will grow to be quite large over time.

jayess gravatar imagejayess ( 2018-01-08 02:44:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-01-07 15:19:14 -0500

Seen: 647 times

Last updated: Jan 07 '18