Write a ROS publisher