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

Retry reading RTDE interface when unexpected messages appear during s… #186

Merged
merged 4 commits into from
Jun 12, 2020

Conversation

fmauch
Copy link
Contributor

@fmauch fmauch commented May 28, 2020

…tartup

At startup we make a couple of requests to the RTDE interface. If the interface
publishes messages by itself, a simple read() from the interface might grab another
message than the answer.

This change checks whether an answer to our requests was received and reports
a warning otherwise while retrying.

For example, this was raised inside #185

Closes #185

…tartup

At startup we make a couple of requests to the RTDE interface. If the interface
publishes messages by itself, a simple read() from the interface might grab another
message than the answer.

This change checks whether an answer to our requests was received and reports
a warning otherwise while retrying.
@fmauch
Copy link
Contributor Author

fmauch commented May 28, 2020

I should really get used to marking my PRs WIP or push later...

@fmauch fmauch marked this pull request as draft May 28, 2020 08:57
@fmauch fmauch force-pushed the check_rtde_initialization branch from fe04acb to 26a2331 Compare May 28, 2020 11:29
@fmauch fmauch marked this pull request as ready for review May 28, 2020 11:32
@fmauch fmauch merged commit 8e2ee63 into master Jun 12, 2020
@fmauch fmauch deleted the check_rtde_initialization branch June 16, 2020 11:41
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.

Thread 1 "ur_robot_driver" received signal SIGSEGV, Segmentation fault.
2 participants