Luckily such a robot exists already!
Most important with such a robot is of course that the battery has the capacity to finish the job, even in difficult circumstances.
The lithium batteries and battery chargers by IVRA Electronics BV make sure that your robot can easily perform all of these tasks so you can spend more time on your cows.