#[repr(u32)]pub enum MavMessage {
HEARTBEAT(HEARTBEAT_DATA),
PROTOCOL_VERSION(PROTOCOL_VERSION_DATA),
}
minimal
only.Variants§
HEARTBEAT(HEARTBEAT_DATA)
The heartbeat message shows that a system or component is present and responding. The type and autopilot fields (along with the message component id), allow the receiving system to treat further messages from this system appropriately (e.g. by laying out the user interface based on the autopilot). This microservice is documented at https://mavlink.io/en/services/heartbeat.html.
ID: 0
PROTOCOL_VERSION(PROTOCOL_VERSION_DATA)
Version and capability of protocol version. This message can be requested with MAV_CMD_REQUEST_MESSAGE and is used as part of the handshaking to establish which MAVLink version should be used on the network. Every node should respond to a request for PROTOCOL_VERSION to enable the handshaking. Library implementers should consider adding this into the default decoding state machine to allow the protocol core to respond directly.
ID: 300
Implementations§
Trait Implementations§
Source§impl Clone for MavMessage
impl Clone for MavMessage
Source§fn clone(&self) -> MavMessage
fn clone(&self) -> MavMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more