from std_msgs.msg import String http://docs.ros.org/api/std_msgs/html/msg/String.html 转载于:https://www.cnblogs.com/sea-stream/p/11204607.html