-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, when I run Mavsdk-Swift-Example, after connecting the UAV, the CPU will reach 30%. What causes this problem? Can it be solved? #220
Comments
Running Mavsdk-Swift-Example at iOS |
Difficult to know without knowing which device you are using, which version of MAVSDK, etc. |
MAVSDK version: v1.4.2, iPhone X。 |
Interesting. I never profiled it on an iPhone, I don't know what to expect there. Does it consistently stay at 30% during the flight? |
Yes, our drone temporarily runs on simulators, sometimes the CPU reaches 50
…---Original---
From: "Jonas ***@***.***>
Date: Mon, Nov 7, 2022 18:34 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [mavlink/MAVSDK-Swift] Hello, when I run Mavsdk-Swift-Example, after connecting the UAV, the CPU will reach 30%. What causes this problem? Can it be solved? (Issue #220)
Interesting. I never profiled it on an iPhone, I don't know what to expect there. Does it consistently stay at 30% during the flight?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Without the video stream? |
No, it contains video streams
…---Original---
From: "Jonas ***@***.***>
Date: Mon, Nov 7, 2022 20:29 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [mavlink/MAVSDK-Swift] Hello, when I run Mavsdk-Swift-Example,after connecting the UAV, the CPU will reach 30%. What causes this problem?Can it be solved? (Issue #220)
Without the video stream?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Can you try without the video streams, for comparison? |
I tried, without video streaming CUP is about 2% lower, after changing to the iPhone 11, CUP becomes about 18%
…---Original---
From: "Jonas ***@***.***>
Date: Mon, Nov 7, 2022 22:16 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [mavlink/MAVSDK-Swift] Hello, when I run Mavsdk-Swift-Example, after connecting the UAV, the CPU will reach 30%. What causes this problem? Can it be solved? (Issue #220)
Can you try without the video streams, for comparison?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sounds like video streaming is the reason then? Make sure to use video encoding in hardware. Not sure how that works on iOS but I'm sure there are guides. |
No description provided.
The text was updated successfully, but these errors were encountered: