Text this: Study on Locomotion of a Crawling Robot for Adaptation to the Environment