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

topic_tools/scripts/transform: add --wait-for-start #646

Closed
wants to merge 1 commit into from

Conversation

k-okada
Copy link
Contributor

@k-okada k-okada commented Aug 4, 2015

add wait-for-start option to avoid exitting this script in the first time

current implemnetation exit the scirpt if the input topic is not found, but if you start transform with other node in the launch file, usually it takes a few seconds to start publishing topics, so transform node exits in the first time, this option avoid such situation

@ros-pull-request-builder
Copy link
Member

Can one of the admins verify this patch?

@wjwwood
Copy link
Member

wjwwood commented Aug 4, 2015

Why does this option take a time parameter? Based on the situation you described shouldn't it just be wait for ever? Even if you have an option that takes a timeout, I think it should also be possible to wait for ever.

@k-okada
Copy link
Contributor Author

k-okada commented Aug 5, 2015

I just thought that we'd like to know if the input message is not published for some reason (wrong remap ore something) or just wait for 1st message, but yes, wait for ever is much more simple.

note : old implementation -> k-okada@f3b7b20

@dirk-thomas
Copy link
Member

Thank you.

I have slightly modified the patch and cherry-picked it in 32edfbf

@k-okada k-okada deleted the add_wait_for_start branch September 15, 2016 12:55
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.

None yet

4 participants