Skip to content
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

Open
fanfans1 opened this issue Nov 7, 2022 · 10 comments

Comments

@fanfans1
Copy link

fanfans1 commented Nov 7, 2022

No description provided.

@fanfans1
Copy link
Author

fanfans1 commented Nov 7, 2022

Running Mavsdk-Swift-Example at iOS

@JonasVautherin
Copy link
Collaborator

Difficult to know without knowing which device you are using, which version of MAVSDK, etc.

@fanfans1
Copy link
Author

fanfans1 commented Nov 7, 2022

MAVSDK version: v1.4.2, iPhone X。

@JonasVautherin
Copy link
Collaborator

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?

@fanfans1
Copy link
Author

fanfans1 commented Nov 7, 2022 via email

@JonasVautherin
Copy link
Collaborator

Without the video stream?

@fanfans1
Copy link
Author

fanfans1 commented Nov 7, 2022 via email

@JonasVautherin
Copy link
Collaborator

Can you try without the video streams, for comparison?

@fanfans1
Copy link
Author

fanfans1 commented Nov 7, 2022 via email

@julianoes
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants