Giter Site home page Giter Site logo

Comments (13)

JonasVautherin avatar JonasVautherin commented on August 25, 2024 1

MAVSDK-Swift is on mavsdk-server 1.4.2: https://github.com/mavlink/MAVSDK-Swift/blob/main/Package.swift#L50. Let me try to update that to 1.4.4 tomorrow 👍

from mavsdk-swift.

julianoes avatar julianoes commented on August 25, 2024 1

Right, so there have been a couple of fixes since:
mavlink/MAVSDK#1703
mavlink/MAVSDK#1788

You can see the changes here: https://github.com/mavlink/MAVSDK/releases

from mavsdk-swift.

mmanionRIIS avatar mmanionRIIS commented on August 25, 2024 1

I installed MAVSDK on MacOS using Homebrew, following this: https://mavsdk.mavlink.io/main/en/cpp/quickstart.html

Will give building form main a shot.

from mavsdk-swift.

JonasVautherin avatar JonasVautherin commented on August 25, 2024

What param are you setting? What autopilot (I assume PX4?), and what version of it?

from mavsdk-swift.

mmanionRIIS avatar mmanionRIIS commented on August 25, 2024

I'm using ArduPilot. I'm unable to change the RTL_LOIT_TIME or RTL_ALT.

I also tried the PILOT_ACCEL_Z, TERRAIN_SPACING, and STAT_RUNTIME as well, all unsuccessfully.

Edit: I also accounted for "increments", example. RTL_LOIT_TIME has increments of "1000".

from mavsdk-swift.

julianoes avatar julianoes commented on August 25, 2024

What version of mavsdk_server or MAVSDK-Swift is it using? There have been some fixes, and for ArduPilot there might be some more coming up with MAVSDK v2.0.

from mavsdk-swift.

mmanionRIIS avatar mmanionRIIS commented on August 25, 2024

I've updated to the latest version of the MAVSDK-Swift on the Main Branch, so 1.1, looks like it was updated 2 months ago.

Drone Specs:
Screen Shot 2022-08-29 at 8 54 08 AM

from mavsdk-swift.

JonasVautherin avatar JonasVautherin commented on August 25, 2024

Could you try with the newly-published MAVSDK-Swift v1.1.1?

from mavsdk-swift.

mmanionRIIS avatar mmanionRIIS commented on August 25, 2024

I updated to 1.1.1. Unfortunately, had the same result.

from mavsdk-swift.

JonasVautherin avatar JonasVautherin commented on August 25, 2024

Any chance you could try to debug what's happening in C++? Two ways:

  1. Build MAVSDK-C++ and try it there from your laptop (I guess it's a problem related to Ardupilot, not iOS).
  2. Build MAVSDK-C++ with mavsdk_server, run mavsdk_server on your laptop, and connect your iOS app to it using this interface.

I would personally go for 1, build a small example (e.g. this one) and try to reproduce there 👍.

Also maybe @ykhedar has an opinion 😇.

from mavsdk-swift.

mmanionRIIS avatar mmanionRIIS commented on August 25, 2024

Thank you, will try this tomorrow and let you know how it goes!

from mavsdk-swift.

mmanionRIIS avatar mmanionRIIS commented on August 25, 2024

Still working on resolving some errors I'm getting when building the C++. I'd bet this is on my end and will let you know when I get the C++ app up and running.

I'm pretty sure my error is related to mavlink/MAVSDK#1875

Screen Shot 2022-09-02 at 12 11 51 PM

from mavsdk-swift.

JonasVautherin avatar JonasVautherin commented on August 25, 2024

Seems like you are trying to build an example from main with a MAVSDK from 1.4.x. How did you install MAVSDK? You should build it from main 👍

from mavsdk-swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.