code: def mavlink_packet(self, m):
          '''handle incoming mavlink packet'''
          type = m.get_type()
          if type in ['COMMAND_ACK']:
              if m.command == mavutil.mavlink.MAV_CMD_DO_GO_AROUND:
                  if (m.result == 0 and self.abort_ack_received == False):
                      self.say("Landing Abort Command Successfully Sent.")
                      self.abort_ack_received = True
                  elif (m.result != 0 and self.abort_ack_received == False):
                      self.say("Landing Abort Command Unsuccessful.")
  
              elif m.command == mavutil.mavlink.MAV_CMD_DO_RALLY_LAND:
                  if (m.result == 0):
                      self.say("Landing."f mavlink_packet(self, m):
          '''handle incoming mavlink packet'''
          type = m.get_type()
          if type in ['COMMAND_ACK']:
              if m.command == mavutil.mavlink.MAV_CMD_DO_GO_AROUND:
                  if (m.result == 0 and self.abort_ack_received == False):
                      self.say("Landing Abort Command Successfully Sent.")
                      self.abort_ack_received = True
                  elif (m.result != 0 and self.abort_ack_received == False):
                      self.say("Landing Abort Command Unsuccessful.")
  
              elif m.command == mavutil.mavlink.MAV_CMD_DO_RALLY_LAND:
                  if (m.result == 0):
                      self.say("Landing.")
docs: handle incoming mavlink packet