parameters: (camera)
docstring: Convert sensor_msg::Image to an image
docstring_summary: Convert sensor_msg::Image to an image
docstring_tokens: Convert sensor_msg :: Image to an image
function: def camera_callback(camera):
      '''Convert sensor_msg::Image to an image'''
      global lock, image, steering, throttle, cv_bridge
      if lock.acquire(True):
  	image = cv_bridge.imgmsg_to_cv2(camera)
          lock.release()
function_tokens: def camera_callback ( camera ) : global lock , image , steering , throttle , cv_bridge if lock . acquire ( True ) : image = cv_bridge . imgmsg_to_cv2 ( camera ) lock . release ( )