ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I got the same error: it ran once and printed out the values and stopped. Solved it as described below:
Instead of:
VideoRaw.publish(msg_frame, "bgr8")
It is supposed to be like this:
msg_frame = CvBridge().cv2_to_imgmsg(frame, "bgr8")
VideoRaw.publish(msg_frame)