An agricultural machine includes a main frame, an adjustable frame coupled to the main frame and, a row unit which includes a linking arm coupled to the adjustable frame, and an actuator coupled to the main frame and the adjustable frame. The agricultural machine also includes a controller configured to command the actuator to move to various positions based on signals received from one or more sensors. The one or more sensors are configured to measure one more indicators associated with an actual height of the row unit relative to ground.