Comments (13)
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.
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.
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.
What param are you setting? What autopilot (I assume PX4?), and what version of it?
from mavsdk-swift.
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.
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.
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.
from mavsdk-swift.
Could you try with the newly-published MAVSDK-Swift v1.1.1?
from mavsdk-swift.
I updated to 1.1.1. Unfortunately, had the same result.
from mavsdk-swift.
Any chance you could try to debug what's happening in C++? Two ways:
- Build MAVSDK-C++ and try it there from your laptop (I guess it's a problem related to Ardupilot, not iOS).
- 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.
Thank you, will try this tomorrow and let you know how it goes!
from mavsdk-swift.
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
from mavsdk-swift.
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)
- Shell commands HOT 3
- Connect to ArduPilot + MavProxy HOT 1
- Use 2 ESP8266 as Serial Bridge over WIFI HOT 4
- Cannot find type 'GRPCCallHandler' in scope HOT 10
- Can't make MAVSDK work with our PX4 based drone HOT 3
- MAVSDK extracts battery info from SYS_STATUS and not BATTERY_STATUS HOT 11
- Adding support for Catalyst (Running iOS framework on macOS) HOT 13
- Mavlink crashes after trying to call «Arm» command HOT 6
- Is there a way to listen to NAMED_VALUE_INT command? HOT 1
- Not able to connect to TXMOD-RFD868. HOT 5
- MissionItem is missing Actions (takeoff, transition, land) HOT 13
- MAVSDK structs and classes should conform protocol (Codable, Hashable, Identifiable) HOT 3
- Documentation not up to date. HOT 3
- Have to connect to QGC first and then run sample app, otherwise telemetry won't display. HOT 6
- How do I connect the camera on the simulator HOT 6
- Does mavsdk support serial port connection? HOT 1
- How do I connect multiple drones? HOT 4
- Hello, when I run Mavsdk-Swift-Example, after connecting the UAV, the CPU will reach 30%. What causes this problem? Can it be solved? HOT 10
- Is it possible to use Manual Control with an UI joystick? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mavsdk-swift.