Skip to main content

pamoja_mavlink_mission_sender_new

Function pamoja_mavlink_mission_sender_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_mavlink_mission_sender_new( target_system: u8, target_component: u8, mission_type: u8, ) -> *mut PamojaMavlinkMissionSender
Expand description

Creates a sender for a plan bound for a target vehicle, with no items yet.

§Arguments

  • target_system - the receiving system’s id.
  • target_component - the receiving component’s id.
  • mission_type - the MAV_MISSION_TYPE of the plan.

§Returns

A sender the caller releases with pamoja_mavlink_mission_sender_free.