Skip to content

Releases: mavlink/MAVSDK-Swift

0.10.0

23 Feb 17:19
Compare
Choose a tag to compare

Update mavsdk_server to v0.37.0

0.9.0

25 Nov 18:51
Compare
Choose a tag to compare

This release drops support for Carthage and moves to SwiftPM. It introduces a few API changes in the way mavsdk_server is started (now through a MavsdkServer object), but globally the API does not change (i.e. the Action, Telemetry, and other plugins still work the same way).

0.8.0

17 Jun 18:09
738b91f
Compare
Choose a tag to compare

Add support for the following plugins:

  • follow-me
  • ftp
  • geofence
  • log files
  • mission raw
  • mocap
  • shell
  • tune

On iOS, running mavsdk_server is now done from MavsdkServer.swift, which exposes the following functions:

run: blocks until mavsdk_server is started (but not until a drone is discovered). If mavsdkServerPort is set as "0", then it chooses an available port and returns it.
getPort: return the port on which mavsdk_server listens for MAVSDK-Swift (the gRPC port)
attach: attaches to mavsdk_server and blocks until the server stops
stop: stop mavsdk_server

0.7.0

21 Oct 15:51
d4eaf83
Compare
Choose a tag to compare
  • Add offboard plugin
  • Update mavsdk_server to v0.20.0 (see changelog here)

0.6.0

17 Jul 09:08
Compare
Choose a tag to compare
  • Move to Swift 5
  • Move to mavsdk_server v0.18.3 (see releases here)
  • Finish renaming DronecodeSDK into MAVSDK

0.5.0

04 Jun 21:14
Compare
Choose a tag to compare

Features

  • Add StatusText (#119).
  • Start backend with url instead of port.

Improvements

  • Fix README (#124).
  • Update Carthage instructions (#129).

Bugfixes

  • Fix grpc-swift to 0.8.1, 0.8.2 breaking the build with Swift 4.2.1 (#123).

Backend

Contributors

@byuarus, @douglaswsilva, @JonasVautherin, @unipheas

0.4.1

05 Apr 11:24
547409b
Compare
Choose a tag to compare

Features

  • Add gimbal support
  • Add param support
  • Add PositionNED to offboard plugin
  • Add support for cancelling calibration, mission upload and mission download

0.3.0

08 Feb 19:55
Compare
Choose a tag to compare

The Swift SDK now uses autogenerated code (defined in the proto submodule). The API was slightly modified:

  • Observables are not suffixed with *Observable anymore (e.g. positionObservable -> position) to be more consistent with other calls (like takeoff()).
  • Discover and Timeout observables were merged into ConnectionState.
  • We now have real errors (e.g. ActionError) instead of using strings.
  • A Drone helper got added, that initializes all the plugins at once.
  • Core.connect() becomes Drone.startMavlink.subscribe() on iOS (and it does not exist on other platforms).

Regarding the build system:

  • We now use Xcodegen to generate the xcodeproj (from project.yml).
  • We are now compatible with SwiftPM (meaning that the Swift SDK can now run on macOS, Linux, and all systems running Swift)!

0.2.1

28 Nov 20:25
Compare
Choose a tag to compare

Fix regressions coming with 0.2.0, where the proto files had not been all updated correctly (and had breaking changes).

0.2.0: Merge pull request #96 from Dronecode/add-info-2

26 Nov 12:26
2943e78
Compare
Choose a tag to compare
  • Add calibrations plugin
  • Add info plugin
  • DTSDKName is now part of the backend.framework Info.plist file