Calculate path tracking or distance travelled.
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.
Regards.
What have you tried so far, specifically?
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!
hi, having the same challenge now. did you figure out how to do it?