Gait design for limbless obstacle aided locomotion using geometric mechanics