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

Add timeout to wait_for_server and wait_for_result #203

Merged
merged 2 commits into from
Sep 13, 2022

Conversation

nakane11
Copy link
Contributor

Currently sendMsg() does not return when action server does not exist or no result is sent because timeout of wait_for_server() and wait_for_result() is set to zero.
Some users want to escape the function even if action cannot be executed.
https://github.com/jsk-ros-pkg/jsk_robot/blob/34a129462403878c9b4c9c86c1aa9b38d506c143/jsk_fetch_robot/jsk_fetch_startup/scripts/battery_warning.py#L34
jsk-ros-pkg/jsk_robot#1589 (comment)

@knorth55
Copy link
Member

please check nakane11#1

@nakane11
Copy link
Contributor Author

Thank you. I appreciate your correction.

@knorth55 knorth55 merged commit 6603e6a into ros-drivers:master Sep 13, 2022
@nakane11 nakane11 deleted the timeout branch September 13, 2022 13:30
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.

2 participants