I am working on parameter estimation of a rigid two-link manipulator as shown in the picture below.
Unlike the cylindrical links shown in the above image, my robot has links of oval shape.
So the centre of mass of links is not the midpoint of the link. I tried to search for the model equation but each one assumed the cylindrical shape of the links and the centre of mass as the centre of the link.
What I know till now is that we write Langragian equation $$L=K E-P E$$ And then derive the torque equation using $$ \frac{d}{d t}\left(\frac{\partial L}{\partial \dot{q}}\right)-\frac{\partial L}{\partial q}=\tau $$ I referenced these papers 2 Dof Manipulator Dynamics, Parameter Estimation of Manipulator Robot Dynamics.
Even though both have considered the same robot structure with the same joint type and link shape, they both have different model equation. The former (page 6 to 9) has considered the length of the links while the latter (page 22) has considered the centre of mass of the links.
Which one is correct for my robot? How should I derive the model for a rigid two-link manipulator with oval-shaped links?