Calculate path tracking or distance travelled.

asked 2018-12-08 16:25:20 -0600

sixto94 gravatar image

Good evening,

I am new in the forum and also in the software but trying to improve day by day. Now I am in a project and I need to calculate a distance that my robot does. I did it with odometry of the wheels and it works but it contains errors.

Now I am trying to improve the calculation using Pose messages. I am trying to receive Pose messages and make the difference with the previous one but I don't know how to integrate this into the program.

Could someone help me with an idea using Pose? I am very stuck. Thank you for your help.


edit retag flag offensive close merge delete


What have you tried so far, specifically?

jayess gravatar image jayess  ( 2018-12-08 19:15:02 -0600 )edit

Calculate the distance that my robot has travelled in real time. I have used odometry but what I want now is to use msg/Pose to calculate the distance. But I do not know how to do it. Thank you for your response!

sixto94 gravatar image sixto94  ( 2018-12-08 19:20:00 -0600 )edit

hi, having the same challenge now. did you figure out how to do it?

cak199164 gravatar image cak199164  ( 2019-08-09 14:46:08 -0600 )edit