Disclosed is a system for treating dairy livestock having fore legs and hind legs, wherein the system comprises a milking parlor ramp, livestock stalls positioned along at least part of the milking parlor ramp, wherein each stall is configured to contain one dairy livestock, at least one vertical upright teat cup holder comprising teat cups and a mobile unit. The mobile unit comprises equipment for treating livestock and a processor, where the mobile unit is configured to travel between the fore legs and hind legs of the dairy livestock on the milking parlor ramp and use the equipment to perform at least one action related to a treatment of the dairy livestock. Also disclosed is that the equipment includes an arm configured to withdraw the teat cups from the vertical upright teat cup holder and connect them to the dairy livestock.