-
Notifications
You must be signed in to change notification settings - Fork 194
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
Move the timeout check from RemoteControlBoard to the stateExtendedReader #1847
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Any comments on this ? Shall we merge it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
As an extra suggestion, TIMEOUT_EXT could be an optional parameter for remoteControlBoard, with default value = 0.5
Done in 7f20736 👍 |
…d` to the `stateExtendedReader`. In this way every read has a timeout check that before was only in few functions like `getEncoders`. It fixes robotology#1833
This PR fixes #1833.
With @barbalberto we thought to add timeout check in all data kind streamed by
*\stateExt:o
ports not only for certain(e.g.getEncoder
).It is wip because it is more a proposal.
Please review code.