code: def mavlink_packet(self, m):
          '''handle an incoming mavlink packet'''
          if m.get_type() == 'SERIAL_CONTROL':
              data = m.data[:m.count]
              s = ''.join(str(chr(x)) for x in data)
              sys.stdout.write(sf mavlink_packet(self, m):
          '''handle an incoming mavlink packet'''
          if m.get_type() == 'SERIAL_CONTROL':
              data = m.data[:m.count]
              s = ''.join(str(chr(x)) for x in data)
              sys.stdout.write(s)
docs: handle an incoming mavlink packet