We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b94e70 commit 11ec490Copy full SHA for 11ec490
action_tutorials/action_tutorials_cpp/src/fibonacci_action_client.cpp
@@ -81,9 +81,8 @@ class FibonacciActionClient : public rclcpp::Node
81
rclcpp::TimerBase::SharedPtr timer_;
82
83
ACTION_TUTORIALS_CPP_LOCAL
84
- void goal_response_callback(std::shared_future<GoalHandleFibonacci::SharedPtr> future)
+ void goal_response_callback(GoalHandleFibonacci::SharedPtr goal_handle)
85
{
86
- auto goal_handle = future.get();
87
if (!goal_handle) {
88
RCLCPP_ERROR(this->get_logger(), "Goal was rejected by server");
89
} else {
0 commit comments