Design, analysis, and simulation of a humanoid robotic arm applied to catching