[Math] Finding End point of an Arc in Cartesian Coordinates while radius, arc length and one end of Arc is given

circles

enter image description here

I want to find the position of a robot using single tire model while rotating. I am assuming robot is moving along a circle. I know its radius, length or arc and starting point of arc. This time arc direction is clockwise but it could also be anti-clock wise. Can someone explain how can I find ?

Best Answer

Thanks @Mick A, @Narasimham and other people for helping. As it is robotic motion so in most cases it between (0-180 degrees). I have starting point coordinates, the radius of virtual circle along with robot moving and angle. So I am using simple polar coordinates. to find next point.

                       θ  =  S/r
                       x1 =  r*cos(θ) + x
                       y1 =  r*sin(θ) + y