#!/usr/bin/env python

import rospy
from rosgraph_msgs.msg import Clock
from std_msgs.msg import String
import time


def talker():
    pub = rospy.Publisher('/kekse13', String, queue_size=10)
    rospy.init_node('hufflepuff13')

    print "publishing.."

    # how much faster then reallity?

    # in ms
    timeout=0.1
    # in s
    while not rospy.is_shutdown():
        pub.publish("blabla")
        rospy.sleep(timeout)
    print "done."

if __name__ == '__main__':
    talker()

97f8b0d08751bbfec5cf48c2601e95940afd79ae
#!/usr/bin/env python

import rospy
from rosgraph_msgs.msg import Clock
from std_msgs.msg import String
import time


def talker():
    pub = rospy.Publisher('/kekse13', String, queue_size=10)
    rospy.init_node('hufflepuff13')

    print "publishing.."

    # how much faster then reallity?

    # in ms
    timeout=0.1
    # in s
    while not rospy.is_shutdown():
        pub.publish("blabla")
        rospy.sleep(timeout)
    print "done."

if __name__ == '__main__':
    talker()
