Gut movements in caterpillars have impact on robotic design