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)!