Text this: Analysis and Design of Obstacle Avoidance on Robot Detection of Pipe Cracked