ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You used ROS std_msgs.msgs.String
. This class has an attribute called data
with string
type.
If you want to use this attribute and its python built-in methods you must change your code
from
caffe_message.splitlines()
to
caffe_message.data.splitlines()