Function mavlink::write_versioned_msg

source ยท
pub fn write_versioned_msg<M, W>(
    w: &mut W,
    version: MavlinkVersion,
    header: MavHeader,
    data: &M,
) -> Result<usize, MessageWriteError>
where M: Message, W: Write,
Expand description

Write a message using the given mavlink version