Class PlayerActionClient
Defined in File player_action_client.hpp
Class Documentation
-
class PlayerActionClient
Public Types
-
enum class ServiceInterfaceInAction
Values:
-
enumerator SEND_GOAL_SERVICE
-
enumerator CANCEL_GOAL_SERVICE
-
enumerator GET_RESULT_SERVICE
-
enumerator SEND_GOAL_SERVICE
-
enum class ServiceEventType
Values:
-
enumerator REQUEST_SENT
-
enumerator REQUEST_RECEIVED
-
enumerator RESPONSE_SENT
-
enumerator RESPONSE_RECEIVED
-
enumerator REQUEST_SENT
-
using GoalID = rclcpp_action::GoalUUID
-
using IntrospectionMessageMembersPtr = const rosidl_typesupport_introspection_cpp::MessageMembers*
Public Functions
-
~PlayerActionClient()
-
const std::string &get_action_name()
-
std::shared_ptr<uint8_t[]> deserialize_send_goal_service_event(const rcl_serialized_message_t &message)
Deserialize message to the type erased send goal service event.
- Parameters:
message – - Serialized message
- Returns:
Shared pointer to the byte array with deserialized service event if success, otherwise nullptr
-
std::shared_ptr<uint8_t[]> deserialize_cancel_goal_service_event(const rcl_serialized_message_t &message)
Deserialize message to the type erased cancel goal service event.
- Parameters:
message – - Serialized message
- Returns:
Shared pointer to the byte array with deserialized service event if success, otherwise nullptr
-
std::shared_ptr<uint8_t[]> deserialize_get_result_service_event(const rcl_serialized_message_t &message)
Deserialize message to the type erased get result service event.
- Parameters:
message – - Serialized message
- Returns:
Shared pointer to the byte array with deserialized service event if success, otherwise nullptr
Extract the request data from the send_goal event message and asynchronously.
Extract the request data from the cancel_goal event message and asynchronously.
Extract the request data from the get_result event message and asynchronously.
-
inline rclcpp_action::GenericClient::SharedPtr generic_client()
-
enum class ServiceInterfaceInAction