code: def mavlink_packet(self, m):
          '''handle a mavlink packet'''
          mtype = m.get_type()
          if mtype == "CAMERA_STATUS":
              print ("Got Message camera_status")
          if mtype == "CAMERA_FEEDBACK":
              print ("Got Message camera_feedback")
              '''self.__vCmdCamTrigger(m)'''
          if mtype == "COMMAND_LONG":
              if m.command == mavutil.mavlink.MAV_CMD_DO_DIGICAM_CONFIGURE:
                  print ("Got Message Digicam_configure")
                  self.__vDecodeDIGICAMConfigure(m)
              elif m.command == mavutil.mavlink.MAV_CMD_DO_DIGICAM_CONTROL:
                  print ("Got Message Digicam_control")
                  self.__vDecodeDIGICAMControl(mf mavlink_packet(self, m):
          '''handle a mavlink packet'''
          mtype = m.get_type()
          if mtype == "CAMERA_STATUS":
              print ("Got Message camera_status")
          if mtype == "CAMERA_FEEDBACK":
              print ("Got Message camera_feedback")
              '''self.__vCmdCamTrigger(m)'''
          if mtype == "COMMAND_LONG":
              if m.command == mavutil.mavlink.MAV_CMD_DO_DIGICAM_CONFIGURE:
                  print ("Got Message Digicam_configure")
                  self.__vDecodeDIGICAMConfigure(m)
              elif m.command == mavutil.mavlink.MAV_CMD_DO_DIGICAM_CONTROL:
                  print ("Got Message Digicam_control")
                  self.__vDecodeDIGICAMControl(m)
docs: handle a mavlink packet