/**
  * Generates the payload for a mavlink message for a message of this type
  *
  * @return
  */
 public MAVLinkPacket pack() {
   MAVLinkPacket packet = new MAVLinkPacket();
   packet.len = MAVLINK_MSG_LENGTH;
   packet.sysid = 255;
   packet.compid = 190;
   packet.msgid = MAVLINK_MSG_ID_MISSION_REQUEST_LIST;
   packet.payload.putByte(target_system);
   packet.payload.putByte(target_component);
   return packet;
 }
 /**
  * Generates the payload for a mavlink message for a message of this type
  *
  * @return
  */
 public MAVLinkPacket pack() {
   MAVLinkPacket packet = new MAVLinkPacket();
   packet.len = MAVLINK_MSG_LENGTH;
   packet.sysid = 255;
   packet.compid = 190;
   packet.msgid = MAVLINK_MSG_ID_NAMED_VALUE_INT;
   packet.payload.putInt(time_boot_ms);
   packet.payload.putInt(value);
   for (int i = 0; i < name.length; i++) {
     packet.payload.putByte(name[i]);
   }
   return packet;
 }