Engineering modern vending machines with gantry robots