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 spin_and_wait_for_matched to PublicationManager and update test c… #797
Add spin_and_wait_for_matched to PublicationManager and update test c… #797
Conversation
…odes Signed-off-by: Barry Xu <barry.xu@sony.com>
@Barry-Xu-2018 I am kind of confused about your implementation and this is not what I expected to see. |
rosbag2_test_common/include/rosbag2_test_common/publication_manager.hpp
Outdated
Show resolved
Hide resolved
rosbag2_test_common/include/rosbag2_test_common/publication_manager.hpp
Outdated
Show resolved
Hide resolved
rosbag2_test_common/include/rosbag2_test_common/publication_manager.hpp
Outdated
Show resolved
Hide resolved
According to your suggestion in #790 (comment)
My understanding is to add similar API like spin_and_wait_for_matched in SubscriptionManager to PublicationManager. |
Signed-off-by: Barry Xu <barry.xu@sony.com>
@Barry-Xu-2018 It seems you misinterpreted my suggestion. I intentionally mentioned Anyway, thank you for your PR, I will take a look more closely on it since you have addressed some review comments. |
Sorry for my misunderstanding.
Please wait a moment for the review. |
Signed-off-by: Barry Xu <barry.xu@sony.com>
Addressed your comments. |
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.
@Barry-Xu-2018 LGTM among a few nitpicks.
rosbag2_test_common/include/rosbag2_test_common/publication_manager.hpp
Outdated
Show resolved
Hide resolved
rosbag2_test_common/include/rosbag2_test_common/publication_manager.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Barry Xu <barry.xu@sony.com>
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.
@Barry-Xu-2018 All looks good now.
Thank you for your contribution.
rosbag2_test_common/include/rosbag2_test_common/publication_manager.hpp
Outdated
Show resolved
Hide resolved
BUILD args: --packages-up-to rosbag2_test_common rosbag2_tests |
Signed-off-by: Barry Xu <barry.xu@sony.com>
ros2#797) * Add spin_and_wait_for_matched to PublicationManager and update test codes Signed-off-by: Barry Xu <barry.xu@sony.com> * Address review comments Signed-off-by: Barry Xu <barry.xu@sony.com> * Wait without spin Signed-off-by: Barry Xu <barry.xu@sony.com> * Remove unused codes and adjust default sleep time Signed-off-by: Barry Xu <barry.xu@sony.com> * Fix wrong description of return value Signed-off-by: Barry Xu <barry.xu@sony.com>
ros2#797) * Add spin_and_wait_for_matched to PublicationManager and update test codes Signed-off-by: Barry Xu <barry.xu@sony.com> * Address review comments Signed-off-by: Barry Xu <barry.xu@sony.com> * Wait without spin Signed-off-by: Barry Xu <barry.xu@sony.com> * Remove unused codes and adjust default sleep time Signed-off-by: Barry Xu <barry.xu@sony.com> * Fix wrong description of return value Signed-off-by: Barry Xu <barry.xu@sony.com>
ros2#797) * Add spin_and_wait_for_matched to PublicationManager and update test codes Signed-off-by: Barry Xu <barry.xu@sony.com> * Address review comments Signed-off-by: Barry Xu <barry.xu@sony.com> * Wait without spin Signed-off-by: Barry Xu <barry.xu@sony.com> * Remove unused codes and adjust default sleep time Signed-off-by: Barry Xu <barry.xu@sony.com> * Fix wrong description of return value Signed-off-by: Barry Xu <barry.xu@sony.com>
ros2#797) * Add spin_and_wait_for_matched to PublicationManager and update test codes Signed-off-by: Barry Xu <barry.xu@sony.com> * Address review comments Signed-off-by: Barry Xu <barry.xu@sony.com> * Wait without spin Signed-off-by: Barry Xu <barry.xu@sony.com> * Remove unused codes and adjust default sleep time Signed-off-by: Barry Xu <barry.xu@sony.com> * Fix wrong description of return value Signed-off-by: Barry Xu <barry.xu@sony.com>
ros2#797) * Add spin_and_wait_for_matched to PublicationManager and update test codes Signed-off-by: Barry Xu <barry.xu@sony.com> * Address review comments Signed-off-by: Barry Xu <barry.xu@sony.com> * Wait without spin Signed-off-by: Barry Xu <barry.xu@sony.com> * Remove unused codes and adjust default sleep time Signed-off-by: Barry Xu <barry.xu@sony.com> * Fix wrong description of return value Signed-off-by: Barry Xu <barry.xu@sony.com>
Address #790