Provided is an autonomous coverage robot including: a chassis; a set of wheels; a plurality of sensors; and a mopping assembly including: a fluid reservoir for storing a cleaning fluid; a cloth for receiving the cleaning fluid, wherein the cloth is oriented toward a work surface; a means to move at least the cloth of the mopping assembly up and down in a plane perpendicular to the work surface, wherein the means to move at least the cloth of the mopping assembly up and down is controlled automatically based on input provided by at least one of the plurality of sensors; and a means to move at least a portion of the mopping assembly back and forth in a plane parallel to the work surface.