1. A method for driving an autonomous robotic device, comprising: generating sensor data by a set of sensors integrated within the autonomous robotic device; comparing, by the autonomous robotic device, the sensor data against a set of color pattern definitions; determining a match between the sensor data and a color pattern definition from the set of color pattern definitions; determining a function associated with the matched color pattern definition; and performing the function corresponding to the matched color pattern definition.