ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I don't know anything about this code, but I think I've spotted the bug. The callback is getting std_msgs.msg.String
objects (note the capital S
), which are actually a ROS std_msgs/String message that wraps a python string, but splitlines
is only valid on python's built-in string
type (note the lowercase s
). You probably need to pass the data
member from the incoming message into filter_caffe_message
.