A method of controlling application of a substance to vegetation using data obtained via a mobile machine is provided. A height of the vegetation is measured during a scheduled task of the mobile machine. The measured height of the vegetation is compared with a calculated height of the vegetation. Then, an amount of the substance applied by an irrigation system to an area containing the vegetation is adjusted based on a difference between the measured height of the vegetation and the calculated height of the vegetation.