开发者

Visualizing/plotting location based on accelerometer/gyro readings over time

开发者 https://www.devze.com 2023-01-22 22:35 出处:网络
What\'s the easiest way to plot location track based on serie开发者_运维技巧s of reading of accelerometer/gyro/compass sensors taken over time? Let\'s say I have following data taken every second:

What's the easiest way to plot location track based on serie开发者_运维技巧s of reading of accelerometer/gyro/compass sensors taken over time? Let's say I have following data taken every second:

ElapsedTime(s) xMag(uT) yMag(uT) zMag(uT) xAccel(g) yAccel(g) zAccel(g) xRate(rad/sec) yRate(rad/sec) zRate(rad/sec) roll(rad) pitch(rad) yaw(rad) ...

Is there an easy way to draw a location plot for any given time? I'm using iPhone 4 with xSensor app to capture data, but can't just use GPS. I would appreciate any hints. Both standalone applications and Java libraries would be good.


Double integration of the acceleration vector (after gyro & compass direction correction) will give you a location from some initial or arbitrary offset. The problem is that any small offset or errors in the acceleration data, which there will be, will result in a rapidly diverging position.

What might be more possible is to get frequent and precise GPS position data, and use the acceleration data to estimate the route in between two very nearby GPS fixes.

0

精彩评论

暂无评论...
验证码 换一张
取 消