1. A method for configuring a sensor on a controller, comprising: receiving a sensor description defined in a format of a domain specific language corresponding to the sensor; parsing the sensor description to identify one or more instructions; and mapping the one or more instructions to corresponding commands of the controller to enable the controller to perform the one or more instructions.