Robots get around by mimicking primates