Trajectory Generation and Path Planning Expert System for Inspection Robots