Climbing obstacle in bio-robots via CNN and adaptive attitude control