Design Of A High-Level Control Layer And Wheel Contact Estimation And Compensation For The Pipe Inspection Robot Pirate