An obstacles avoidance method for serial manipulator based on reinforcement learning and Artificial Potential Field | Synapse