Documentation
¶
Index ¶
- Constants
- func NewPacketV1(sysID uint8, compID uint8, seqID uint8, message message.Message) (packet.Packet, error)
- func NewPacketV2(sysID uint8, compID uint8, seqID uint8, message message.Message) (packet.Packet, error)
- type MAVLINK1_PARSE_STATE
- type MAVLINK2_PARSE_STATE
- type MAVLINK_IFLAG
- type Parser
Constants ¶
View Source
const ( // MAGIC_NUMBER_V1 const value for common use MAGIC_NUMBER_V1 packet.MAGIC_NUMBER = 0xfe )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MAVLINK1_PARSE_STATE ¶
type MAVLINK1_PARSE_STATE int
MAVLINK1_PARSE_STATE typedef
const ( MAVLINK1_PARSE_STATE_UNINIT MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_IDLE MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_STX MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_LENGTH MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_SEQ MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_SYSID MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_COMPID MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_MSGID1 MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_PAYLOAD MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_CRC1 MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_BAD_CRC MAVLINK1_PARSE_STATE = iota MAVLINK1_PARSE_STATE_GOT_GOOD_MESSAGE MAVLINK1_PARSE_STATE = iota )
MAVLINK1_PARSE_STATES
func (MAVLINK1_PARSE_STATE) String ¶
func (s MAVLINK1_PARSE_STATE) String() string
type MAVLINK2_PARSE_STATE ¶
type MAVLINK2_PARSE_STATE int
MAVLINK2_PARSE_STATE typedef
const ( MAVLINK2_PARSE_STATE_UNINIT MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_IDLE MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_STX MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_LENGTH MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_INCOMPAT_FLAGS MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_COMPAT_FLAGS MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_SEQ MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_SYSID MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_COMPID MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_MSGID1 MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_MSGID2 MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_MSGID3 MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_PAYLOAD MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_CRC1 MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_BAD_CRC MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_GOT_GOOD_MESSAGE MAVLINK2_PARSE_STATE = iota MAVLINK2_PARSE_STATE_WAIT_SIGNATURE MAVLINK2_PARSE_STATE = iota )
MAVLINK2_PARSE_STATES
func (MAVLINK2_PARSE_STATE) String ¶
func (s MAVLINK2_PARSE_STATE) String() string
type MAVLINK_IFLAG ¶
type MAVLINK_IFLAG uint8
MAVLINK_IFLAG type
const ( // MAGIC_NUMBER_V2 const value for common use MAGIC_NUMBER_V2 packet.MAGIC_NUMBER = 0xfd // MAVLINK_IFLAG_SIGNED constant MAVLINK_IFLAG_SIGNED MAVLINK_IFLAG = 0b00000001 )
Click to show internal directories.
Click to hide internal directories.