Design and implementation of an autonomous climbing robot