A Miniature Robotic Gait Algorithm for Terrain-Adaptive Walking in Soft Ground Environments | Synapse