Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message interface { // MsgID returns message id MsgID() MessageID // String returns human-readable representation on Message String() string // Dict returns key-value dictionary of Message internal fields Dict() map[string]interface{} // Marshal encodes Packet to byte slice Marshal() ([]byte, error) // Unmarshal parses PAYLOAD and stores the result in Packet Unmarshal(payload []byte) error }
Message is a basic type for encoding/decoding mavlink messages. use the Pack() and Unpack() routines on specific message types to convert them to/from the Packet type.
Click to show internal directories.
Click to hide internal directories.