pamoja for TypeScript - v0.1.17
    Preparing search index...

    Function frame

    • Builds a v2 frame carrying a message the common dialect defines.

      The seed is looked up rather than passed, which is the usual case: a sender emitting a standard message should not have to know its checksum constant.

      Parameters

      • header: mavlink.MavlinkHeader

        The addressing fields to stamp on the frame.

      • msgid: number

        The message id.

      • payload: Buffer

        The message payload.

      Returns mavlink.MavlinkFrame

      The frame ready to send.

      If the id is outside the common dialect, in which case build the frame with MavlinkFrame.raw and a seed of your own.