Go to the source code of this file.
Namespaces | |
camera_image | |
Functions | |
def | camera_image.getCameraId () |
Variables | |
camera_image.capture = cv2.VideoCapture(index) | |
camera_image.cv_bridge = CvBridge() | |
camera_image.frame = cv2.flip(frame,1) | |
camera_image.index = getCameraId() | |
camera_image.msg = cv_bridge.cv2_to_imgmsg(frame,"bgr8") | |
camera_image.pub = rospy.Publisher('/xbot/camera/image', Image, queue_size=5) | |
camera_image.ret | |