Are there any sensor can track position vector of device?

First, I try to calculate a changing of position of device with MPU6050. When intregrate a accelorate to position. The position output have a low accuracy.

So i want to know that, There are any sensor that can find position vector?

Well theoretically, if you integrate an accelerometer, you get a velocity. Once you integrate that velocity, you’ll get the position (i assume you did this), this will probably be not to accurate due to noise.

Another issue is that your IMU measures linear acceleration in all 3 directions. Therefore a tilt in your IMU will not show accurate values. You will need to compensate for roll and pitch and yaw.

Please upload your code.

naras:
There are any sensor that can find position vector?

GPS?

Yeah, i assume this person is talking about a very small position change. GPS wont do it.

Also, in the case we are talking about a larger area, a position change with only a gps is not a good idea. But you can fuse the GPS with the IMU to get a more accurate position.

To track the position of an object, GPS works outdoors (2-3 m positional accuracy at best for consumer grade units, 1 cm for RTK units), while Pozyx works indoors (10 cm positional accuracy).

Thats cool. Never heard of it. I‘m going to read up on that. Thanks.