An Intelligent 7DOF Robot with Obstable Avoidance and Visual Sensing