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

Transforming linear acceleration data of IMU to linear velocity data

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

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 image jayess  ( 2018-01-07 17:03:22 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

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

dan gravatar image

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

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 image Mekateng  ( 2018-01-08 02:06:32 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 1,924 times

Last updated: Jan 07 '18