add optical sensor publisher