code: def mavlink_packet(self, m):
          '''get time from mavlink ATTITUDE'''
          if m.get_type() == 'GLOBAL_POSITION_INT':
              if abs(m.lat) < 1000 and abs(m.lon) < 1000:
                  return
              self.vehicle_pos = VehiclePos(mf mavlink_packet(self, m):
          '''get time from mavlink ATTITUDE'''
          if m.get_type() == 'GLOBAL_POSITION_INT':
              if abs(m.lat) < 1000 and abs(m.lon) < 1000:
                  return
              self.vehicle_pos = VehiclePos(m)
docs: get time from mavlink ATTITUDE