ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The callback function should have the signature:
void callback(const rclcpp::Client<ServiceT>::SharedFuture future)
In your case:
void callback(const rclcpp::Client<cpp_rpispi::srv::Spixfer>::SharedFuture future)