Terrain-Adaptive Locomotion Skills Using Deep Reinforcement Learning