Skip to content

Commit

Permalink
Revert "Fix a typo in Writing-A-Simple-Cpp-Service-And-Client.rst (ba…
Browse files Browse the repository at this point in the history
…ckport #…"

This reverts commit 24c6ebf.
  • Loading branch information
christophebedard authored Jan 14, 2025
1 parent 24c6ebf commit 69e286b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Inside the ``ros2_ws/src/cpp_srvcli/src`` directory, create a new file called ``

auto result = client->async_send_request(request);
// Wait for the result.
if (rclcpp::spin_until_future_complete(node, result) !=
if (rclcpp::spin_until_future_complete(node, result) ==
rclcpp::FutureReturnCode::SUCCESS)
{
RCLCPP_INFO(rclcpp::get_logger("rclcpp"), "Sum: %ld", result.get()->sum);
Expand Down

0 comments on commit 69e286b

Please sign in to comment.