Text this: Terrain adaptive gaits for hexapod robots