-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix a typo in Writing-A-Simple-Cpp-Service-And-Client.rst #4934
Conversation
Signed-off-by: Jihye Sofia Seo <[email protected]>
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.
@jihyeseo this looks good to me. Just to double check, I am assuming you copied this code and ran into this bug?
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 with green CI workflow
@@ -215,7 +215,7 @@ Inside the ``ros2_ws/src/cpp_srvcli/src`` directory, create a new file called `` | |||
request->a = 41; | |||
request->b = 1; | |||
auto result_future = client->async_send_request(request); | |||
if (rclcpp::spin_until_future_complete(node, result_future) == | |||
if (rclcpp::spin_until_future_complete(node, result_future) != |
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.
Signed-off-by: Jihye Sofia Seo <[email protected]> (cherry picked from commit 3959d21) # Conflicts: # source/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Cpp-Service-And-Client.rst
Signed-off-by: Jihye Sofia Seo <[email protected]> (cherry picked from commit 3959d21) # Conflicts: # source/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Cpp-Service-And-Client.rst
…4934) (#4937) * Fix a typo in Writing-A-Simple-Cpp-Service-And-Client.rst (#4934) Signed-off-by: Jihye Sofia Seo <[email protected]> (cherry picked from commit 3959d21) Signed-off-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Jihye Sofia Seo <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
…4934) (#4938) * Fix a typo in Writing-A-Simple-Cpp-Service-And-Client.rst (#4934) Signed-off-by: Jihye Sofia Seo <[email protected]> (cherry picked from commit 3959d21) Signed-off-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Jihye Sofia Seo <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Yes. I am learning ROS, and I am planning to run every tutorial. |
See the following revert PRs for the backport PRs: |
The currently code shows error when the result is success.