Skip to content

Commit 11ec490

Browse files
authored
Update goal response callback signature (#463)
The signature changed in ros2/rclcpp#1311 Signed-off-by: Jacob Perron <[email protected]>
1 parent 2b94e70 commit 11ec490

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action_tutorials/action_tutorials_cpp/src/fibonacci_action_client.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ class FibonacciActionClient : public rclcpp::Node
8181
rclcpp::TimerBase::SharedPtr timer_;
8282

8383
ACTION_TUTORIALS_CPP_LOCAL
84-
void goal_response_callback(std::shared_future<GoalHandleFibonacci::SharedPtr> future)
84+
void goal_response_callback(GoalHandleFibonacci::SharedPtr goal_handle)
8585
{
86-
auto goal_handle = future.get();
8786
if (!goal_handle) {
8887
RCLCPP_ERROR(this->get_logger(), "Goal was rejected by server");
8988
} else {

0 commit comments

Comments
 (0)