Data and code accompanying 10.7554/eLife.60233
Before running other scripts, please first run generate_landscape.m in codes-animal and codes-robot to generate the animal's and robot's potential energy landscapes. The output data is necessary for the codes to find energy barriers.