Planning on robots