A Dynamic Parameter Identification Method for Flexible Joints Based on Adaptive Control