Text this: Geometrically bounded singularities and joint limits prevention of a three dimensional planar redundant manipulator using artificial neural networks