44 NAME =
'listener_connection_header' 48 if 'callerid' in data._connection_header:
49 who = data._connection_header[
'callerid']
52 if 'cookies' in data._connection_header:
53 print "%s just offered me %s cookies"%(who, data._connection_header[
'cookies'])
55 print "I just heard %s from %s"%(chatter, who)
58 rospy.Subscriber(
"chatter", String, callback)
59 rospy.init_node(NAME, anonymous=
True)
62 if __name__ ==
'__main__':
65 except KeyboardInterrupt, e: