Decoding MAVLink Messages with Swift + Xcode

3689671070?profile=original

I wrote an article on how to decode MAVLink messages using a Swift based Xcode project.  This is of interest if you’re attempting to write your own ground control station software for the Mac (or iOS).

A full sample Xcode project is available from my GitHub. Screenshot of the app below.

Cheers

Michael Koukoullis

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Hi Andreas

    You're welcome! Glad it was of help.

  • Hi Michael

    Thanks a lot for the effort. This made it a thousand times easier to get started with Mavlink in swift! Cheers. 

  • Hi Jamie

    I've pushed an update to the github repo that fixes this issue. Please pull the update and run "git submodule update --init"

    The issue was the Mavlink C Library submodule using a SSH/git URL, it now uses a HTTPS url. The former requires you to have an SSH key on your machine which is associated with a GitHub account. 

    Let me know if you have any other issues or questions.

    Cheers

    Michael

  • Developer

    Hi Micheal, I have a problem when initializing the Git submodules:

    Cloning into 'Vendor/Mavlink'...

    Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts.

    Permission denied (publickey).

    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights

    and the repository exists.

    Clone of 'git@github.com:mavlink/c_library.git' into submodule path 'Vendor/Mavlink' failed

    Any ideas what might the problem be?

  • Developer
    Awesome! I'll have to give this a try :)
This reply was deleted.