The kinematics of robotic manipulators with flexible links using an equivalent rigid link system (ERLS) model