While I’m not great at math, I have learned (and stumbled) my way through the math on 5225’s position tracking document. I’m stuck at a few parts. For equation 6, why is it 2rsin(θ) and not 2rsin(Δθ). How I understand it is that the equation is calculating the chord of the circle created by the arc of the perpendicular tracking wheel and concentric with the center of the robot’s tracking wheels. Therefore, when the change in position is calculated, it should be using the change in angle, not the absolute angle.
In step 9, why do you have to calculate the average angle? Up until this point in the algorithm, the position tracking will have been using the change in angle. Why can the change in angle not just be added to the absolute angle?
Last question: for step 10 how do you include the change in x, change in y, and change in angle in the conversion to polar coordinates. I understand that it would be possible to use y as r and the angle as θ, but how is x included?
I’m not looking for any code, just some help with the theory behind the math. Thanks.