Creates a sender for a plan bound for a target vehicle, with no items yet.
The receiving system's id.
The receiving component's id.
OptionalmissionType: number | null
The MAV_MISSION_TYPE of the plan; defaults to the main
mission.
Appends an item to the plan.
The sender stamps the sequence number, target ids, and mission type onto each item as
it is handed out, so the item need only carry its content: command, frame, position,
and parameters. Build one by field name with the MISSION_ITEM_INT schema.
The item, as a MISSION_ITEM_INT message or its payload.
Builds the frame that opens an upload.
The addressing fields to stamp on the frame.
The MISSION_COUNT frame.
Handles an incoming frame, if it is one this transfer answers.
A MISSION_REQUEST_LIST is answered with the count, a MISSION_REQUEST_INT (or the
older MISSION_REQUEST) with the item asked for, and a request past the end of the
plan with a MISSION_ACK reporting an invalid sequence. A MISSION_ACK from the
receiver ends the transfer.
The frame off the link.
The addressing fields to stamp on the reply.
The step taken, or null if the frame carries a message this transfer does
not handle.
Holds a plan and answers a receiver's requests for its items.