Vision-Based Motion Planning for a Robot Arm Using Topology Representing Networks