Class GenericClientGoalHandle
Defined in File generic_client_goal_handle.hpp
Nested Relationships
Nested Types
Class Documentation
-
class GenericClientGoalHandle
Public Types
-
enum class ResultCode : int8_t
The possible statuses that an action goal can finish with.
Values:
-
enumerator UNKNOWN
-
enumerator SUCCEEDED
-
enumerator CANCELED
-
enumerator ABORTED
-
enumerator UNKNOWN
-
using FeedbackCallback = std::function<void(typename GenericClientGoalHandle::SharedPtr, const void*)>
-
using ResultCallback = std::function<void(const WrappedResult &result)>
Public Functions
-
virtual ~GenericClientGoalHandle()
-
rclcpp::Time get_goal_stamp() const
Get the time when the goal was accepted.
-
int8_t get_status()
Get the goal status code.
-
bool is_feedback_aware()
Check if an action client has subscribed to feedback for the goal.
-
bool is_result_aware()
Check if an action client has requested the result for the goal.
-
struct WrappedResult
Public Members
-
ResultCode code
A status to indicate if the goal was canceled, aborted, or succeeded.
-
const void *result
User defined fields sent back with an action.
-
std::shared_ptr<void> result_response
hold shared pointer for result response message.
-
ResultCode code
-
enum class ResultCode : int8_t