Go to the documentation of this file.00001
00002 import roslib; roslib.load_manifest('pddl_msgs')
00003 import rospy
00004 from pddl_msgs.msg import *
00005
00006 def talker():
00007 pub = rospy.Publisher('chatter', PDDLhoge)
00008 rospy.init_node('talker')
00009 while not rospy.is_shutdown():
00010 str = ["hello world %s"%rospy.get_time(), "aaa", "bbb"]
00011 rospy.loginfo(str)
00012 pub.publish(a = str)
00013 rospy.sleep(1.0)
00014
00015 if __name__ == '__main__':
00016 try:
00017 talker()
00018 except rospy.ROSInterruptException: pass
00019