Development of an autonomous cow-milking robot control system