An automated nozzle controller for self-propelled sprayers