Modeling of an arm via Kane's method: An inverse dynamic approach