Hi, I updated my cargo.toml , by changing the version of mavlink = {version="0.9.0"} , to mavlink ={version="0.11.2"} but now I am getting the following error MavMessage::common(common::Mavmessage::HEARTBEAT(commin::HEART_DATA{
MavMessage::common(common:
^^^ variant or associated item not found in MavMessage
I am importing it as
use mavlink::ardupilotmega::MavMessage;
use mavlink::common;
use mavlink::common::{MavAutopilot, MavModeFlag, MavState, MavType};
my cargo.toml is looks like
[dependencies]
mavlink = { version = "0.9", features = ["ardupilotmega", "emit-extensions"] }tracing = "0.1"
tokio = { version = "0.2", features = ["full"] }
tokio-fd = "0.3.0"
libc = "0.2"