<s> import roslib ; roslib . load_manifest ( '<STR_LIT>' ) <EOL> import rospy <EOL> from std_msgs . msg import String <EOL> from Test . srv import StringEcho <EOL> def string_echo_server ( ) : <EOL> rospy . init_node ( '<STR_LIT>' ) <EOL> pub = rospy . Publisher ( '<STR_LIT>' , String , latch = True ) <EOL> rospy . Subscriber ( '<STR_LIT>' , String , pub . publish ) <EOL> rospy . Service ( '<STR_LIT>' , StringEcho , lambda msg : msg . data ) <EOL> rospy . spin ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> string_echo_server ( ) </s>
