Releases: mavlink/MAVSDK-Swift
0.10.0
Update mavsdk_server to v0.37.0
0.9.0
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
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
0.6.0
0.5.0
Features
- Add StatusText (#119).
- Start backend with url instead of port.
Improvements
Bugfixes
- Fix grpc-swift to 0.8.1, 0.8.2 breaking the build with Swift 4.2.1 (#123).
Backend
- Update backend to v.0.17.0 Coach.
Contributors
0.4.1
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
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 (liketakeoff()
). Discover
andTimeout
observables were merged intoConnectionState
.- 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()
becomesDrone.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
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
- Add calibrations plugin
- Add info plugin
- DTSDKName is now part of the backend.framework
Info.plist
file