rclcpp_action
master
C++ ROS Action Client Library
|
Options for sending a goal. More...
#include <client.hpp>
Public Member Functions | |
SendGoalOptions () | |
Public Attributes | |
GoalResponseCallback | goal_response_callback |
Function called when the goal is accepted or rejected. More... | |
FeedbackCallback | feedback_callback |
Function called whenever feedback is received for the goal. More... | |
ResultCallback | result_callback |
Function called when the result for the goal is received. More... | |
Options for sending a goal.
This struct is used to pass parameters to the function async_send_goal
.
|
inline |
GoalResponseCallback rclcpp_action::Client< ActionT >::SendGoalOptions::goal_response_callback |
Function called when the goal is accepted or rejected.
Takes a single argument that is a future to a goal handle shared pointer. If the goal is accepted, then the pointer points to a valid goal handle. If the goal is rejected, then pointer has the value nullptr
. If an error occurs while waiting for the goal response an exception will be thrown when calling future::get()
. Possible exceptions include rclcpp::RCLError
and rclcpp::RCLBadAlloc
.
FeedbackCallback rclcpp_action::Client< ActionT >::SendGoalOptions::feedback_callback |
Function called whenever feedback is received for the goal.
ResultCallback rclcpp_action::Client< ActionT >::SendGoalOptions::result_callback |
Function called when the result for the goal is received.