MessageInterval class

The interval between messages for a particular MAVLink message ID. This message is sent in response to the MAV_CMD_REQUEST_MESSAGE command with param1=244 (this message) and param2=message_id (the id of the message for which the interval is required). It may also be sent in response to MAV_CMD_GET_MESSAGE_INTERVAL. This interface replaces DATA_STREAM.

MESSAGE_INTERVAL

Implemented types

Constructors

MessageInterval({required int32_t intervalUs, required uint16_t messageId})
MessageInterval.parse(ByteData data_)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
intervalUs int32_t
The interval between two messages. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
messageId uint16_t
The ID of the requested MAVLink message. v1.0 is limited to 254 messages.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int