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

Fix mavlink unresponsiveness / lateness. #359

Merged
merged 2 commits into from Mar 14, 2024

Conversation

joaoantoniocardoso
Copy link
Collaborator

@joaoantoniocardoso joaoantoniocardoso commented Mar 13, 2024

Finally, the clogging is solved.

lesson learned: Do not sleep on network-receiving, or channel-receiving loops.

The CPU usage on RPI4 spikes +6% when exchanging information back and forth with the GCS.

  • Tested locally
  • Tested with the ROV (RPI 4)

Closes #354

These sleeps on the mavlink-related part are _not_ needed, and they only clog
the messages, making MCM lose messages, or snowball into an overloaded state.
@patrickelectric patrickelectric merged commit 8bc71a6 into mavlink:master Mar 14, 2024
4 checks passed
@joaoantoniocardoso joaoantoniocardoso deleted the fix_mavlink branch March 14, 2024 11:45
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

Successfully merging this pull request may close these issues.

QGC doesn't display video stream
2 participants