mavlinkmicroservice
R2026bDescription
creates a MAVLink microservice object of the type specified by microservice = mavlinkmicroservice(mavlinkio, type)type using
the local MAVLink client mavlinkio.
MAVLink microservices are higher-level protocols that enable interoperability between MAVLink systems such as ground control stations and autopilots. Each microservice handles a specific type of communication, including exchanging parameters, missions, files, and commands, with built-in support for acknowledgment, retransmission, and error handling.
These are the supported microservice types:
"heartbeat"— Create aheartbeatMicroserviceobject that sends periodic heartbeat messages to advertise system status and establish connectivity."parameter"— Create aparameterMicroserviceobject that reads and writes parameters on a remote MAVLink client."command"— Create acommandMicroserviceobject that sends commands to a remote MAVLink client."mission"— Create amissionMicroserviceobject that uploads and downloads missions on a remote MAVLink client. This microservice requires PX4 version 1.5.1 or later. If you use ArduPilot, it requires Copter 3.4 or later, or Plane 3.5 or later."ftp"— Create anftpMicroserviceobject that exchanges files with a remote MAVLink client.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b