code: def idle_task(self):
          '''called rapidly by mavproxy'''
          if self.fix_type >= 3:
              # don't do anything if we have a fix
              return
          if self.mpstate.status.armed:
              # do not upload data over telemetry link if we are armed
              # perhaps we should just limit rate instead.
              return
          now = time.time()
          if self.auto:
              if now-self.last_auto > 2:
                  self.last_auto = now
                  print("Doing auto things")
                  if self.idle_upload_mga_dbd():
                      self.auto_status = "DBD uploaded"
  
                  if not self.idle_upload_mga_online():
                      self.auto_status = "Online uploaded"
  
                  if not self.idle_upload_mga_offline():
                      self.auto_status = "Offline uploadedf idle_task(self):
          '''called rapidly by mavproxy'''
          if self.fix_type >= 3:
              # don't do anything if we have a fix
              return
          if self.mpstate.status.armed:
              # do not upload data over telemetry link if we are armed
              # perhaps we should just limit rate instead.
              return
          now = time.time()
          if self.auto:
              if now-self.last_auto > 2:
                  self.last_auto = now
                  print("Doing auto things")
                  if self.idle_upload_mga_dbd():
                      self.auto_status = "DBD uploaded"
  
                  if not self.idle_upload_mga_online():
                      self.auto_status = "Online uploaded"
  
                  if not self.idle_upload_mga_offline():
                      self.auto_status = "Offline uploaded"
docs: called rapidly by mavproxy