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

Support None for no timeout in line with rospy.wait_for_message #173

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Conversation

Timple
Copy link

@Timple Timple commented Oct 6, 2020

Support None for no timeout in line with rospy.wait_for_message

In our tests we use the wait_for_message and wait_for_topic functions a lot. And having different syntax for both is inconvenient.

Alternative implementation:
I can also rewrite to have None the default and be backwards compatible with rospy.Duration(0). Should not be too hard because they are both falsy. Let me know if this is desired.

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.

1 participant