save detected positions of trays and pots