rust-mavlink
rust-mavlink copied to clipboard
ardupilotmega is not using icarous and uavionix modules when generated
@laptou can you take a look ?
It would be nice to have access to common and others messages that are included in ardupilotmega with:
pub fn get_apm_mount_status() -> mavlink::ardupilotmega::HEARTBEAT {
mavlink::ardupilotmega::HEARTBEAT {
custom_mode: 0,
mavtype: mavlink::ardupilotmega::MavType::MAV_TYPE_QUADROTOR,
autopilot: mavlink::ardupilotmega::MavAutopilot::MAV_AUTOPILOT_ARDUPILOTMEGA,
base_mode: mavlink::ardupilotmega::MavModeFlag::empty(),
system_status: mavlink::ardupilotmega::MavState::MAV_STATE_STANDBY,
mavlink_version: 0x3,
}
}
Maybe is better to check the necessary includes in the xml and merge all in a big one to do the parse process.