# Revision history [back]

Did you do an echo on your published topic to see if something is actually published?

I think you should declare your publisher once at the beginning of your program. I had experienced some problems before when there wasn't enough time between publisher declaration and publishing and nothing was actually published. So in your initializer function define this publisher

def __init__(self):
self.pub = rospy.Publisher(frame, Marker, queue_size = 100)


self.pub.publish(marker)

def __init__(self):