ROS Answers: Open Source Q&A Forum - RSS feedhttps://answers.ros.org/questions/Open source question and answer forum written in Python and DjangoenROS Answers is licensed under Creative Commons Attribution 3.0Mon, 08 Jan 2018 02:44:05 -0600Transforming linear acceleration data of IMU to linear velocity datahttps://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/ 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.Sun, 07 Jan 2018 15:19:14 -0600https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/Comment by jayess for <p>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.</p>
https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?comment=279069#post-id-279069Integrate. Acceleration is the derivative of velocity. So, to get to velocity from acceleration you need to integrate.Sun, 07 Jan 2018 17:03:22 -0600https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?comment=279069#post-id-279069Answer by dan for <p>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.</p>
https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?answer=279071#post-id-279071Assuming 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)Sun, 07 Jan 2018 19:35:48 -0600https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?answer=279071#post-id-279071Comment by Mekateng for <p>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:</p>
<pre><code>delta_t = time between accelerometer readings
loop:
velocity_x += (accel_x * delta_t)
velocity_y += (accel_y * delta_t)
</code></pre>
https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?comment=279088#post-id-279088thank you sirMon, 08 Jan 2018 02:06:32 -0600https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?comment=279088#post-id-279088Comment by jayess for <p>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:</p>
<pre><code>delta_t = time between accelerometer readings
loop:
velocity_x += (accel_x * delta_t)
velocity_y += (accel_y * delta_t)
</code></pre>
https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?comment=279093#post-id-279093Just keep in mind that by integrating the error will grow to be quite large over time.Mon, 08 Jan 2018 02:44:05 -0600https://answers.ros.org/question/279067/transforming-linear-acceleration-data-of-imu-to-linear-velocity-data/?comment=279093#post-id-279093