Skip to main content

pamoja_mavlink_mission_receiver_new

Function pamoja_mavlink_mission_receiver_new 

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

Creates a receiver for a plan from a target vehicle.

§Arguments

  • target_system - the sending system’s id.
  • target_component - the sending component’s id.
  • mission_type - the MAV_MISSION_TYPE to transfer.

§Returns

A receiver the caller releases with pamoja_mavlink_mission_receiver_free.