Hello Folks,
I want to measure object geometrical position very accurately. Okay let me explain my problem in detail.
I have a robot, which I want to move from a particular position to another position, the distance between two positions is very small max 160 cm. The movement is angular and bidirectional.. Like below.

To detect the geometrical position I have been used IMU sensor and placed vertical with ground and It is working but not accurate. The logic is At the first time I am taking yaw values of both position and saves it on EEPROM(calibration). Next when Robots starts from the position1 then it continuously checking position2 yaw value when its match with that its stopped moving. But, the problem is it is not stopping exactly same position, there always error +-5cm. I have tried many way to correct the error but it not worked, I observed that while moving the motor it unable to measure correct IMU value even the static IMU value also changing by time. These two position is not fixed for all time after few time position needs to change as per application.
So, I am looking for a solution by which I can measure the position very accurately. Please let me know any other proven solution available by which I can measure position accurately. Thank you.
I want to measure object geometrical position very accurately. Okay let me explain my problem in detail.
I have a robot, which I want to move from a particular position to another position, the distance between two positions is very small max 160 cm. The movement is angular and bidirectional.. Like below.

To detect the geometrical position I have been used IMU sensor and placed vertical with ground and It is working but not accurate. The logic is At the first time I am taking yaw values of both position and saves it on EEPROM(calibration). Next when Robots starts from the position1 then it continuously checking position2 yaw value when its match with that its stopped moving. But, the problem is it is not stopping exactly same position, there always error +-5cm. I have tried many way to correct the error but it not worked, I observed that while moving the motor it unable to measure correct IMU value even the static IMU value also changing by time. These two position is not fixed for all time after few time position needs to change as per application.
So, I am looking for a solution by which I can measure the position very accurately. Please let me know any other proven solution available by which I can measure position accurately. Thank you.