I have pitch, roll and heading values from an IMU. I also have 3 axes of acceleration data. I would like to correct the acceleration data for the orientation of the sensor to produce true vertical and horizontal acceleration data.
1 次查看(过去 30 天)
显示 更早的评论
For example I mount the sensor at 60 deg pitch and 20 deg roll. The vertical acceleration would be VertAccel = accelX*cos(60). However I believe I would need to correct for the tilt in roll also? Therefore would it be right that VertAccel1 = AccelX*cos(60) for the first rotation then VertAccel2 = VertAccel1*cos(20). Is that correct? I would then run a loop to correct at all time points thus removing the gravitational component of the signal by subtracting the vertical accel by 9.81 or 1g. If trying to find the horizontal acceleration having corrected for tilt, I believe it only necessary to correct for the tilt in roll. Therefore horizontal accel across the sensor would be MLAccel = AccelY*cos(20). Is another rotation correction required here? Many thanks
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Aerospace Engineering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!