code: def send(self, mavmsg, force_mavlink1=False):
                  '''send a MAVLink message'''
                  buf = mavmsg.pack(self, force_mavlink1=force_mavlink1)
                  self.file.write(buf)
                  self.seq = (self.seq + 1) % 256
                  self.total_packets_sent += 1
                  self.total_bytes_sent += len(buf)
                  if self.send_callback:
                      self.send_callback(mavmsg, *self.send_callback_args, **self.send_callback_kwargsf send(self, mavmsg, force_mavlink1=False):
                  '''send a MAVLink message'''
                  buf = mavmsg.pack(self, force_mavlink1=force_mavlink1)
                  self.file.write(buf)
                  self.seq = (self.seq + 1) % 256
                  self.total_packets_sent += 1
                  self.total_bytes_sent += len(buf)
                  if self.send_callback:
                      self.send_callback(mavmsg, *self.send_callback_args, **self.send_callback_kwargs)
docs: send a MAVLink message