Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
public class Drone -
Enable simple actions such as arming, taking off, and landing.
See moreDeclaration
Swift
public class Action -
Enable to calibrate sensors of a drone such as gyro, accelerometer, and magnetometer.
See moreDeclaration
Swift
public class Calibration -
Can be used to manage cameras that implement the MAVLink Camera Protocol: https://mavlink.io/en/protocol/camera.html.
Currently only a single camera is supported. When multiple cameras are supported the plugin will need to be instantiated separately for every camera and the camera selected using
See moreselect_camera.Declaration
Swift
public class Camera -
Access to the connection state and running plugins.
See moreDeclaration
Swift
public class Core -
Inject failures into system to test failsafes.
See moreDeclaration
Swift
public class Failure -
Allow users to command the vehicle to follow a specific target. The target is provided as a GPS coordinate and altitude.
See moreDeclaration
Swift
public class FollowMe -
Implements file transfer functionality using MAVLink FTP.
See moreDeclaration
Swift
public class Ftp -
Enable setting a geofence.
See moreDeclaration
Swift
public class Geofence -
Provide control over a gimbal.
See moreDeclaration
Swift
public class Gimbal -
Provide information about the hardware and/or software of a system.
See moreDeclaration
Swift
public class Info -
Allow to download log files from the vehicle after a flight is complete. For log streaming during flight check the logging plugin.
See moreDeclaration
Swift
public class LogFiles -
Enable manual control using e.g. a joystick or gamepad.
See moreDeclaration
Swift
public class ManualControl -
Enable waypoint missions.
See moreDeclaration
Swift
public class Mission -
Enable raw missions as exposed by MAVLink.
See moreDeclaration
Swift
public class MissionRaw -
* Allows interfacing a vehicle with a motion capture system in order to allow navigation without global positioning sources available (e.g. indoors, or when flying under a bridge. etc.).
See moreDeclaration
Swift
public class Mocap -
* Control a drone with position, velocity, attitude or motor commands.
The module is called offboard because the commands can be sent from external sources as opposed to onboard control right inside the autopilot “board”.
Client code must specify a setpoint before starting offboard mode. Mavsdk automatically sends setpoints at 20Hz (PX4 Offboard mode requires that setpoints are minimally sent at 2Hz).
See moreDeclaration
Swift
public class Offboard -
Provide raw access to get and set parameters.
See moreDeclaration
Swift
public class Param -
* Allow to communicate with the vehicle’s system shell.
See moreDeclaration
Swift
public class Shell -
Allow users to get vehicle telemetry and state information (e.g. battery, GPS, RC connection, flight mode etc.) and set telemetry update rates.
See moreDeclaration
Swift
public class Telemetry -
Enable creating and sending a tune to be played on the system.
See moreDeclaration
Swift
public class Tune
View on GitHub
Install in Dash
Classes Reference