Kinematics of a 5-axis hybrid robot near singular configurations