ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

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


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

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

1 Answer

Sort by » oldest newest most voted

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

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


thank you sir

Mekateng gravatar image Mekateng  ( 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 image jayess  ( 2018-01-08 02:44:05 -0500 )edit

Question Tools

1 follower


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

Seen: 1,907 times

Last updated: Jan 07 '18