The robotic pill locomotion was also tested over an obstacle course containing a ramp and two elevated platforms separated by a small gap. The robotic pill was guided to go up the ramp at different elevation. (Figure 5e and Video S5).