A system for treating livestock may include a ramp for containing dairy livestock and one or more mobile units configured to travel on the ramp, below the dairy livestock, and milk the dairy livestock. A mobile unit may be adapted to travel to a predefined location within a stall, and attach a milking equipment unit to the dairy livestock in the stall. A plurality of mobile units and a central management unit may be configured to dynamically cause at least some of the plurality of mobile units to each perform a portion of a treatment or task.