rclcpp_action
master
C++ ROS Action Client Library
|
Go to the documentation of this file.
15 #ifndef RCLCPP_ACTION__TYPES_HPP_
16 #define RCLCPP_ACTION__TYPES_HPP_
18 #include <rcl_action/types.h>
20 #include <action_msgs/msg/goal_status.hpp>
21 #include <action_msgs/msg/goal_info.hpp>
73 for (
size_t i = 0; i < uuid.size(); ++i) {
74 for (
size_t b = 0; b <
sizeof(
size_t); ++b) {
75 size_t part = uuid[i];
76 part <<= CHAR_BIT * b;
84 #endif // RCLCPP_ACTION__TYPES_HPP_
RCLCPP_ACTION_PUBLIC std::string to_string(const GoalUUID &goal_id)
Convert a goal id to a human readable string.
std::array< uint8_t, UUID_SIZE > GoalUUID
Definition: types.hpp:32
Definition: client.hpp:46
size_t operator()(const rclcpp_action::GoalUUID &uuid) const noexcept
Definition: types.hpp:69
action_msgs::msg::GoalStatus GoalStatus
Definition: types.hpp:33
bool operator()(const rclcpp_action::GoalUUID &lhs, const rclcpp_action::GoalUUID &rhs) const
Definition: types.hpp:57
action_msgs::msg::GoalInfo GoalInfo
Definition: types.hpp:34
RCLCPP_ACTION_PUBLIC void convert(const GoalUUID &goal_id, rcl_action_goal_info_t *info)
#define RCLCPP_ACTION_PUBLIC
Definition: visibility_control.hpp:50