parameters: (self, msg)
docstring: ROS callback for left camera info messages. Info is converted to a CameraParams
              instance, and the subscriber is shutdown as this is a one-shot process.
  
              Args:
                  msg: A sensor_msgs.msg.CameraInfo object.
docstring_summary: ROS callback for left camera info messages. Info is converted to a CameraParams
              instance, and the subscriber is shutdown as this is a one-shot process.
docstring_tokens: ROS callback for left camera info messages . Info is converted to a CameraParams instance and the subscriber is shutdown as this is a one - shot process .
function: def left_info_cb(self, msg):
          """ ROS callback for left camera info messages. Info is converted to a CameraParams
              instance, and the subscriber is shutdown as this is a one-shot process.
  
              Args:
                  msg: A sensor_msgs.msg.CameraInfo object.
          """
          print("Recieved left camera info message")
          self.left_camera_params.distortion_model = msg.distortion_model
          self.left_camera_params.distortion_coeffs = list(msg.D)
          self.left_camera_params.intrinsics = [msg.K[i] for i in [0, 4, 2, 5]]
          self.left_camera_params.frame_rate = 0.0
          self.left_camera_params.resolution = [msg.width, msg.height]
          self.left_camera_params.camera_model = "pinhole"
  
          self.num_packets_acquired += 1
          self.left_info_sub.unregister()
function_tokens: def left_info_cb ( self , msg ) : print ( "Recieved left camera info message" ) self . left_camera_params . distortion_model = msg . distortion_model self . left_camera_params . distortion_coeffs = list ( msg . D ) self . left_camera_params . intrinsics = [ msg . K [ i ] for i in [ 0 , 4 , 2 , 5 ] ] self . left_camera_params . frame_rate = 0.0 self . left_camera_params . resolution = [ msg . width , msg . height ] self . left_camera_params . camera_model = "pinhole" self . num_packets_acquired += 1 self . left_info_sub . unregister ( )