In accordance with another embodiment, an orchard sprayer detects a tree and then controls spray nozzles to spray the tree with a chemical material (such as pesticide and other foliar applied materials) so that the chemical material is not wasted in the spaces between trees.