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

Udp-socket-thread #956

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Gaza-Israel
Copy link

Switched from QSocket to default linux sockets to implement the receive of packets in a separeted thread.

This solves an issue with high frequency data where plotjuggler would lose several packets while updating the plots. This issue only happens while livestreaming whithout pause, if you pause the window it receives normally all the data, but as soon as it is unpaused the issue returns.

I'm aware that this solution will lead to problems with windows implementation, but for now I dont have the time to implement with other OS compatibility.

Tested on Ubuntu 22.04..4 LTS

@unicoper
Copy link

pretty cool work, works stable for me, congrats
now I can see my signals at 65mhz without interruptions

@facontidavide
Copy link
Owner

as you said, I can't merge this unless Window is supported too.

@facontidavide
Copy link
Owner

I love the idea of using a separate threadm but can we avoid using raw socket and use Qt instead?

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.

3 participants