Shepherds from the province of Barcelona are taking part in the first pilot test to control their herds using mobile devices and by removing the electric wires.