First step towards autonomous cleaning and inspection of mooring chains. On-line detection of chain links based on forward-looking and multibeam sonar. AUV control based on real-time sonar perception. Sonar mosaic to provide first inspection of chain state and surroundings.