added publisher to rmotor