I need to formulate the lagrangian dynamic equations for the hexapod robot's body. The body will constitute 6 DoF, which is 3 linear and 3 angular. I have the coordinates of each corner of the body. Do I consider each corner as a point mass and formulate the lagrangian equation using rotational and linear kinetic energy or is there any other method to do this?
Thanks in advance!