克隆后还缺仿真安装树和两边的编译目录。把 build、build_sim、install_sim 一并放进仓库;仿真入口不再写死本机 conda,build 里指向源码的链接改成相对路径。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
arm_dev
2026-10-15 11:07:04 +08:00
parent 926a7f9796
commit 80983954a4
5804 changed files with 2640781 additions and 3 deletions
@@ -0,0 +1,12 @@
// generated from rosidl_generator_c/resource/idl.h.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__COMPLIANT_DESCENT_H_
#define ARM_MSGS__ACTION__COMPLIANT_DESCENT_H_
#include "arm_msgs/action/detail/compliant_descent__struct.h"
#include "arm_msgs/action/detail/compliant_descent__functions.h"
#include "arm_msgs/action/detail/compliant_descent__type_support.h"
#endif // ARM_MSGS__ACTION__COMPLIANT_DESCENT_H_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_cpp/resource/idl.hpp.em
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__COMPLIANT_DESCENT_HPP_
#define ARM_MSGS__ACTION__COMPLIANT_DESCENT_HPP_
#include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#include "arm_msgs/action/detail/compliant_descent__builder.hpp"
#include "arm_msgs/action/detail/compliant_descent__traits.hpp"
#include "arm_msgs/action/detail/compliant_descent__type_support.hpp"
#endif // ARM_MSGS__ACTION__COMPLIANT_DESCENT_HPP_
@@ -0,0 +1,718 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__BUILDER_HPP_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_Goal_timeout_sec
{
public:
explicit Init_CompliantDescent_Goal_timeout_sec(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_Goal timeout_sec(::arm_msgs::action::CompliantDescent_Goal::_timeout_sec_type arg)
{
msg_.timeout_sec = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_settle_sec
{
public:
explicit Init_CompliantDescent_Goal_settle_sec(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_timeout_sec settle_sec(::arm_msgs::action::CompliantDescent_Goal::_settle_sec_type arg)
{
msg_.settle_sec = std::move(arg);
return Init_CompliantDescent_Goal_timeout_sec(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_max_descent_m
{
public:
explicit Init_CompliantDescent_Goal_max_descent_m(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_settle_sec max_descent_m(::arm_msgs::action::CompliantDescent_Goal::_max_descent_m_type arg)
{
msg_.max_descent_m = std::move(arg);
return Init_CompliantDescent_Goal_settle_sec(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_descent_speed_mps
{
public:
explicit Init_CompliantDescent_Goal_descent_speed_mps(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_max_descent_m descent_speed_mps(::arm_msgs::action::CompliantDescent_Goal::_descent_speed_mps_type arg)
{
msg_.descent_speed_mps = std::move(arg);
return Init_CompliantDescent_Goal_max_descent_m(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_descent_step_m
{
public:
explicit Init_CompliantDescent_Goal_descent_step_m(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_descent_speed_mps descent_step_m(::arm_msgs::action::CompliantDescent_Goal::_descent_step_m_type arg)
{
msg_.descent_step_m = std::move(arg);
return Init_CompliantDescent_Goal_descent_speed_mps(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_side
{
public:
explicit Init_CompliantDescent_Goal_side(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_descent_step_m side(::arm_msgs::action::CompliantDescent_Goal::_side_type arg)
{
msg_.side = std::move(arg);
return Init_CompliantDescent_Goal_descent_step_m(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_max_normal_delta
{
public:
explicit Init_CompliantDescent_Goal_max_normal_delta(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_side max_normal_delta(::arm_msgs::action::CompliantDescent_Goal::_max_normal_delta_type arg)
{
msg_.max_normal_delta = std::move(arg);
return Init_CompliantDescent_Goal_side(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_contact_delta
{
public:
explicit Init_CompliantDescent_Goal_contact_delta(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_max_normal_delta contact_delta(::arm_msgs::action::CompliantDescent_Goal::_contact_delta_type arg)
{
msg_.contact_delta = std::move(arg);
return Init_CompliantDescent_Goal_max_normal_delta(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_contact_axis
{
public:
explicit Init_CompliantDescent_Goal_contact_axis(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_contact_delta contact_axis(::arm_msgs::action::CompliantDescent_Goal::_contact_axis_type arg)
{
msg_.contact_axis = std::move(arg);
return Init_CompliantDescent_Goal_contact_delta(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_target_y_m
{
public:
explicit Init_CompliantDescent_Goal_target_y_m(::arm_msgs::action::CompliantDescent_Goal & msg)
: msg_(msg)
{}
Init_CompliantDescent_Goal_contact_axis target_y_m(::arm_msgs::action::CompliantDescent_Goal::_target_y_m_type arg)
{
msg_.target_y_m = std::move(arg);
return Init_CompliantDescent_Goal_contact_axis(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
class Init_CompliantDescent_Goal_target_x_m
{
public:
Init_CompliantDescent_Goal_target_x_m()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_Goal_target_y_m target_x_m(::arm_msgs::action::CompliantDescent_Goal::_target_x_m_type arg)
{
msg_.target_x_m = std::move(arg);
return Init_CompliantDescent_Goal_target_y_m(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Goal msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_Goal>()
{
return arm_msgs::action::builder::Init_CompliantDescent_Goal_target_x_m();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_Result_normal_delta_observed
{
public:
explicit Init_CompliantDescent_Result_normal_delta_observed(::arm_msgs::action::CompliantDescent_Result & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_Result normal_delta_observed(::arm_msgs::action::CompliantDescent_Result::_normal_delta_observed_type arg)
{
msg_.normal_delta_observed = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Result msg_;
};
class Init_CompliantDescent_Result_contact_delta_observed
{
public:
explicit Init_CompliantDescent_Result_contact_delta_observed(::arm_msgs::action::CompliantDescent_Result & msg)
: msg_(msg)
{}
Init_CompliantDescent_Result_normal_delta_observed contact_delta_observed(::arm_msgs::action::CompliantDescent_Result::_contact_delta_observed_type arg)
{
msg_.contact_delta_observed = std::move(arg);
return Init_CompliantDescent_Result_normal_delta_observed(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Result msg_;
};
class Init_CompliantDescent_Result_descended_m
{
public:
explicit Init_CompliantDescent_Result_descended_m(::arm_msgs::action::CompliantDescent_Result & msg)
: msg_(msg)
{}
Init_CompliantDescent_Result_contact_delta_observed descended_m(::arm_msgs::action::CompliantDescent_Result::_descended_m_type arg)
{
msg_.descended_m = std::move(arg);
return Init_CompliantDescent_Result_contact_delta_observed(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Result msg_;
};
class Init_CompliantDescent_Result_contact_pose
{
public:
explicit Init_CompliantDescent_Result_contact_pose(::arm_msgs::action::CompliantDescent_Result & msg)
: msg_(msg)
{}
Init_CompliantDescent_Result_descended_m contact_pose(::arm_msgs::action::CompliantDescent_Result::_contact_pose_type arg)
{
msg_.contact_pose = std::move(arg);
return Init_CompliantDescent_Result_descended_m(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Result msg_;
};
class Init_CompliantDescent_Result_message
{
public:
explicit Init_CompliantDescent_Result_message(::arm_msgs::action::CompliantDescent_Result & msg)
: msg_(msg)
{}
Init_CompliantDescent_Result_contact_pose message(::arm_msgs::action::CompliantDescent_Result::_message_type arg)
{
msg_.message = std::move(arg);
return Init_CompliantDescent_Result_contact_pose(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Result msg_;
};
class Init_CompliantDescent_Result_success
{
public:
Init_CompliantDescent_Result_success()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_Result_message success(::arm_msgs::action::CompliantDescent_Result::_success_type arg)
{
msg_.success = std::move(arg);
return Init_CompliantDescent_Result_message(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Result msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_Result>()
{
return arm_msgs::action::builder::Init_CompliantDescent_Result_success();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_Feedback_status
{
public:
explicit Init_CompliantDescent_Feedback_status(::arm_msgs::action::CompliantDescent_Feedback & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_Feedback status(::arm_msgs::action::CompliantDescent_Feedback::_status_type arg)
{
msg_.status = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Feedback msg_;
};
class Init_CompliantDescent_Feedback_normal_delta
{
public:
explicit Init_CompliantDescent_Feedback_normal_delta(::arm_msgs::action::CompliantDescent_Feedback & msg)
: msg_(msg)
{}
Init_CompliantDescent_Feedback_status normal_delta(::arm_msgs::action::CompliantDescent_Feedback::_normal_delta_type arg)
{
msg_.normal_delta = std::move(arg);
return Init_CompliantDescent_Feedback_status(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Feedback msg_;
};
class Init_CompliantDescent_Feedback_tangential_delta
{
public:
explicit Init_CompliantDescent_Feedback_tangential_delta(::arm_msgs::action::CompliantDescent_Feedback & msg)
: msg_(msg)
{}
Init_CompliantDescent_Feedback_normal_delta tangential_delta(::arm_msgs::action::CompliantDescent_Feedback::_tangential_delta_type arg)
{
msg_.tangential_delta = std::move(arg);
return Init_CompliantDescent_Feedback_normal_delta(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Feedback msg_;
};
class Init_CompliantDescent_Feedback_descended_m
{
public:
explicit Init_CompliantDescent_Feedback_descended_m(::arm_msgs::action::CompliantDescent_Feedback & msg)
: msg_(msg)
{}
Init_CompliantDescent_Feedback_tangential_delta descended_m(::arm_msgs::action::CompliantDescent_Feedback::_descended_m_type arg)
{
msg_.descended_m = std::move(arg);
return Init_CompliantDescent_Feedback_tangential_delta(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Feedback msg_;
};
class Init_CompliantDescent_Feedback_progress
{
public:
Init_CompliantDescent_Feedback_progress()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_Feedback_descended_m progress(::arm_msgs::action::CompliantDescent_Feedback::_progress_type arg)
{
msg_.progress = std::move(arg);
return Init_CompliantDescent_Feedback_descended_m(msg_);
}
private:
::arm_msgs::action::CompliantDescent_Feedback msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_Feedback>()
{
return arm_msgs::action::builder::Init_CompliantDescent_Feedback_progress();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_SendGoal_Request_goal
{
public:
explicit Init_CompliantDescent_SendGoal_Request_goal(::arm_msgs::action::CompliantDescent_SendGoal_Request & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_SendGoal_Request goal(::arm_msgs::action::CompliantDescent_SendGoal_Request::_goal_type arg)
{
msg_.goal = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_SendGoal_Request msg_;
};
class Init_CompliantDescent_SendGoal_Request_goal_id
{
public:
Init_CompliantDescent_SendGoal_Request_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_SendGoal_Request_goal goal_id(::arm_msgs::action::CompliantDescent_SendGoal_Request::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return Init_CompliantDescent_SendGoal_Request_goal(msg_);
}
private:
::arm_msgs::action::CompliantDescent_SendGoal_Request msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_SendGoal_Request>()
{
return arm_msgs::action::builder::Init_CompliantDescent_SendGoal_Request_goal_id();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_SendGoal_Response_stamp
{
public:
explicit Init_CompliantDescent_SendGoal_Response_stamp(::arm_msgs::action::CompliantDescent_SendGoal_Response & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_SendGoal_Response stamp(::arm_msgs::action::CompliantDescent_SendGoal_Response::_stamp_type arg)
{
msg_.stamp = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_SendGoal_Response msg_;
};
class Init_CompliantDescent_SendGoal_Response_accepted
{
public:
Init_CompliantDescent_SendGoal_Response_accepted()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_SendGoal_Response_stamp accepted(::arm_msgs::action::CompliantDescent_SendGoal_Response::_accepted_type arg)
{
msg_.accepted = std::move(arg);
return Init_CompliantDescent_SendGoal_Response_stamp(msg_);
}
private:
::arm_msgs::action::CompliantDescent_SendGoal_Response msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_SendGoal_Response>()
{
return arm_msgs::action::builder::Init_CompliantDescent_SendGoal_Response_accepted();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_GetResult_Request_goal_id
{
public:
Init_CompliantDescent_GetResult_Request_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
::arm_msgs::action::CompliantDescent_GetResult_Request goal_id(::arm_msgs::action::CompliantDescent_GetResult_Request::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_GetResult_Request msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_GetResult_Request>()
{
return arm_msgs::action::builder::Init_CompliantDescent_GetResult_Request_goal_id();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_GetResult_Response_result
{
public:
explicit Init_CompliantDescent_GetResult_Response_result(::arm_msgs::action::CompliantDescent_GetResult_Response & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_GetResult_Response result(::arm_msgs::action::CompliantDescent_GetResult_Response::_result_type arg)
{
msg_.result = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_GetResult_Response msg_;
};
class Init_CompliantDescent_GetResult_Response_status
{
public:
Init_CompliantDescent_GetResult_Response_status()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_GetResult_Response_result status(::arm_msgs::action::CompliantDescent_GetResult_Response::_status_type arg)
{
msg_.status = std::move(arg);
return Init_CompliantDescent_GetResult_Response_result(msg_);
}
private:
::arm_msgs::action::CompliantDescent_GetResult_Response msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_GetResult_Response>()
{
return arm_msgs::action::builder::Init_CompliantDescent_GetResult_Response_status();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_CompliantDescent_FeedbackMessage_feedback
{
public:
explicit Init_CompliantDescent_FeedbackMessage_feedback(::arm_msgs::action::CompliantDescent_FeedbackMessage & msg)
: msg_(msg)
{}
::arm_msgs::action::CompliantDescent_FeedbackMessage feedback(::arm_msgs::action::CompliantDescent_FeedbackMessage::_feedback_type arg)
{
msg_.feedback = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::CompliantDescent_FeedbackMessage msg_;
};
class Init_CompliantDescent_FeedbackMessage_goal_id
{
public:
Init_CompliantDescent_FeedbackMessage_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_CompliantDescent_FeedbackMessage_feedback goal_id(::arm_msgs::action::CompliantDescent_FeedbackMessage::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return Init_CompliantDescent_FeedbackMessage_feedback(msg_);
}
private:
::arm_msgs::action::CompliantDescent_FeedbackMessage msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::CompliantDescent_FeedbackMessage>()
{
return arm_msgs::action::builder::Init_CompliantDescent_FeedbackMessage_goal_id();
}
} // namespace arm_msgs
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__BUILDER_HPP_
@@ -0,0 +1,307 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_Goal(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_Goal(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_Result(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_Result(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_Feedback(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_Feedback(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_SendGoal_Request(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_SendGoal_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_SendGoal_Response(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_SendGoal_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_GetResult_Request(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_GetResult_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_GetResult_Response(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_GetResult_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__CompliantDescent_FeedbackMessage(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__CompliantDescent_FeedbackMessage(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, CompliantDescent_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,656 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_Goal & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_Goal & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_Goal & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_Goal(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_Result & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_Result & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_Result & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_Result(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_Feedback & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_Feedback & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_Feedback & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_Feedback(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_SendGoal_Request & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_SendGoal_Request & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_SendGoal_Request & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_SendGoal_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_SendGoal_Response & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_SendGoal_Response & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_SendGoal_Response & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_SendGoal_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rmw/types.h"
#include "rosidl_typesupport_cpp/service_type_support.hpp"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_GetResult_Request & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_GetResult_Request & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_GetResult_Request & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_GetResult_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_GetResult_Response & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_GetResult_Response & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_GetResult_Response & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_GetResult_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rmw/types.h"
// already included above
// #include "rosidl_typesupport_cpp/service_type_support.hpp"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::CompliantDescent_FeedbackMessage & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::CompliantDescent_FeedbackMessage & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::CompliantDescent_FeedbackMessage & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_CompliantDescent_FeedbackMessage(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, CompliantDescent_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,124 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_Goal)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_Result)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_Feedback)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_SendGoal_Request)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_SendGoal_Response)();
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_SendGoal)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_GetResult_Request)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_GetResult_Response)();
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_GetResult)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, CompliantDescent_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,213 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, CompliantDescent_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,265 @@
// NOLINT: This file starts with a BOM since it contain non-ASCII characters
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__STRUCT_H_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'side'
#include "rosidl_runtime_c/string.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_Goal
{
/// --- 目标与判据 ---
/// 目标法兰 X(基座系,m)。NaN = 保持当前 XY 不动
double target_x_m;
/// 目标法兰 Y(基座系,m)。NaN = 保持当前 XY 不动
double target_y_m;
/// 监测哪条切向通道:0 = 第一路切向,1 = 第二路切向
double contact_axis;
/// 接触判据:|切向力| 相对静止基线的增量(传感器原生单位)
double contact_delta;
/// 法向力安全上限(相对基线增量)。<=0 = 不检查
double max_normal_delta;
/// 用哪只手指的触觉:left | right(装配时是持规那只)
rosidl_runtime_c__String side;
/// --- 运动参数 ---
/// 每步下压量(m),建议 0.0002 ~ 0.0010
double descent_step_m;
/// 名义下压速度(m/s)。步进间隔 = step / speed
double descent_speed_mps;
/// 最多下压距离(m)。安全上限,到了判失败并停住
double max_descent_m;
/// 每步后等待稳定(s)。0 = 不等,靠触觉话题新鲜度
double settle_sec;
/// 总超时(s)。0 = 由 max_descent_m / descent_speed_mps 推算
double timeout_sec;
} arm_msgs__action__CompliantDescent_Goal;
// Struct for a sequence of arm_msgs__action__CompliantDescent_Goal.
typedef struct arm_msgs__action__CompliantDescent_Goal__Sequence
{
arm_msgs__action__CompliantDescent_Goal * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_Goal__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'message'
// already included above
// #include "rosidl_runtime_c/string.h"
// Member 'contact_pose'
#include "geometry_msgs/msg/detail/pose_stamped__struct.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_Result
{
/// true = 检测到接触且已停住
bool success;
/// 失败原因:超时 / 触觉断流 / 达到行程上限 / 法向力超限
rosidl_runtime_c__String message;
/// 接触瞬间的法兰位姿(基座系)
geometry_msgs__msg__PoseStamped contact_pose;
/// 实际下压距离(m)
double descended_m;
/// 触发瞬间的切向增量
double contact_delta_observed;
/// 触发瞬间的法向增量
double normal_delta_observed;
} arm_msgs__action__CompliantDescent_Result;
// Struct for a sequence of arm_msgs__action__CompliantDescent_Result.
typedef struct arm_msgs__action__CompliantDescent_Result__Sequence
{
arm_msgs__action__CompliantDescent_Result * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_Result__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'status'
// already included above
// #include "rosidl_runtime_c/string.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_Feedback
{
/// 0.0 ~ 1.0(descended_m / max_descent_m)
double progress;
/// 当前已下压距离(m)
double descended_m;
/// 当前切向增量(相对基线)
double tangential_delta;
/// 当前法向增量(相对基线)
double normal_delta;
/// approaching | contacting | retracting | done | error
rosidl_runtime_c__String status;
} arm_msgs__action__CompliantDescent_Feedback;
// Struct for a sequence of arm_msgs__action__CompliantDescent_Feedback.
typedef struct arm_msgs__action__CompliantDescent_Feedback__Sequence
{
arm_msgs__action__CompliantDescent_Feedback * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_Feedback__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
#include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'goal'
#include "arm_msgs/action/detail/compliant_descent__struct.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_SendGoal_Request
{
unique_identifier_msgs__msg__UUID goal_id;
arm_msgs__action__CompliantDescent_Goal goal;
} arm_msgs__action__CompliantDescent_SendGoal_Request;
// Struct for a sequence of arm_msgs__action__CompliantDescent_SendGoal_Request.
typedef struct arm_msgs__action__CompliantDescent_SendGoal_Request__Sequence
{
arm_msgs__action__CompliantDescent_SendGoal_Request * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_SendGoal_Request__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'stamp'
#include "builtin_interfaces/msg/detail/time__struct.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_SendGoal_Response
{
bool accepted;
builtin_interfaces__msg__Time stamp;
} arm_msgs__action__CompliantDescent_SendGoal_Response;
// Struct for a sequence of arm_msgs__action__CompliantDescent_SendGoal_Response.
typedef struct arm_msgs__action__CompliantDescent_SendGoal_Response__Sequence
{
arm_msgs__action__CompliantDescent_SendGoal_Response * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_SendGoal_Response__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_GetResult_Request
{
unique_identifier_msgs__msg__UUID goal_id;
} arm_msgs__action__CompliantDescent_GetResult_Request;
// Struct for a sequence of arm_msgs__action__CompliantDescent_GetResult_Request.
typedef struct arm_msgs__action__CompliantDescent_GetResult_Request__Sequence
{
arm_msgs__action__CompliantDescent_GetResult_Request * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_GetResult_Request__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'result'
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_GetResult_Response
{
int8_t status;
arm_msgs__action__CompliantDescent_Result result;
} arm_msgs__action__CompliantDescent_GetResult_Response;
// Struct for a sequence of arm_msgs__action__CompliantDescent_GetResult_Response.
typedef struct arm_msgs__action__CompliantDescent_GetResult_Response__Sequence
{
arm_msgs__action__CompliantDescent_GetResult_Response * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_GetResult_Response__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'feedback'
// already included above
// #include "arm_msgs/action/detail/compliant_descent__struct.h"
/// Struct defined in action/CompliantDescent in the package arm_msgs.
typedef struct arm_msgs__action__CompliantDescent_FeedbackMessage
{
unique_identifier_msgs__msg__UUID goal_id;
arm_msgs__action__CompliantDescent_Feedback feedback;
} arm_msgs__action__CompliantDescent_FeedbackMessage;
// Struct for a sequence of arm_msgs__action__CompliantDescent_FeedbackMessage.
typedef struct arm_msgs__action__CompliantDescent_FeedbackMessage__Sequence
{
arm_msgs__action__CompliantDescent_FeedbackMessage * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__CompliantDescent_FeedbackMessage__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__STRUCT_H_
@@ -0,0 +1,161 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__TYPE_SUPPORT_H_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__TYPE_SUPPORT_H_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/action_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_action_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent
)();
#include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_Goal
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_Result
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_Feedback
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_SendGoal_Request
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_SendGoal_Response
)();
#include "rosidl_runtime_c/service_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_SendGoal
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_GetResult_Request
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_GetResult_Response
)();
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_GetResult
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
CompliantDescent_FeedbackMessage
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__TYPE_SUPPORT_H_
@@ -0,0 +1,231 @@
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
// with input from arm_msgs:action/CompliantDescent.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__TYPE_SUPPORT_HPP_
#define ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__TYPE_SUPPORT_HPP_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_cpp__visibility_control.hpp"
#include "rosidl_typesupport_cpp/action_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_action_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent
)();
#ifdef __cplusplus
}
#endif
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_Goal
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_Result
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_Feedback
)();
#ifdef __cplusplus
}
#endif
#include "rosidl_typesupport_cpp/service_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_SendGoal
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_SendGoal_Request
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_SendGoal_Response
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/service_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_GetResult
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_GetResult_Request
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_GetResult_Response
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
CompliantDescent_FeedbackMessage
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__COMPLIANT_DESCENT__TYPE_SUPPORT_HPP_
@@ -0,0 +1,542 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__BUILDER_HPP_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_Goal_velocity_scale
{
public:
explicit Init_FollowJointTrajectory_Goal_velocity_scale(::arm_msgs::action::FollowJointTrajectory_Goal & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_Goal velocity_scale(::arm_msgs::action::FollowJointTrajectory_Goal::_velocity_scale_type arg)
{
msg_.velocity_scale = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Goal msg_;
};
class Init_FollowJointTrajectory_Goal_time_from_start
{
public:
explicit Init_FollowJointTrajectory_Goal_time_from_start(::arm_msgs::action::FollowJointTrajectory_Goal & msg)
: msg_(msg)
{}
Init_FollowJointTrajectory_Goal_velocity_scale time_from_start(::arm_msgs::action::FollowJointTrajectory_Goal::_time_from_start_type arg)
{
msg_.time_from_start = std::move(arg);
return Init_FollowJointTrajectory_Goal_velocity_scale(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Goal msg_;
};
class Init_FollowJointTrajectory_Goal_num_points
{
public:
explicit Init_FollowJointTrajectory_Goal_num_points(::arm_msgs::action::FollowJointTrajectory_Goal & msg)
: msg_(msg)
{}
Init_FollowJointTrajectory_Goal_time_from_start num_points(::arm_msgs::action::FollowJointTrajectory_Goal::_num_points_type arg)
{
msg_.num_points = std::move(arg);
return Init_FollowJointTrajectory_Goal_time_from_start(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Goal msg_;
};
class Init_FollowJointTrajectory_Goal_positions
{
public:
explicit Init_FollowJointTrajectory_Goal_positions(::arm_msgs::action::FollowJointTrajectory_Goal & msg)
: msg_(msg)
{}
Init_FollowJointTrajectory_Goal_num_points positions(::arm_msgs::action::FollowJointTrajectory_Goal::_positions_type arg)
{
msg_.positions = std::move(arg);
return Init_FollowJointTrajectory_Goal_num_points(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Goal msg_;
};
class Init_FollowJointTrajectory_Goal_joint_names
{
public:
Init_FollowJointTrajectory_Goal_joint_names()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_Goal_positions joint_names(::arm_msgs::action::FollowJointTrajectory_Goal::_joint_names_type arg)
{
msg_.joint_names = std::move(arg);
return Init_FollowJointTrajectory_Goal_positions(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Goal msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_Goal>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_Goal_joint_names();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_Result_final_positions
{
public:
explicit Init_FollowJointTrajectory_Result_final_positions(::arm_msgs::action::FollowJointTrajectory_Result & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_Result final_positions(::arm_msgs::action::FollowJointTrajectory_Result::_final_positions_type arg)
{
msg_.final_positions = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Result msg_;
};
class Init_FollowJointTrajectory_Result_message
{
public:
explicit Init_FollowJointTrajectory_Result_message(::arm_msgs::action::FollowJointTrajectory_Result & msg)
: msg_(msg)
{}
Init_FollowJointTrajectory_Result_final_positions message(::arm_msgs::action::FollowJointTrajectory_Result::_message_type arg)
{
msg_.message = std::move(arg);
return Init_FollowJointTrajectory_Result_final_positions(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Result msg_;
};
class Init_FollowJointTrajectory_Result_success
{
public:
Init_FollowJointTrajectory_Result_success()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_Result_message success(::arm_msgs::action::FollowJointTrajectory_Result::_success_type arg)
{
msg_.success = std::move(arg);
return Init_FollowJointTrajectory_Result_message(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Result msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_Result>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_Result_success();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_Feedback_status
{
public:
explicit Init_FollowJointTrajectory_Feedback_status(::arm_msgs::action::FollowJointTrajectory_Feedback & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_Feedback status(::arm_msgs::action::FollowJointTrajectory_Feedback::_status_type arg)
{
msg_.status = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Feedback msg_;
};
class Init_FollowJointTrajectory_Feedback_progress
{
public:
explicit Init_FollowJointTrajectory_Feedback_progress(::arm_msgs::action::FollowJointTrajectory_Feedback & msg)
: msg_(msg)
{}
Init_FollowJointTrajectory_Feedback_status progress(::arm_msgs::action::FollowJointTrajectory_Feedback::_progress_type arg)
{
msg_.progress = std::move(arg);
return Init_FollowJointTrajectory_Feedback_status(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Feedback msg_;
};
class Init_FollowJointTrajectory_Feedback_current_point
{
public:
Init_FollowJointTrajectory_Feedback_current_point()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_Feedback_progress current_point(::arm_msgs::action::FollowJointTrajectory_Feedback::_current_point_type arg)
{
msg_.current_point = std::move(arg);
return Init_FollowJointTrajectory_Feedback_progress(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_Feedback msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_Feedback>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_Feedback_current_point();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_SendGoal_Request_goal
{
public:
explicit Init_FollowJointTrajectory_SendGoal_Request_goal(::arm_msgs::action::FollowJointTrajectory_SendGoal_Request & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_SendGoal_Request goal(::arm_msgs::action::FollowJointTrajectory_SendGoal_Request::_goal_type arg)
{
msg_.goal = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_SendGoal_Request msg_;
};
class Init_FollowJointTrajectory_SendGoal_Request_goal_id
{
public:
Init_FollowJointTrajectory_SendGoal_Request_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_SendGoal_Request_goal goal_id(::arm_msgs::action::FollowJointTrajectory_SendGoal_Request::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return Init_FollowJointTrajectory_SendGoal_Request_goal(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_SendGoal_Request msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_SendGoal_Request>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_SendGoal_Request_goal_id();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_SendGoal_Response_stamp
{
public:
explicit Init_FollowJointTrajectory_SendGoal_Response_stamp(::arm_msgs::action::FollowJointTrajectory_SendGoal_Response & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_SendGoal_Response stamp(::arm_msgs::action::FollowJointTrajectory_SendGoal_Response::_stamp_type arg)
{
msg_.stamp = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_SendGoal_Response msg_;
};
class Init_FollowJointTrajectory_SendGoal_Response_accepted
{
public:
Init_FollowJointTrajectory_SendGoal_Response_accepted()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_SendGoal_Response_stamp accepted(::arm_msgs::action::FollowJointTrajectory_SendGoal_Response::_accepted_type arg)
{
msg_.accepted = std::move(arg);
return Init_FollowJointTrajectory_SendGoal_Response_stamp(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_SendGoal_Response msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_SendGoal_Response>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_SendGoal_Response_accepted();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_GetResult_Request_goal_id
{
public:
Init_FollowJointTrajectory_GetResult_Request_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
::arm_msgs::action::FollowJointTrajectory_GetResult_Request goal_id(::arm_msgs::action::FollowJointTrajectory_GetResult_Request::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_GetResult_Request msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_GetResult_Request>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_GetResult_Request_goal_id();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_GetResult_Response_result
{
public:
explicit Init_FollowJointTrajectory_GetResult_Response_result(::arm_msgs::action::FollowJointTrajectory_GetResult_Response & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_GetResult_Response result(::arm_msgs::action::FollowJointTrajectory_GetResult_Response::_result_type arg)
{
msg_.result = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_GetResult_Response msg_;
};
class Init_FollowJointTrajectory_GetResult_Response_status
{
public:
Init_FollowJointTrajectory_GetResult_Response_status()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_GetResult_Response_result status(::arm_msgs::action::FollowJointTrajectory_GetResult_Response::_status_type arg)
{
msg_.status = std::move(arg);
return Init_FollowJointTrajectory_GetResult_Response_result(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_GetResult_Response msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_GetResult_Response>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_GetResult_Response_status();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_FollowJointTrajectory_FeedbackMessage_feedback
{
public:
explicit Init_FollowJointTrajectory_FeedbackMessage_feedback(::arm_msgs::action::FollowJointTrajectory_FeedbackMessage & msg)
: msg_(msg)
{}
::arm_msgs::action::FollowJointTrajectory_FeedbackMessage feedback(::arm_msgs::action::FollowJointTrajectory_FeedbackMessage::_feedback_type arg)
{
msg_.feedback = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_FeedbackMessage msg_;
};
class Init_FollowJointTrajectory_FeedbackMessage_goal_id
{
public:
Init_FollowJointTrajectory_FeedbackMessage_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_FollowJointTrajectory_FeedbackMessage_feedback goal_id(::arm_msgs::action::FollowJointTrajectory_FeedbackMessage::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return Init_FollowJointTrajectory_FeedbackMessage_feedback(msg_);
}
private:
::arm_msgs::action::FollowJointTrajectory_FeedbackMessage msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::FollowJointTrajectory_FeedbackMessage>()
{
return arm_msgs::action::builder::Init_FollowJointTrajectory_FeedbackMessage_goal_id();
}
} // namespace arm_msgs
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__BUILDER_HPP_
@@ -0,0 +1,307 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_Goal(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_Goal(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_Result(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_Result(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_Feedback(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_Feedback(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_SendGoal_Request(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_SendGoal_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_SendGoal_Response(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_SendGoal_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_GetResult_Request(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_GetResult_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_GetResult_Response(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_GetResult_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__FollowJointTrajectory_FeedbackMessage(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__FollowJointTrajectory_FeedbackMessage(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, FollowJointTrajectory_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,656 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_Goal & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_Goal & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_Goal & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_Goal(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_Result & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_Result & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_Result & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_Result(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_Feedback & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_Feedback & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_Feedback & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_Feedback(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_SendGoal_Request & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_SendGoal_Request & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_SendGoal_Request & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_SendGoal_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_SendGoal_Response & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_SendGoal_Response & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_SendGoal_Response & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_SendGoal_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rmw/types.h"
#include "rosidl_typesupport_cpp/service_type_support.hpp"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_GetResult_Request & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_GetResult_Request & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_GetResult_Request & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_GetResult_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_GetResult_Response & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_GetResult_Response & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_GetResult_Response & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_GetResult_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rmw/types.h"
// already included above
// #include "rosidl_typesupport_cpp/service_type_support.hpp"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::FollowJointTrajectory_FeedbackMessage & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::FollowJointTrajectory_FeedbackMessage & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::FollowJointTrajectory_FeedbackMessage & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_FollowJointTrajectory_FeedbackMessage(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, FollowJointTrajectory_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,124 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_Goal)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_Result)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_Feedback)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_SendGoal_Request)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_SendGoal_Response)();
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_SendGoal)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_GetResult_Request)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_GetResult_Response)();
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_GetResult)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, FollowJointTrajectory_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,213 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, FollowJointTrajectory_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,235 @@
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__STRUCT_H_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'joint_names'
#include "rosidl_runtime_c/string.h"
// Member 'positions'
// Member 'time_from_start'
#include "rosidl_runtime_c/primitives_sequence.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_Goal
{
rosidl_runtime_c__String__Sequence joint_names;
/// flattened: num_points * num_joints
rosidl_runtime_c__double__Sequence positions;
uint32_t num_points;
/// length = num_points, seconds
rosidl_runtime_c__double__Sequence time_from_start;
double velocity_scale;
} arm_msgs__action__FollowJointTrajectory_Goal;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_Goal.
typedef struct arm_msgs__action__FollowJointTrajectory_Goal__Sequence
{
arm_msgs__action__FollowJointTrajectory_Goal * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_Goal__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'message'
// already included above
// #include "rosidl_runtime_c/string.h"
// Member 'final_positions'
// already included above
// #include "rosidl_runtime_c/primitives_sequence.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_Result
{
bool success;
rosidl_runtime_c__String message;
rosidl_runtime_c__double__Sequence final_positions;
} arm_msgs__action__FollowJointTrajectory_Result;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_Result.
typedef struct arm_msgs__action__FollowJointTrajectory_Result__Sequence
{
arm_msgs__action__FollowJointTrajectory_Result * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_Result__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'status'
// already included above
// #include "rosidl_runtime_c/string.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_Feedback
{
uint32_t current_point;
double progress;
rosidl_runtime_c__String status;
} arm_msgs__action__FollowJointTrajectory_Feedback;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_Feedback.
typedef struct arm_msgs__action__FollowJointTrajectory_Feedback__Sequence
{
arm_msgs__action__FollowJointTrajectory_Feedback * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_Feedback__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
#include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'goal'
#include "arm_msgs/action/detail/follow_joint_trajectory__struct.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_SendGoal_Request
{
unique_identifier_msgs__msg__UUID goal_id;
arm_msgs__action__FollowJointTrajectory_Goal goal;
} arm_msgs__action__FollowJointTrajectory_SendGoal_Request;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_SendGoal_Request.
typedef struct arm_msgs__action__FollowJointTrajectory_SendGoal_Request__Sequence
{
arm_msgs__action__FollowJointTrajectory_SendGoal_Request * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_SendGoal_Request__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'stamp'
#include "builtin_interfaces/msg/detail/time__struct.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_SendGoal_Response
{
bool accepted;
builtin_interfaces__msg__Time stamp;
} arm_msgs__action__FollowJointTrajectory_SendGoal_Response;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_SendGoal_Response.
typedef struct arm_msgs__action__FollowJointTrajectory_SendGoal_Response__Sequence
{
arm_msgs__action__FollowJointTrajectory_SendGoal_Response * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_SendGoal_Response__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_GetResult_Request
{
unique_identifier_msgs__msg__UUID goal_id;
} arm_msgs__action__FollowJointTrajectory_GetResult_Request;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_GetResult_Request.
typedef struct arm_msgs__action__FollowJointTrajectory_GetResult_Request__Sequence
{
arm_msgs__action__FollowJointTrajectory_GetResult_Request * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_GetResult_Request__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'result'
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_GetResult_Response
{
int8_t status;
arm_msgs__action__FollowJointTrajectory_Result result;
} arm_msgs__action__FollowJointTrajectory_GetResult_Response;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_GetResult_Response.
typedef struct arm_msgs__action__FollowJointTrajectory_GetResult_Response__Sequence
{
arm_msgs__action__FollowJointTrajectory_GetResult_Response * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_GetResult_Response__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'feedback'
// already included above
// #include "arm_msgs/action/detail/follow_joint_trajectory__struct.h"
/// Struct defined in action/FollowJointTrajectory in the package arm_msgs.
typedef struct arm_msgs__action__FollowJointTrajectory_FeedbackMessage
{
unique_identifier_msgs__msg__UUID goal_id;
arm_msgs__action__FollowJointTrajectory_Feedback feedback;
} arm_msgs__action__FollowJointTrajectory_FeedbackMessage;
// Struct for a sequence of arm_msgs__action__FollowJointTrajectory_FeedbackMessage.
typedef struct arm_msgs__action__FollowJointTrajectory_FeedbackMessage__Sequence
{
arm_msgs__action__FollowJointTrajectory_FeedbackMessage * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__FollowJointTrajectory_FeedbackMessage__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__STRUCT_H_
@@ -0,0 +1,161 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__TYPE_SUPPORT_H_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__TYPE_SUPPORT_H_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/action_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_action_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory
)();
#include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_Goal
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_Result
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_Feedback
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_SendGoal_Request
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_SendGoal_Response
)();
#include "rosidl_runtime_c/service_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_SendGoal
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_GetResult_Request
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_GetResult_Response
)();
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_GetResult
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
FollowJointTrajectory_FeedbackMessage
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__TYPE_SUPPORT_H_
@@ -0,0 +1,231 @@
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__TYPE_SUPPORT_HPP_
#define ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__TYPE_SUPPORT_HPP_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_cpp__visibility_control.hpp"
#include "rosidl_typesupport_cpp/action_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_action_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory
)();
#ifdef __cplusplus
}
#endif
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_Goal
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_Result
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_Feedback
)();
#ifdef __cplusplus
}
#endif
#include "rosidl_typesupport_cpp/service_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_SendGoal
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_SendGoal_Request
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_SendGoal_Response
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/service_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_GetResult
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_GetResult_Request
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_GetResult_Response
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
FollowJointTrajectory_FeedbackMessage
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__FOLLOW_JOINT_TRAJECTORY__TYPE_SUPPORT_HPP_
@@ -0,0 +1,526 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__BUILDER_HPP_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_Goal_avoid_collisions
{
public:
explicit Init_MoveToPose_Goal_avoid_collisions(::arm_msgs::action::MoveToPose_Goal & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_Goal avoid_collisions(::arm_msgs::action::MoveToPose_Goal::_avoid_collisions_type arg)
{
msg_.avoid_collisions = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_Goal msg_;
};
class Init_MoveToPose_Goal_acceleration_scale
{
public:
explicit Init_MoveToPose_Goal_acceleration_scale(::arm_msgs::action::MoveToPose_Goal & msg)
: msg_(msg)
{}
Init_MoveToPose_Goal_avoid_collisions acceleration_scale(::arm_msgs::action::MoveToPose_Goal::_acceleration_scale_type arg)
{
msg_.acceleration_scale = std::move(arg);
return Init_MoveToPose_Goal_avoid_collisions(msg_);
}
private:
::arm_msgs::action::MoveToPose_Goal msg_;
};
class Init_MoveToPose_Goal_velocity_scale
{
public:
explicit Init_MoveToPose_Goal_velocity_scale(::arm_msgs::action::MoveToPose_Goal & msg)
: msg_(msg)
{}
Init_MoveToPose_Goal_acceleration_scale velocity_scale(::arm_msgs::action::MoveToPose_Goal::_velocity_scale_type arg)
{
msg_.velocity_scale = std::move(arg);
return Init_MoveToPose_Goal_acceleration_scale(msg_);
}
private:
::arm_msgs::action::MoveToPose_Goal msg_;
};
class Init_MoveToPose_Goal_target_pose
{
public:
Init_MoveToPose_Goal_target_pose()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_Goal_velocity_scale target_pose(::arm_msgs::action::MoveToPose_Goal::_target_pose_type arg)
{
msg_.target_pose = std::move(arg);
return Init_MoveToPose_Goal_velocity_scale(msg_);
}
private:
::arm_msgs::action::MoveToPose_Goal msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_Goal>()
{
return arm_msgs::action::builder::Init_MoveToPose_Goal_target_pose();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_Result_final_joint_positions
{
public:
explicit Init_MoveToPose_Result_final_joint_positions(::arm_msgs::action::MoveToPose_Result & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_Result final_joint_positions(::arm_msgs::action::MoveToPose_Result::_final_joint_positions_type arg)
{
msg_.final_joint_positions = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_Result msg_;
};
class Init_MoveToPose_Result_message
{
public:
explicit Init_MoveToPose_Result_message(::arm_msgs::action::MoveToPose_Result & msg)
: msg_(msg)
{}
Init_MoveToPose_Result_final_joint_positions message(::arm_msgs::action::MoveToPose_Result::_message_type arg)
{
msg_.message = std::move(arg);
return Init_MoveToPose_Result_final_joint_positions(msg_);
}
private:
::arm_msgs::action::MoveToPose_Result msg_;
};
class Init_MoveToPose_Result_success
{
public:
Init_MoveToPose_Result_success()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_Result_message success(::arm_msgs::action::MoveToPose_Result::_success_type arg)
{
msg_.success = std::move(arg);
return Init_MoveToPose_Result_message(msg_);
}
private:
::arm_msgs::action::MoveToPose_Result msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_Result>()
{
return arm_msgs::action::builder::Init_MoveToPose_Result_success();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_Feedback_status
{
public:
explicit Init_MoveToPose_Feedback_status(::arm_msgs::action::MoveToPose_Feedback & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_Feedback status(::arm_msgs::action::MoveToPose_Feedback::_status_type arg)
{
msg_.status = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_Feedback msg_;
};
class Init_MoveToPose_Feedback_progress
{
public:
explicit Init_MoveToPose_Feedback_progress(::arm_msgs::action::MoveToPose_Feedback & msg)
: msg_(msg)
{}
Init_MoveToPose_Feedback_status progress(::arm_msgs::action::MoveToPose_Feedback::_progress_type arg)
{
msg_.progress = std::move(arg);
return Init_MoveToPose_Feedback_status(msg_);
}
private:
::arm_msgs::action::MoveToPose_Feedback msg_;
};
class Init_MoveToPose_Feedback_current_pose
{
public:
Init_MoveToPose_Feedback_current_pose()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_Feedback_progress current_pose(::arm_msgs::action::MoveToPose_Feedback::_current_pose_type arg)
{
msg_.current_pose = std::move(arg);
return Init_MoveToPose_Feedback_progress(msg_);
}
private:
::arm_msgs::action::MoveToPose_Feedback msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_Feedback>()
{
return arm_msgs::action::builder::Init_MoveToPose_Feedback_current_pose();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_SendGoal_Request_goal
{
public:
explicit Init_MoveToPose_SendGoal_Request_goal(::arm_msgs::action::MoveToPose_SendGoal_Request & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_SendGoal_Request goal(::arm_msgs::action::MoveToPose_SendGoal_Request::_goal_type arg)
{
msg_.goal = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_SendGoal_Request msg_;
};
class Init_MoveToPose_SendGoal_Request_goal_id
{
public:
Init_MoveToPose_SendGoal_Request_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_SendGoal_Request_goal goal_id(::arm_msgs::action::MoveToPose_SendGoal_Request::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return Init_MoveToPose_SendGoal_Request_goal(msg_);
}
private:
::arm_msgs::action::MoveToPose_SendGoal_Request msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_SendGoal_Request>()
{
return arm_msgs::action::builder::Init_MoveToPose_SendGoal_Request_goal_id();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_SendGoal_Response_stamp
{
public:
explicit Init_MoveToPose_SendGoal_Response_stamp(::arm_msgs::action::MoveToPose_SendGoal_Response & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_SendGoal_Response stamp(::arm_msgs::action::MoveToPose_SendGoal_Response::_stamp_type arg)
{
msg_.stamp = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_SendGoal_Response msg_;
};
class Init_MoveToPose_SendGoal_Response_accepted
{
public:
Init_MoveToPose_SendGoal_Response_accepted()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_SendGoal_Response_stamp accepted(::arm_msgs::action::MoveToPose_SendGoal_Response::_accepted_type arg)
{
msg_.accepted = std::move(arg);
return Init_MoveToPose_SendGoal_Response_stamp(msg_);
}
private:
::arm_msgs::action::MoveToPose_SendGoal_Response msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_SendGoal_Response>()
{
return arm_msgs::action::builder::Init_MoveToPose_SendGoal_Response_accepted();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_GetResult_Request_goal_id
{
public:
Init_MoveToPose_GetResult_Request_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
::arm_msgs::action::MoveToPose_GetResult_Request goal_id(::arm_msgs::action::MoveToPose_GetResult_Request::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_GetResult_Request msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_GetResult_Request>()
{
return arm_msgs::action::builder::Init_MoveToPose_GetResult_Request_goal_id();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_GetResult_Response_result
{
public:
explicit Init_MoveToPose_GetResult_Response_result(::arm_msgs::action::MoveToPose_GetResult_Response & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_GetResult_Response result(::arm_msgs::action::MoveToPose_GetResult_Response::_result_type arg)
{
msg_.result = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_GetResult_Response msg_;
};
class Init_MoveToPose_GetResult_Response_status
{
public:
Init_MoveToPose_GetResult_Response_status()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_GetResult_Response_result status(::arm_msgs::action::MoveToPose_GetResult_Response::_status_type arg)
{
msg_.status = std::move(arg);
return Init_MoveToPose_GetResult_Response_result(msg_);
}
private:
::arm_msgs::action::MoveToPose_GetResult_Response msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_GetResult_Response>()
{
return arm_msgs::action::builder::Init_MoveToPose_GetResult_Response_status();
}
} // namespace arm_msgs
namespace arm_msgs
{
namespace action
{
namespace builder
{
class Init_MoveToPose_FeedbackMessage_feedback
{
public:
explicit Init_MoveToPose_FeedbackMessage_feedback(::arm_msgs::action::MoveToPose_FeedbackMessage & msg)
: msg_(msg)
{}
::arm_msgs::action::MoveToPose_FeedbackMessage feedback(::arm_msgs::action::MoveToPose_FeedbackMessage::_feedback_type arg)
{
msg_.feedback = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::action::MoveToPose_FeedbackMessage msg_;
};
class Init_MoveToPose_FeedbackMessage_goal_id
{
public:
Init_MoveToPose_FeedbackMessage_goal_id()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_MoveToPose_FeedbackMessage_feedback goal_id(::arm_msgs::action::MoveToPose_FeedbackMessage::_goal_id_type arg)
{
msg_.goal_id = std::move(arg);
return Init_MoveToPose_FeedbackMessage_feedback(msg_);
}
private:
::arm_msgs::action::MoveToPose_FeedbackMessage msg_;
};
} // namespace builder
} // namespace action
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::action::MoveToPose_FeedbackMessage>()
{
return arm_msgs::action::builder::Init_MoveToPose_FeedbackMessage_goal_id();
}
} // namespace arm_msgs
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__BUILDER_HPP_
@@ -0,0 +1,307 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_Goal(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_Goal(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_Result(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_Result(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_Feedback(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_Feedback(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_SendGoal_Request(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_SendGoal_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_SendGoal_Response(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_SendGoal_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_GetResult_Request(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_GetResult_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_GetResult_Response(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_GetResult_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include <stddef.h>
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__action__MoveToPose_FeedbackMessage(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__action__MoveToPose_FeedbackMessage(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, action, MoveToPose_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,656 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_Goal & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_Goal & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_Goal & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_Goal(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_Result & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_Result & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_Result & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_Result(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_Feedback & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_Feedback & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_Feedback & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_Feedback(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_SendGoal_Request & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_SendGoal_Request & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_SendGoal_Request & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_SendGoal_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_SendGoal_Response & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_SendGoal_Response & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_SendGoal_Response & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_SendGoal_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rmw/types.h"
#include "rosidl_typesupport_cpp/service_type_support.hpp"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_GetResult_Request & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_GetResult_Request & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_GetResult_Request & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_GetResult_Request(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_GetResult_Response & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_GetResult_Response & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_GetResult_Response & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_GetResult_Response(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rmw/types.h"
// already included above
// #include "rosidl_typesupport_cpp/service_type_support.hpp"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
// already included above
// #include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace action
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::action::MoveToPose_FeedbackMessage & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::action::MoveToPose_FeedbackMessage & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::action::MoveToPose_FeedbackMessage & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_MoveToPose_FeedbackMessage(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace action
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, action, MoveToPose_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,124 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_Goal)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_Result)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_Feedback)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_SendGoal_Request)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_SendGoal_Response)();
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_SendGoal)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_GetResult_Request)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_GetResult_Response)();
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_GetResult)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, action, MoveToPose_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,213 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_Goal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_Result)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_Feedback)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_SendGoal_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_SendGoal_Response)();
#ifdef __cplusplus
}
#endif
#include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_SendGoal)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_GetResult_Request)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_GetResult_Response)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_GetResult)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// already included above
// #include "rosidl_typesupport_interface/macros.h"
// already included above
// #include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, action, MoveToPose_FeedbackMessage)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,230 @@
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__STRUCT_H_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'target_pose'
#include "geometry_msgs/msg/detail/pose_stamped__struct.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_Goal
{
geometry_msgs__msg__PoseStamped target_pose;
double velocity_scale;
double acceleration_scale;
bool avoid_collisions;
} arm_msgs__action__MoveToPose_Goal;
// Struct for a sequence of arm_msgs__action__MoveToPose_Goal.
typedef struct arm_msgs__action__MoveToPose_Goal__Sequence
{
arm_msgs__action__MoveToPose_Goal * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_Goal__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'message'
#include "rosidl_runtime_c/string.h"
// Member 'final_joint_positions'
#include "rosidl_runtime_c/primitives_sequence.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_Result
{
bool success;
rosidl_runtime_c__String message;
rosidl_runtime_c__double__Sequence final_joint_positions;
} arm_msgs__action__MoveToPose_Result;
// Struct for a sequence of arm_msgs__action__MoveToPose_Result.
typedef struct arm_msgs__action__MoveToPose_Result__Sequence
{
arm_msgs__action__MoveToPose_Result * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_Result__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'current_pose'
// already included above
// #include "geometry_msgs/msg/detail/pose_stamped__struct.h"
// Member 'status'
// already included above
// #include "rosidl_runtime_c/string.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_Feedback
{
geometry_msgs__msg__PoseStamped current_pose;
double progress;
rosidl_runtime_c__String status;
} arm_msgs__action__MoveToPose_Feedback;
// Struct for a sequence of arm_msgs__action__MoveToPose_Feedback.
typedef struct arm_msgs__action__MoveToPose_Feedback__Sequence
{
arm_msgs__action__MoveToPose_Feedback * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_Feedback__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
#include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'goal'
#include "arm_msgs/action/detail/move_to_pose__struct.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_SendGoal_Request
{
unique_identifier_msgs__msg__UUID goal_id;
arm_msgs__action__MoveToPose_Goal goal;
} arm_msgs__action__MoveToPose_SendGoal_Request;
// Struct for a sequence of arm_msgs__action__MoveToPose_SendGoal_Request.
typedef struct arm_msgs__action__MoveToPose_SendGoal_Request__Sequence
{
arm_msgs__action__MoveToPose_SendGoal_Request * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_SendGoal_Request__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'stamp'
#include "builtin_interfaces/msg/detail/time__struct.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_SendGoal_Response
{
bool accepted;
builtin_interfaces__msg__Time stamp;
} arm_msgs__action__MoveToPose_SendGoal_Response;
// Struct for a sequence of arm_msgs__action__MoveToPose_SendGoal_Response.
typedef struct arm_msgs__action__MoveToPose_SendGoal_Response__Sequence
{
arm_msgs__action__MoveToPose_SendGoal_Response * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_SendGoal_Response__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_GetResult_Request
{
unique_identifier_msgs__msg__UUID goal_id;
} arm_msgs__action__MoveToPose_GetResult_Request;
// Struct for a sequence of arm_msgs__action__MoveToPose_GetResult_Request.
typedef struct arm_msgs__action__MoveToPose_GetResult_Request__Sequence
{
arm_msgs__action__MoveToPose_GetResult_Request * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_GetResult_Request__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'result'
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_GetResult_Response
{
int8_t status;
arm_msgs__action__MoveToPose_Result result;
} arm_msgs__action__MoveToPose_GetResult_Response;
// Struct for a sequence of arm_msgs__action__MoveToPose_GetResult_Response.
typedef struct arm_msgs__action__MoveToPose_GetResult_Response__Sequence
{
arm_msgs__action__MoveToPose_GetResult_Response * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_GetResult_Response__Sequence;
// Constants defined in the message
// Include directives for member types
// Member 'goal_id'
// already included above
// #include "unique_identifier_msgs/msg/detail/uuid__struct.h"
// Member 'feedback'
// already included above
// #include "arm_msgs/action/detail/move_to_pose__struct.h"
/// Struct defined in action/MoveToPose in the package arm_msgs.
typedef struct arm_msgs__action__MoveToPose_FeedbackMessage
{
unique_identifier_msgs__msg__UUID goal_id;
arm_msgs__action__MoveToPose_Feedback feedback;
} arm_msgs__action__MoveToPose_FeedbackMessage;
// Struct for a sequence of arm_msgs__action__MoveToPose_FeedbackMessage.
typedef struct arm_msgs__action__MoveToPose_FeedbackMessage__Sequence
{
arm_msgs__action__MoveToPose_FeedbackMessage * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__action__MoveToPose_FeedbackMessage__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__STRUCT_H_
@@ -0,0 +1,161 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__TYPE_SUPPORT_H_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__TYPE_SUPPORT_H_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/action_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_action_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose
)();
#include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_Goal
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_Result
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_Feedback
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_SendGoal_Request
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_SendGoal_Response
)();
#include "rosidl_runtime_c/service_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_SendGoal
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_GetResult_Request
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_GetResult_Response
)();
// already included above
// #include "rosidl_runtime_c/service_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_GetResult
)();
// already included above
// #include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
action,
MoveToPose_FeedbackMessage
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__TYPE_SUPPORT_H_
@@ -0,0 +1,231 @@
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__TYPE_SUPPORT_HPP_
#define ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__TYPE_SUPPORT_HPP_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_cpp__visibility_control.hpp"
#include "rosidl_typesupport_cpp/action_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_action_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose
)();
#ifdef __cplusplus
}
#endif
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_Goal
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_Result
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_Feedback
)();
#ifdef __cplusplus
}
#endif
#include "rosidl_typesupport_cpp/service_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_SendGoal
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_SendGoal_Request
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_SendGoal_Response
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/service_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_service_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_GetResult
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_GetResult_Request
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_GetResult_Response
)();
#ifdef __cplusplus
}
#endif
// already included above
// #include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
action,
MoveToPose_FeedbackMessage
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__ACTION__DETAIL__MOVE_TO_POSE__TYPE_SUPPORT_HPP_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_c/resource/idl.h.em
// with input from arm_msgs:action/FollowJointTrajectory.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__FOLLOW_JOINT_TRAJECTORY_H_
#define ARM_MSGS__ACTION__FOLLOW_JOINT_TRAJECTORY_H_
#include "arm_msgs/action/detail/follow_joint_trajectory__struct.h"
#include "arm_msgs/action/detail/follow_joint_trajectory__functions.h"
#include "arm_msgs/action/detail/follow_joint_trajectory__type_support.h"
#endif // ARM_MSGS__ACTION__FOLLOW_JOINT_TRAJECTORY_H_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_cpp/resource/idl.hpp.em
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__FOLLOW_JOINT_TRAJECTORY_HPP_
#define ARM_MSGS__ACTION__FOLLOW_JOINT_TRAJECTORY_HPP_
#include "arm_msgs/action/detail/follow_joint_trajectory__struct.hpp"
#include "arm_msgs/action/detail/follow_joint_trajectory__builder.hpp"
#include "arm_msgs/action/detail/follow_joint_trajectory__traits.hpp"
#include "arm_msgs/action/detail/follow_joint_trajectory__type_support.hpp"
#endif // ARM_MSGS__ACTION__FOLLOW_JOINT_TRAJECTORY_HPP_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_c/resource/idl.h.em
// with input from arm_msgs:action/MoveToPose.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__MOVE_TO_POSE_H_
#define ARM_MSGS__ACTION__MOVE_TO_POSE_H_
#include "arm_msgs/action/detail/move_to_pose__struct.h"
#include "arm_msgs/action/detail/move_to_pose__functions.h"
#include "arm_msgs/action/detail/move_to_pose__type_support.h"
#endif // ARM_MSGS__ACTION__MOVE_TO_POSE_H_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_cpp/resource/idl.hpp.em
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__ACTION__MOVE_TO_POSE_HPP_
#define ARM_MSGS__ACTION__MOVE_TO_POSE_HPP_
#include "arm_msgs/action/detail/move_to_pose__struct.hpp"
#include "arm_msgs/action/detail/move_to_pose__builder.hpp"
#include "arm_msgs/action/detail/move_to_pose__traits.hpp"
#include "arm_msgs/action/detail/move_to_pose__type_support.hpp"
#endif // ARM_MSGS__ACTION__MOVE_TO_POSE_HPP_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_c/resource/idl.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__ARM_STATUS_H_
#define ARM_MSGS__MSG__ARM_STATUS_H_
#include "arm_msgs/msg/detail/arm_status__struct.h"
#include "arm_msgs/msg/detail/arm_status__functions.h"
#include "arm_msgs/msg/detail/arm_status__type_support.h"
#endif // ARM_MSGS__MSG__ARM_STATUS_H_
@@ -0,0 +1,12 @@
// generated from rosidl_generator_cpp/resource/idl.hpp.em
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__ARM_STATUS_HPP_
#define ARM_MSGS__MSG__ARM_STATUS_HPP_
#include "arm_msgs/msg/detail/arm_status__struct.hpp"
#include "arm_msgs/msg/detail/arm_status__builder.hpp"
#include "arm_msgs/msg/detail/arm_status__traits.hpp"
#include "arm_msgs/msg/detail/arm_status__type_support.hpp"
#endif // ARM_MSGS__MSG__ARM_STATUS_HPP_
@@ -0,0 +1,168 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__BUILDER_HPP_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/msg/detail/arm_status__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace msg
{
namespace builder
{
class Init_ArmStatus_error_message
{
public:
explicit Init_ArmStatus_error_message(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
::arm_msgs::msg::ArmStatus error_message(::arm_msgs::msg::ArmStatus::_error_message_type arg)
{
msg_.error_message = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_ee_pose
{
public:
explicit Init_ArmStatus_ee_pose(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
Init_ArmStatus_error_message ee_pose(::arm_msgs::msg::ArmStatus::_ee_pose_type arg)
{
msg_.ee_pose = std::move(arg);
return Init_ArmStatus_error_message(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_joint_velocities
{
public:
explicit Init_ArmStatus_joint_velocities(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
Init_ArmStatus_ee_pose joint_velocities(::arm_msgs::msg::ArmStatus::_joint_velocities_type arg)
{
msg_.joint_velocities = std::move(arg);
return Init_ArmStatus_ee_pose(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_joint_positions
{
public:
explicit Init_ArmStatus_joint_positions(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
Init_ArmStatus_joint_velocities joint_positions(::arm_msgs::msg::ArmStatus::_joint_positions_type arg)
{
msg_.joint_positions = std::move(arg);
return Init_ArmStatus_joint_velocities(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_is_homed
{
public:
explicit Init_ArmStatus_is_homed(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
Init_ArmStatus_joint_positions is_homed(::arm_msgs::msg::ArmStatus::_is_homed_type arg)
{
msg_.is_homed = std::move(arg);
return Init_ArmStatus_joint_positions(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_is_moving
{
public:
explicit Init_ArmStatus_is_moving(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
Init_ArmStatus_is_homed is_moving(::arm_msgs::msg::ArmStatus::_is_moving_type arg)
{
msg_.is_moving = std::move(arg);
return Init_ArmStatus_is_homed(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_mode
{
public:
explicit Init_ArmStatus_mode(::arm_msgs::msg::ArmStatus & msg)
: msg_(msg)
{}
Init_ArmStatus_is_moving mode(::arm_msgs::msg::ArmStatus::_mode_type arg)
{
msg_.mode = std::move(arg);
return Init_ArmStatus_is_moving(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
class Init_ArmStatus_header
{
public:
Init_ArmStatus_header()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_ArmStatus_mode header(::arm_msgs::msg::ArmStatus::_header_type arg)
{
msg_.header = std::move(arg);
return Init_ArmStatus_mode(msg_);
}
private:
::arm_msgs::msg::ArmStatus msg_;
};
} // namespace builder
} // namespace msg
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::msg::ArmStatus>()
{
return arm_msgs::msg::builder::Init_ArmStatus_header();
}
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__BUILDER_HPP_
@@ -0,0 +1,370 @@
// generated from rosidl_generator_c/resource/idl__functions.c.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#include "arm_msgs/msg/detail/arm_status__functions.h"
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "rcutils/allocator.h"
// Include directives for member types
// Member `header`
#include "std_msgs/msg/detail/header__functions.h"
// Member `mode`
// Member `error_message`
#include "rosidl_runtime_c/string_functions.h"
// Member `joint_positions`
// Member `joint_velocities`
#include "rosidl_runtime_c/primitives_sequence_functions.h"
// Member `ee_pose`
#include "geometry_msgs/msg/detail/pose_stamped__functions.h"
bool
arm_msgs__msg__ArmStatus__init(arm_msgs__msg__ArmStatus * msg)
{
if (!msg) {
return false;
}
// header
if (!std_msgs__msg__Header__init(&msg->header)) {
arm_msgs__msg__ArmStatus__fini(msg);
return false;
}
// mode
if (!rosidl_runtime_c__String__init(&msg->mode)) {
arm_msgs__msg__ArmStatus__fini(msg);
return false;
}
// is_moving
// is_homed
// joint_positions
if (!rosidl_runtime_c__double__Sequence__init(&msg->joint_positions, 0)) {
arm_msgs__msg__ArmStatus__fini(msg);
return false;
}
// joint_velocities
if (!rosidl_runtime_c__double__Sequence__init(&msg->joint_velocities, 0)) {
arm_msgs__msg__ArmStatus__fini(msg);
return false;
}
// ee_pose
if (!geometry_msgs__msg__PoseStamped__init(&msg->ee_pose)) {
arm_msgs__msg__ArmStatus__fini(msg);
return false;
}
// error_message
if (!rosidl_runtime_c__String__init(&msg->error_message)) {
arm_msgs__msg__ArmStatus__fini(msg);
return false;
}
return true;
}
void
arm_msgs__msg__ArmStatus__fini(arm_msgs__msg__ArmStatus * msg)
{
if (!msg) {
return;
}
// header
std_msgs__msg__Header__fini(&msg->header);
// mode
rosidl_runtime_c__String__fini(&msg->mode);
// is_moving
// is_homed
// joint_positions
rosidl_runtime_c__double__Sequence__fini(&msg->joint_positions);
// joint_velocities
rosidl_runtime_c__double__Sequence__fini(&msg->joint_velocities);
// ee_pose
geometry_msgs__msg__PoseStamped__fini(&msg->ee_pose);
// error_message
rosidl_runtime_c__String__fini(&msg->error_message);
}
bool
arm_msgs__msg__ArmStatus__are_equal(const arm_msgs__msg__ArmStatus * lhs, const arm_msgs__msg__ArmStatus * rhs)
{
if (!lhs || !rhs) {
return false;
}
// header
if (!std_msgs__msg__Header__are_equal(
&(lhs->header), &(rhs->header)))
{
return false;
}
// mode
if (!rosidl_runtime_c__String__are_equal(
&(lhs->mode), &(rhs->mode)))
{
return false;
}
// is_moving
if (lhs->is_moving != rhs->is_moving) {
return false;
}
// is_homed
if (lhs->is_homed != rhs->is_homed) {
return false;
}
// joint_positions
if (!rosidl_runtime_c__double__Sequence__are_equal(
&(lhs->joint_positions), &(rhs->joint_positions)))
{
return false;
}
// joint_velocities
if (!rosidl_runtime_c__double__Sequence__are_equal(
&(lhs->joint_velocities), &(rhs->joint_velocities)))
{
return false;
}
// ee_pose
if (!geometry_msgs__msg__PoseStamped__are_equal(
&(lhs->ee_pose), &(rhs->ee_pose)))
{
return false;
}
// error_message
if (!rosidl_runtime_c__String__are_equal(
&(lhs->error_message), &(rhs->error_message)))
{
return false;
}
return true;
}
bool
arm_msgs__msg__ArmStatus__copy(
const arm_msgs__msg__ArmStatus * input,
arm_msgs__msg__ArmStatus * output)
{
if (!input || !output) {
return false;
}
// header
if (!std_msgs__msg__Header__copy(
&(input->header), &(output->header)))
{
return false;
}
// mode
if (!rosidl_runtime_c__String__copy(
&(input->mode), &(output->mode)))
{
return false;
}
// is_moving
output->is_moving = input->is_moving;
// is_homed
output->is_homed = input->is_homed;
// joint_positions
if (!rosidl_runtime_c__double__Sequence__copy(
&(input->joint_positions), &(output->joint_positions)))
{
return false;
}
// joint_velocities
if (!rosidl_runtime_c__double__Sequence__copy(
&(input->joint_velocities), &(output->joint_velocities)))
{
return false;
}
// ee_pose
if (!geometry_msgs__msg__PoseStamped__copy(
&(input->ee_pose), &(output->ee_pose)))
{
return false;
}
// error_message
if (!rosidl_runtime_c__String__copy(
&(input->error_message), &(output->error_message)))
{
return false;
}
return true;
}
arm_msgs__msg__ArmStatus *
arm_msgs__msg__ArmStatus__create()
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__ArmStatus * msg = (arm_msgs__msg__ArmStatus *)allocator.allocate(sizeof(arm_msgs__msg__ArmStatus), allocator.state);
if (!msg) {
return NULL;
}
memset(msg, 0, sizeof(arm_msgs__msg__ArmStatus));
bool success = arm_msgs__msg__ArmStatus__init(msg);
if (!success) {
allocator.deallocate(msg, allocator.state);
return NULL;
}
return msg;
}
void
arm_msgs__msg__ArmStatus__destroy(arm_msgs__msg__ArmStatus * msg)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (msg) {
arm_msgs__msg__ArmStatus__fini(msg);
}
allocator.deallocate(msg, allocator.state);
}
bool
arm_msgs__msg__ArmStatus__Sequence__init(arm_msgs__msg__ArmStatus__Sequence * array, size_t size)
{
if (!array) {
return false;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__ArmStatus * data = NULL;
if (size) {
data = (arm_msgs__msg__ArmStatus *)allocator.zero_allocate(size, sizeof(arm_msgs__msg__ArmStatus), allocator.state);
if (!data) {
return false;
}
// initialize all array elements
size_t i;
for (i = 0; i < size; ++i) {
bool success = arm_msgs__msg__ArmStatus__init(&data[i]);
if (!success) {
break;
}
}
if (i < size) {
// if initialization failed finalize the already initialized array elements
for (; i > 0; --i) {
arm_msgs__msg__ArmStatus__fini(&data[i - 1]);
}
allocator.deallocate(data, allocator.state);
return false;
}
}
array->data = data;
array->size = size;
array->capacity = size;
return true;
}
void
arm_msgs__msg__ArmStatus__Sequence__fini(arm_msgs__msg__ArmStatus__Sequence * array)
{
if (!array) {
return;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array->data) {
// ensure that data and capacity values are consistent
assert(array->capacity > 0);
// finalize all array elements
for (size_t i = 0; i < array->capacity; ++i) {
arm_msgs__msg__ArmStatus__fini(&array->data[i]);
}
allocator.deallocate(array->data, allocator.state);
array->data = NULL;
array->size = 0;
array->capacity = 0;
} else {
// ensure that data, size, and capacity values are consistent
assert(0 == array->size);
assert(0 == array->capacity);
}
}
arm_msgs__msg__ArmStatus__Sequence *
arm_msgs__msg__ArmStatus__Sequence__create(size_t size)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__ArmStatus__Sequence * array = (arm_msgs__msg__ArmStatus__Sequence *)allocator.allocate(sizeof(arm_msgs__msg__ArmStatus__Sequence), allocator.state);
if (!array) {
return NULL;
}
bool success = arm_msgs__msg__ArmStatus__Sequence__init(array, size);
if (!success) {
allocator.deallocate(array, allocator.state);
return NULL;
}
return array;
}
void
arm_msgs__msg__ArmStatus__Sequence__destroy(arm_msgs__msg__ArmStatus__Sequence * array)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array) {
arm_msgs__msg__ArmStatus__Sequence__fini(array);
}
allocator.deallocate(array, allocator.state);
}
bool
arm_msgs__msg__ArmStatus__Sequence__are_equal(const arm_msgs__msg__ArmStatus__Sequence * lhs, const arm_msgs__msg__ArmStatus__Sequence * rhs)
{
if (!lhs || !rhs) {
return false;
}
if (lhs->size != rhs->size) {
return false;
}
for (size_t i = 0; i < lhs->size; ++i) {
if (!arm_msgs__msg__ArmStatus__are_equal(&(lhs->data[i]), &(rhs->data[i]))) {
return false;
}
}
return true;
}
bool
arm_msgs__msg__ArmStatus__Sequence__copy(
const arm_msgs__msg__ArmStatus__Sequence * input,
arm_msgs__msg__ArmStatus__Sequence * output)
{
if (!input || !output) {
return false;
}
if (output->capacity < input->size) {
const size_t allocation_size =
input->size * sizeof(arm_msgs__msg__ArmStatus);
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__ArmStatus * data =
(arm_msgs__msg__ArmStatus *)allocator.reallocate(
output->data, allocation_size, allocator.state);
if (!data) {
return false;
}
// If reallocation succeeded, memory may or may not have been moved
// to fulfill the allocation request, invalidating output->data.
output->data = data;
for (size_t i = output->capacity; i < input->size; ++i) {
if (!arm_msgs__msg__ArmStatus__init(&output->data[i])) {
// If initialization of any new item fails, roll back
// all previously initialized items. Existing items
// in output are to be left unmodified.
for (; i-- > output->capacity; ) {
arm_msgs__msg__ArmStatus__fini(&output->data[i]);
}
return false;
}
}
output->capacity = input->size;
}
output->size = input->size;
for (size_t i = 0; i < input->size; ++i) {
if (!arm_msgs__msg__ArmStatus__copy(
&(input->data[i]), &(output->data[i])))
{
return false;
}
}
return true;
}
@@ -0,0 +1,177 @@
// generated from rosidl_generator_c/resource/idl__functions.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__FUNCTIONS_H_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__FUNCTIONS_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stdlib.h>
#include "rosidl_runtime_c/visibility_control.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#include "arm_msgs/msg/detail/arm_status__struct.h"
/// Initialize msg/ArmStatus message.
/**
* If the init function is called twice for the same message without
* calling fini inbetween previously allocated memory will be leaked.
* \param[in,out] msg The previously allocated message pointer.
* Fields without a default value will not be initialized by this function.
* You might want to call memset(msg, 0, sizeof(
* arm_msgs__msg__ArmStatus
* )) before or use
* arm_msgs__msg__ArmStatus__create()
* to allocate and initialize the message.
* \return true if initialization was successful, otherwise false
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__ArmStatus__init(arm_msgs__msg__ArmStatus * msg);
/// Finalize msg/ArmStatus message.
/**
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__ArmStatus__fini(arm_msgs__msg__ArmStatus * msg);
/// Create msg/ArmStatus message.
/**
* It allocates the memory for the message, sets the memory to zero, and
* calls
* arm_msgs__msg__ArmStatus__init().
* \return The pointer to the initialized message if successful,
* otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__ArmStatus *
arm_msgs__msg__ArmStatus__create();
/// Destroy msg/ArmStatus message.
/**
* It calls
* arm_msgs__msg__ArmStatus__fini()
* and frees the memory of the message.
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__ArmStatus__destroy(arm_msgs__msg__ArmStatus * msg);
/// Check for msg/ArmStatus message equality.
/**
* \param[in] lhs The message on the left hand size of the equality operator.
* \param[in] rhs The message on the right hand size of the equality operator.
* \return true if messages are equal, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__ArmStatus__are_equal(const arm_msgs__msg__ArmStatus * lhs, const arm_msgs__msg__ArmStatus * rhs);
/// Copy a msg/ArmStatus message.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source message pointer.
* \param[out] output The target message pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer is null
* or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__ArmStatus__copy(
const arm_msgs__msg__ArmStatus * input,
arm_msgs__msg__ArmStatus * output);
/// Initialize array of msg/ArmStatus messages.
/**
* It allocates the memory for the number of elements and calls
* arm_msgs__msg__ArmStatus__init()
* for each element of the array.
* \param[in,out] array The allocated array pointer.
* \param[in] size The size / capacity of the array.
* \return true if initialization was successful, otherwise false
* If the array pointer is valid and the size is zero it is guaranteed
# to return true.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__ArmStatus__Sequence__init(arm_msgs__msg__ArmStatus__Sequence * array, size_t size);
/// Finalize array of msg/ArmStatus messages.
/**
* It calls
* arm_msgs__msg__ArmStatus__fini()
* for each element of the array and frees the memory for the number of
* elements.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__ArmStatus__Sequence__fini(arm_msgs__msg__ArmStatus__Sequence * array);
/// Create array of msg/ArmStatus messages.
/**
* It allocates the memory for the array and calls
* arm_msgs__msg__ArmStatus__Sequence__init().
* \param[in] size The size / capacity of the array.
* \return The pointer to the initialized array if successful, otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__ArmStatus__Sequence *
arm_msgs__msg__ArmStatus__Sequence__create(size_t size);
/// Destroy array of msg/ArmStatus messages.
/**
* It calls
* arm_msgs__msg__ArmStatus__Sequence__fini()
* on the array,
* and frees the memory of the array.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__ArmStatus__Sequence__destroy(arm_msgs__msg__ArmStatus__Sequence * array);
/// Check for msg/ArmStatus message array equality.
/**
* \param[in] lhs The message array on the left hand size of the equality operator.
* \param[in] rhs The message array on the right hand size of the equality operator.
* \return true if message arrays are equal in size and content, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__ArmStatus__Sequence__are_equal(const arm_msgs__msg__ArmStatus__Sequence * lhs, const arm_msgs__msg__ArmStatus__Sequence * rhs);
/// Copy an array of msg/ArmStatus messages.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source array pointer.
* \param[out] output The target array pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer
* is null or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__ArmStatus__Sequence__copy(
const arm_msgs__msg__ArmStatus__Sequence * input,
arm_msgs__msg__ArmStatus__Sequence * output);
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__FUNCTIONS_H_
@@ -0,0 +1,37 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__msg__ArmStatus(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__msg__ArmStatus(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, msg, ArmStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,80 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/msg/detail/arm_status__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace msg
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::msg::ArmStatus & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::msg::ArmStatus & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::msg::ArmStatus & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_ArmStatus(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace msg
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, msg, ArmStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,26 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, ArmStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,27 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, ArmStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,65 @@
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__STRUCT_H_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__struct.h"
// Member 'mode'
// Member 'error_message'
#include "rosidl_runtime_c/string.h"
// Member 'joint_positions'
// Member 'joint_velocities'
#include "rosidl_runtime_c/primitives_sequence.h"
// Member 'ee_pose'
#include "geometry_msgs/msg/detail/pose_stamped__struct.h"
/// Struct defined in msg/ArmStatus in the package arm_msgs.
/**
* High-level arm status for monitoring / HMI
*/
typedef struct arm_msgs__msg__ArmStatus
{
std_msgs__msg__Header header;
/// idle | moving | error | estop
rosidl_runtime_c__String mode;
bool is_moving;
bool is_homed;
/// rad
rosidl_runtime_c__double__Sequence joint_positions;
/// rad/s
rosidl_runtime_c__double__Sequence joint_velocities;
geometry_msgs__msg__PoseStamped ee_pose;
rosidl_runtime_c__String error_message;
} arm_msgs__msg__ArmStatus;
// Struct for a sequence of arm_msgs__msg__ArmStatus.
typedef struct arm_msgs__msg__ArmStatus__Sequence
{
arm_msgs__msg__ArmStatus * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__msg__ArmStatus__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__STRUCT_H_
@@ -0,0 +1,233 @@
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__STRUCT_HPP_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__STRUCT_HPP_
#include <algorithm>
#include <array>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "rosidl_runtime_cpp/bounded_vector.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__struct.hpp"
// Member 'ee_pose'
#include "geometry_msgs/msg/detail/pose_stamped__struct.hpp"
#ifndef _WIN32
# define DEPRECATED__arm_msgs__msg__ArmStatus __attribute__((deprecated))
#else
# define DEPRECATED__arm_msgs__msg__ArmStatus __declspec(deprecated)
#endif
namespace arm_msgs
{
namespace msg
{
// message struct
template<class ContainerAllocator>
struct ArmStatus_
{
using Type = ArmStatus_<ContainerAllocator>;
explicit ArmStatus_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
: header(_init),
ee_pose(_init)
{
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
{
this->mode = "";
this->is_moving = false;
this->is_homed = false;
this->error_message = "";
}
}
explicit ArmStatus_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
: header(_alloc, _init),
mode(_alloc),
ee_pose(_alloc, _init),
error_message(_alloc)
{
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
{
this->mode = "";
this->is_moving = false;
this->is_homed = false;
this->error_message = "";
}
}
// field types and members
using _header_type =
std_msgs::msg::Header_<ContainerAllocator>;
_header_type header;
using _mode_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_mode_type mode;
using _is_moving_type =
bool;
_is_moving_type is_moving;
using _is_homed_type =
bool;
_is_homed_type is_homed;
using _joint_positions_type =
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
_joint_positions_type joint_positions;
using _joint_velocities_type =
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
_joint_velocities_type joint_velocities;
using _ee_pose_type =
geometry_msgs::msg::PoseStamped_<ContainerAllocator>;
_ee_pose_type ee_pose;
using _error_message_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_error_message_type error_message;
// setters for named parameter idiom
Type & set__header(
const std_msgs::msg::Header_<ContainerAllocator> & _arg)
{
this->header = _arg;
return *this;
}
Type & set__mode(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->mode = _arg;
return *this;
}
Type & set__is_moving(
const bool & _arg)
{
this->is_moving = _arg;
return *this;
}
Type & set__is_homed(
const bool & _arg)
{
this->is_homed = _arg;
return *this;
}
Type & set__joint_positions(
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
{
this->joint_positions = _arg;
return *this;
}
Type & set__joint_velocities(
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
{
this->joint_velocities = _arg;
return *this;
}
Type & set__ee_pose(
const geometry_msgs::msg::PoseStamped_<ContainerAllocator> & _arg)
{
this->ee_pose = _arg;
return *this;
}
Type & set__error_message(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->error_message = _arg;
return *this;
}
// constant declarations
// pointer types
using RawPtr =
arm_msgs::msg::ArmStatus_<ContainerAllocator> *;
using ConstRawPtr =
const arm_msgs::msg::ArmStatus_<ContainerAllocator> *;
using SharedPtr =
std::shared_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator>>;
using ConstSharedPtr =
std::shared_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator> const>;
template<typename Deleter = std::default_delete<
arm_msgs::msg::ArmStatus_<ContainerAllocator>>>
using UniquePtrWithDeleter =
std::unique_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator>, Deleter>;
using UniquePtr = UniquePtrWithDeleter<>;
template<typename Deleter = std::default_delete<
arm_msgs::msg::ArmStatus_<ContainerAllocator>>>
using ConstUniquePtrWithDeleter =
std::unique_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator> const, Deleter>;
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
using WeakPtr =
std::weak_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator>>;
using ConstWeakPtr =
std::weak_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator> const>;
// pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead
// NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly
typedef DEPRECATED__arm_msgs__msg__ArmStatus
std::shared_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator>>
Ptr;
typedef DEPRECATED__arm_msgs__msg__ArmStatus
std::shared_ptr<arm_msgs::msg::ArmStatus_<ContainerAllocator> const>
ConstPtr;
// comparison operators
bool operator==(const ArmStatus_ & other) const
{
if (this->header != other.header) {
return false;
}
if (this->mode != other.mode) {
return false;
}
if (this->is_moving != other.is_moving) {
return false;
}
if (this->is_homed != other.is_homed) {
return false;
}
if (this->joint_positions != other.joint_positions) {
return false;
}
if (this->joint_velocities != other.joint_velocities) {
return false;
}
if (this->ee_pose != other.ee_pose) {
return false;
}
if (this->error_message != other.error_message) {
return false;
}
return true;
}
bool operator!=(const ArmStatus_ & other) const
{
return !this->operator==(other);
}
}; // struct ArmStatus_
// alias to use template instance with default allocator
using ArmStatus =
arm_msgs::msg::ArmStatus_<std::allocator<void>>;
// constant definitions
} // namespace msg
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__STRUCT_HPP_
@@ -0,0 +1,274 @@
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__TRAITS_HPP_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__TRAITS_HPP_
#include <stdint.h>
#include <sstream>
#include <string>
#include <type_traits>
#include "arm_msgs/msg/detail/arm_status__struct.hpp"
#include "rosidl_runtime_cpp/traits.hpp"
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__traits.hpp"
// Member 'ee_pose'
#include "geometry_msgs/msg/detail/pose_stamped__traits.hpp"
namespace arm_msgs
{
namespace msg
{
inline void to_flow_style_yaml(
const ArmStatus & msg,
std::ostream & out)
{
out << "{";
// member: header
{
out << "header: ";
to_flow_style_yaml(msg.header, out);
out << ", ";
}
// member: mode
{
out << "mode: ";
rosidl_generator_traits::value_to_yaml(msg.mode, out);
out << ", ";
}
// member: is_moving
{
out << "is_moving: ";
rosidl_generator_traits::value_to_yaml(msg.is_moving, out);
out << ", ";
}
// member: is_homed
{
out << "is_homed: ";
rosidl_generator_traits::value_to_yaml(msg.is_homed, out);
out << ", ";
}
// member: joint_positions
{
if (msg.joint_positions.size() == 0) {
out << "joint_positions: []";
} else {
out << "joint_positions: [";
size_t pending_items = msg.joint_positions.size();
for (auto item : msg.joint_positions) {
rosidl_generator_traits::value_to_yaml(item, out);
if (--pending_items > 0) {
out << ", ";
}
}
out << "]";
}
out << ", ";
}
// member: joint_velocities
{
if (msg.joint_velocities.size() == 0) {
out << "joint_velocities: []";
} else {
out << "joint_velocities: [";
size_t pending_items = msg.joint_velocities.size();
for (auto item : msg.joint_velocities) {
rosidl_generator_traits::value_to_yaml(item, out);
if (--pending_items > 0) {
out << ", ";
}
}
out << "]";
}
out << ", ";
}
// member: ee_pose
{
out << "ee_pose: ";
to_flow_style_yaml(msg.ee_pose, out);
out << ", ";
}
// member: error_message
{
out << "error_message: ";
rosidl_generator_traits::value_to_yaml(msg.error_message, out);
}
out << "}";
} // NOLINT(readability/fn_size)
inline void to_block_style_yaml(
const ArmStatus & msg,
std::ostream & out, size_t indentation = 0)
{
// member: header
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "header:\n";
to_block_style_yaml(msg.header, out, indentation + 2);
}
// member: mode
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "mode: ";
rosidl_generator_traits::value_to_yaml(msg.mode, out);
out << "\n";
}
// member: is_moving
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "is_moving: ";
rosidl_generator_traits::value_to_yaml(msg.is_moving, out);
out << "\n";
}
// member: is_homed
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "is_homed: ";
rosidl_generator_traits::value_to_yaml(msg.is_homed, out);
out << "\n";
}
// member: joint_positions
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
if (msg.joint_positions.size() == 0) {
out << "joint_positions: []\n";
} else {
out << "joint_positions:\n";
for (auto item : msg.joint_positions) {
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "- ";
rosidl_generator_traits::value_to_yaml(item, out);
out << "\n";
}
}
}
// member: joint_velocities
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
if (msg.joint_velocities.size() == 0) {
out << "joint_velocities: []\n";
} else {
out << "joint_velocities:\n";
for (auto item : msg.joint_velocities) {
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "- ";
rosidl_generator_traits::value_to_yaml(item, out);
out << "\n";
}
}
}
// member: ee_pose
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "ee_pose:\n";
to_block_style_yaml(msg.ee_pose, out, indentation + 2);
}
// member: error_message
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "error_message: ";
rosidl_generator_traits::value_to_yaml(msg.error_message, out);
out << "\n";
}
} // NOLINT(readability/fn_size)
inline std::string to_yaml(const ArmStatus & msg, bool use_flow_style = false)
{
std::ostringstream out;
if (use_flow_style) {
to_flow_style_yaml(msg, out);
} else {
to_block_style_yaml(msg, out);
}
return out.str();
}
} // namespace msg
} // namespace arm_msgs
namespace rosidl_generator_traits
{
[[deprecated("use arm_msgs::msg::to_block_style_yaml() instead")]]
inline void to_yaml(
const arm_msgs::msg::ArmStatus & msg,
std::ostream & out, size_t indentation = 0)
{
arm_msgs::msg::to_block_style_yaml(msg, out, indentation);
}
[[deprecated("use arm_msgs::msg::to_yaml() instead")]]
inline std::string to_yaml(const arm_msgs::msg::ArmStatus & msg)
{
return arm_msgs::msg::to_yaml(msg);
}
template<>
inline const char * data_type<arm_msgs::msg::ArmStatus>()
{
return "arm_msgs::msg::ArmStatus";
}
template<>
inline const char * name<arm_msgs::msg::ArmStatus>()
{
return "arm_msgs/msg/ArmStatus";
}
template<>
struct has_fixed_size<arm_msgs::msg::ArmStatus>
: std::integral_constant<bool, false> {};
template<>
struct has_bounded_size<arm_msgs::msg::ArmStatus>
: std::integral_constant<bool, false> {};
template<>
struct is_message<arm_msgs::msg::ArmStatus>
: std::true_type {};
} // namespace rosidl_generator_traits
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__TRAITS_HPP_
@@ -0,0 +1,332 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#include <stddef.h>
#include "arm_msgs/msg/detail/arm_status__rosidl_typesupport_introspection_c.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
#include "rosidl_typesupport_introspection_c/field_types.h"
#include "rosidl_typesupport_introspection_c/identifier.h"
#include "rosidl_typesupport_introspection_c/message_introspection.h"
#include "arm_msgs/msg/detail/arm_status__functions.h"
#include "arm_msgs/msg/detail/arm_status__struct.h"
// Include directives for member types
// Member `header`
#include "std_msgs/msg/header.h"
// Member `header`
#include "std_msgs/msg/detail/header__rosidl_typesupport_introspection_c.h"
// Member `mode`
// Member `error_message`
#include "rosidl_runtime_c/string_functions.h"
// Member `joint_positions`
// Member `joint_velocities`
#include "rosidl_runtime_c/primitives_sequence_functions.h"
// Member `ee_pose`
#include "geometry_msgs/msg/pose_stamped.h"
// Member `ee_pose`
#include "geometry_msgs/msg/detail/pose_stamped__rosidl_typesupport_introspection_c.h"
#ifdef __cplusplus
extern "C"
{
#endif
void arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_init_function(
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
{
// TODO(karsten1987): initializers are not yet implemented for typesupport c
// see https://github.com/ros2/ros2/issues/397
(void) _init;
arm_msgs__msg__ArmStatus__init(message_memory);
}
void arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_fini_function(void * message_memory)
{
arm_msgs__msg__ArmStatus__fini(message_memory);
}
size_t arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__size_function__ArmStatus__joint_positions(
const void * untyped_member)
{
const rosidl_runtime_c__double__Sequence * member =
(const rosidl_runtime_c__double__Sequence *)(untyped_member);
return member->size;
}
const void * arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_const_function__ArmStatus__joint_positions(
const void * untyped_member, size_t index)
{
const rosidl_runtime_c__double__Sequence * member =
(const rosidl_runtime_c__double__Sequence *)(untyped_member);
return &member->data[index];
}
void * arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_function__ArmStatus__joint_positions(
void * untyped_member, size_t index)
{
rosidl_runtime_c__double__Sequence * member =
(rosidl_runtime_c__double__Sequence *)(untyped_member);
return &member->data[index];
}
void arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__fetch_function__ArmStatus__joint_positions(
const void * untyped_member, size_t index, void * untyped_value)
{
const double * item =
((const double *)
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_const_function__ArmStatus__joint_positions(untyped_member, index));
double * value =
(double *)(untyped_value);
*value = *item;
}
void arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__assign_function__ArmStatus__joint_positions(
void * untyped_member, size_t index, const void * untyped_value)
{
double * item =
((double *)
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_function__ArmStatus__joint_positions(untyped_member, index));
const double * value =
(const double *)(untyped_value);
*item = *value;
}
bool arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__resize_function__ArmStatus__joint_positions(
void * untyped_member, size_t size)
{
rosidl_runtime_c__double__Sequence * member =
(rosidl_runtime_c__double__Sequence *)(untyped_member);
rosidl_runtime_c__double__Sequence__fini(member);
return rosidl_runtime_c__double__Sequence__init(member, size);
}
size_t arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__size_function__ArmStatus__joint_velocities(
const void * untyped_member)
{
const rosidl_runtime_c__double__Sequence * member =
(const rosidl_runtime_c__double__Sequence *)(untyped_member);
return member->size;
}
const void * arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_const_function__ArmStatus__joint_velocities(
const void * untyped_member, size_t index)
{
const rosidl_runtime_c__double__Sequence * member =
(const rosidl_runtime_c__double__Sequence *)(untyped_member);
return &member->data[index];
}
void * arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_function__ArmStatus__joint_velocities(
void * untyped_member, size_t index)
{
rosidl_runtime_c__double__Sequence * member =
(rosidl_runtime_c__double__Sequence *)(untyped_member);
return &member->data[index];
}
void arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__fetch_function__ArmStatus__joint_velocities(
const void * untyped_member, size_t index, void * untyped_value)
{
const double * item =
((const double *)
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_const_function__ArmStatus__joint_velocities(untyped_member, index));
double * value =
(double *)(untyped_value);
*value = *item;
}
void arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__assign_function__ArmStatus__joint_velocities(
void * untyped_member, size_t index, const void * untyped_value)
{
double * item =
((double *)
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_function__ArmStatus__joint_velocities(untyped_member, index));
const double * value =
(const double *)(untyped_value);
*item = *value;
}
bool arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__resize_function__ArmStatus__joint_velocities(
void * untyped_member, size_t size)
{
rosidl_runtime_c__double__Sequence * member =
(rosidl_runtime_c__double__Sequence *)(untyped_member);
rosidl_runtime_c__double__Sequence__fini(member);
return rosidl_runtime_c__double__Sequence__init(member, size);
}
static rosidl_typesupport_introspection_c__MessageMember arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_member_array[8] = {
{
"header", // name
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
0, // upper bound of string
NULL, // members of sub message (initialized later)
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, header), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"mode", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, mode), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"is_moving", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, is_moving), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"is_homed", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, is_homed), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"joint_positions", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
true, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, joint_positions), // bytes offset in struct
NULL, // default value
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__size_function__ArmStatus__joint_positions, // size() function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_const_function__ArmStatus__joint_positions, // get_const(index) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_function__ArmStatus__joint_positions, // get(index) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__fetch_function__ArmStatus__joint_positions, // fetch(index, &value) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__assign_function__ArmStatus__joint_positions, // assign(index, value) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__resize_function__ArmStatus__joint_positions // resize(index) function pointer
},
{
"joint_velocities", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
true, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, joint_velocities), // bytes offset in struct
NULL, // default value
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__size_function__ArmStatus__joint_velocities, // size() function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_const_function__ArmStatus__joint_velocities, // get_const(index) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__get_function__ArmStatus__joint_velocities, // get(index) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__fetch_function__ArmStatus__joint_velocities, // fetch(index, &value) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__assign_function__ArmStatus__joint_velocities, // assign(index, value) function pointer
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__resize_function__ArmStatus__joint_velocities // resize(index) function pointer
},
{
"ee_pose", // name
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
0, // upper bound of string
NULL, // members of sub message (initialized later)
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, ee_pose), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"error_message", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__ArmStatus, error_message), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
}
};
static const rosidl_typesupport_introspection_c__MessageMembers arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_members = {
"arm_msgs__msg", // message namespace
"ArmStatus", // message name
8, // number of fields
sizeof(arm_msgs__msg__ArmStatus),
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_member_array, // message members
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_init_function, // function to initialize message memory (memory has to be allocated)
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_fini_function // function to terminate message instance (will not free memory)
};
// this is not const since it must be initialized on first access
// since C does not allow non-integral compile-time constants
static rosidl_message_type_support_t arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_type_support_handle = {
0,
&arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_members,
get_message_typesupport_handle_function,
};
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, ArmStatus)() {
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_member_array[0].members_ =
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, std_msgs, msg, Header)();
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_member_array[6].members_ =
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, geometry_msgs, msg, PoseStamped)();
if (!arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_type_support_handle.typesupport_identifier) {
arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_type_support_handle.typesupport_identifier =
rosidl_typesupport_introspection_c__identifier;
}
return &arm_msgs__msg__ArmStatus__rosidl_typesupport_introspection_c__ArmStatus_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,318 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/detail/arm_status__struct.hpp"
#include "rosidl_typesupport_introspection_cpp/field_types.hpp"
#include "rosidl_typesupport_introspection_cpp/identifier.hpp"
#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp"
#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
namespace arm_msgs
{
namespace msg
{
namespace rosidl_typesupport_introspection_cpp
{
void ArmStatus_init_function(
void * message_memory, rosidl_runtime_cpp::MessageInitialization _init)
{
new (message_memory) arm_msgs::msg::ArmStatus(_init);
}
void ArmStatus_fini_function(void * message_memory)
{
auto typed_message = static_cast<arm_msgs::msg::ArmStatus *>(message_memory);
typed_message->~ArmStatus();
}
size_t size_function__ArmStatus__joint_positions(const void * untyped_member)
{
const auto * member = reinterpret_cast<const std::vector<double> *>(untyped_member);
return member->size();
}
const void * get_const_function__ArmStatus__joint_positions(const void * untyped_member, size_t index)
{
const auto & member =
*reinterpret_cast<const std::vector<double> *>(untyped_member);
return &member[index];
}
void * get_function__ArmStatus__joint_positions(void * untyped_member, size_t index)
{
auto & member =
*reinterpret_cast<std::vector<double> *>(untyped_member);
return &member[index];
}
void fetch_function__ArmStatus__joint_positions(
const void * untyped_member, size_t index, void * untyped_value)
{
const auto & item = *reinterpret_cast<const double *>(
get_const_function__ArmStatus__joint_positions(untyped_member, index));
auto & value = *reinterpret_cast<double *>(untyped_value);
value = item;
}
void assign_function__ArmStatus__joint_positions(
void * untyped_member, size_t index, const void * untyped_value)
{
auto & item = *reinterpret_cast<double *>(
get_function__ArmStatus__joint_positions(untyped_member, index));
const auto & value = *reinterpret_cast<const double *>(untyped_value);
item = value;
}
void resize_function__ArmStatus__joint_positions(void * untyped_member, size_t size)
{
auto * member =
reinterpret_cast<std::vector<double> *>(untyped_member);
member->resize(size);
}
size_t size_function__ArmStatus__joint_velocities(const void * untyped_member)
{
const auto * member = reinterpret_cast<const std::vector<double> *>(untyped_member);
return member->size();
}
const void * get_const_function__ArmStatus__joint_velocities(const void * untyped_member, size_t index)
{
const auto & member =
*reinterpret_cast<const std::vector<double> *>(untyped_member);
return &member[index];
}
void * get_function__ArmStatus__joint_velocities(void * untyped_member, size_t index)
{
auto & member =
*reinterpret_cast<std::vector<double> *>(untyped_member);
return &member[index];
}
void fetch_function__ArmStatus__joint_velocities(
const void * untyped_member, size_t index, void * untyped_value)
{
const auto & item = *reinterpret_cast<const double *>(
get_const_function__ArmStatus__joint_velocities(untyped_member, index));
auto & value = *reinterpret_cast<double *>(untyped_value);
value = item;
}
void assign_function__ArmStatus__joint_velocities(
void * untyped_member, size_t index, const void * untyped_value)
{
auto & item = *reinterpret_cast<double *>(
get_function__ArmStatus__joint_velocities(untyped_member, index));
const auto & value = *reinterpret_cast<const double *>(untyped_value);
item = value;
}
void resize_function__ArmStatus__joint_velocities(void * untyped_member, size_t size)
{
auto * member =
reinterpret_cast<std::vector<double> *>(untyped_member);
member->resize(size);
}
static const ::rosidl_typesupport_introspection_cpp::MessageMember ArmStatus_message_member_array[8] = {
{
"header", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type
0, // upper bound of string
::rosidl_typesupport_introspection_cpp::get_message_type_support_handle<std_msgs::msg::Header>(), // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, header), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"mode", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, mode), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"is_moving", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, is_moving), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"is_homed", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, is_homed), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"joint_positions", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
true, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, joint_positions), // bytes offset in struct
nullptr, // default value
size_function__ArmStatus__joint_positions, // size() function pointer
get_const_function__ArmStatus__joint_positions, // get_const(index) function pointer
get_function__ArmStatus__joint_positions, // get(index) function pointer
fetch_function__ArmStatus__joint_positions, // fetch(index, &value) function pointer
assign_function__ArmStatus__joint_positions, // assign(index, value) function pointer
resize_function__ArmStatus__joint_positions // resize(index) function pointer
},
{
"joint_velocities", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
true, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, joint_velocities), // bytes offset in struct
nullptr, // default value
size_function__ArmStatus__joint_velocities, // size() function pointer
get_const_function__ArmStatus__joint_velocities, // get_const(index) function pointer
get_function__ArmStatus__joint_velocities, // get(index) function pointer
fetch_function__ArmStatus__joint_velocities, // fetch(index, &value) function pointer
assign_function__ArmStatus__joint_velocities, // assign(index, value) function pointer
resize_function__ArmStatus__joint_velocities // resize(index) function pointer
},
{
"ee_pose", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type
0, // upper bound of string
::rosidl_typesupport_introspection_cpp::get_message_type_support_handle<geometry_msgs::msg::PoseStamped>(), // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, ee_pose), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"error_message", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::ArmStatus, error_message), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
}
};
static const ::rosidl_typesupport_introspection_cpp::MessageMembers ArmStatus_message_members = {
"arm_msgs::msg", // message namespace
"ArmStatus", // message name
8, // number of fields
sizeof(arm_msgs::msg::ArmStatus),
ArmStatus_message_member_array, // message members
ArmStatus_init_function, // function to initialize message memory (memory has to be allocated)
ArmStatus_fini_function // function to terminate message instance (will not free memory)
};
static const rosidl_message_type_support_t ArmStatus_message_type_support_handle = {
::rosidl_typesupport_introspection_cpp::typesupport_identifier,
&ArmStatus_message_members,
get_message_typesupport_handle_function,
};
} // namespace rosidl_typesupport_introspection_cpp
} // namespace msg
} // namespace arm_msgs
namespace rosidl_typesupport_introspection_cpp
{
template<>
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
get_message_type_support_handle<arm_msgs::msg::ArmStatus>()
{
return &::arm_msgs::msg::rosidl_typesupport_introspection_cpp::ArmStatus_message_type_support_handle;
}
} // namespace rosidl_typesupport_introspection_cpp
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, ArmStatus)() {
return &::arm_msgs::msg::rosidl_typesupport_introspection_cpp::ArmStatus_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,33 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__TYPE_SUPPORT_H_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__TYPE_SUPPORT_H_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
msg,
ArmStatus
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__TYPE_SUPPORT_H_
@@ -0,0 +1,31 @@
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
// with input from arm_msgs:msg/ArmStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__ARM_STATUS__TYPE_SUPPORT_HPP_
#define ARM_MSGS__MSG__DETAIL__ARM_STATUS__TYPE_SUPPORT_HPP_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_cpp__visibility_control.hpp"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
msg,
ArmStatus
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__ARM_STATUS__TYPE_SUPPORT_HPP_
@@ -0,0 +1,152 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__BUILDER_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/msg/detail/gripper_command__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace msg
{
namespace builder
{
class Init_GripperCommand_timeout
{
public:
explicit Init_GripperCommand_timeout(::arm_msgs::msg::GripperCommand & msg)
: msg_(msg)
{}
::arm_msgs::msg::GripperCommand timeout(::arm_msgs::msg::GripperCommand::_timeout_type arg)
{
msg_.timeout = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
class Init_GripperCommand_wait_complete
{
public:
explicit Init_GripperCommand_wait_complete(::arm_msgs::msg::GripperCommand & msg)
: msg_(msg)
{}
Init_GripperCommand_timeout wait_complete(::arm_msgs::msg::GripperCommand::_wait_complete_type arg)
{
msg_.wait_complete = std::move(arg);
return Init_GripperCommand_timeout(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
class Init_GripperCommand_force
{
public:
explicit Init_GripperCommand_force(::arm_msgs::msg::GripperCommand & msg)
: msg_(msg)
{}
Init_GripperCommand_wait_complete force(::arm_msgs::msg::GripperCommand::_force_type arg)
{
msg_.force = std::move(arg);
return Init_GripperCommand_wait_complete(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
class Init_GripperCommand_speed
{
public:
explicit Init_GripperCommand_speed(::arm_msgs::msg::GripperCommand & msg)
: msg_(msg)
{}
Init_GripperCommand_force speed(::arm_msgs::msg::GripperCommand::_speed_type arg)
{
msg_.speed = std::move(arg);
return Init_GripperCommand_force(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
class Init_GripperCommand_position
{
public:
explicit Init_GripperCommand_position(::arm_msgs::msg::GripperCommand & msg)
: msg_(msg)
{}
Init_GripperCommand_speed position(::arm_msgs::msg::GripperCommand::_position_type arg)
{
msg_.position = std::move(arg);
return Init_GripperCommand_speed(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
class Init_GripperCommand_command
{
public:
explicit Init_GripperCommand_command(::arm_msgs::msg::GripperCommand & msg)
: msg_(msg)
{}
Init_GripperCommand_position command(::arm_msgs::msg::GripperCommand::_command_type arg)
{
msg_.command = std::move(arg);
return Init_GripperCommand_position(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
class Init_GripperCommand_header
{
public:
Init_GripperCommand_header()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_GripperCommand_command header(::arm_msgs::msg::GripperCommand::_header_type arg)
{
msg_.header = std::move(arg);
return Init_GripperCommand_command(msg_);
}
private:
::arm_msgs::msg::GripperCommand msg_;
};
} // namespace builder
} // namespace msg
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::msg::GripperCommand>()
{
return arm_msgs::msg::builder::Init_GripperCommand_header();
}
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__BUILDER_HPP_
@@ -0,0 +1,312 @@
// generated from rosidl_generator_c/resource/idl__functions.c.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#include "arm_msgs/msg/detail/gripper_command__functions.h"
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "rcutils/allocator.h"
// Include directives for member types
// Member `header`
#include "std_msgs/msg/detail/header__functions.h"
// Member `command`
#include "rosidl_runtime_c/string_functions.h"
bool
arm_msgs__msg__GripperCommand__init(arm_msgs__msg__GripperCommand * msg)
{
if (!msg) {
return false;
}
// header
if (!std_msgs__msg__Header__init(&msg->header)) {
arm_msgs__msg__GripperCommand__fini(msg);
return false;
}
// command
if (!rosidl_runtime_c__String__init(&msg->command)) {
arm_msgs__msg__GripperCommand__fini(msg);
return false;
}
// position
// speed
// force
// wait_complete
// timeout
return true;
}
void
arm_msgs__msg__GripperCommand__fini(arm_msgs__msg__GripperCommand * msg)
{
if (!msg) {
return;
}
// header
std_msgs__msg__Header__fini(&msg->header);
// command
rosidl_runtime_c__String__fini(&msg->command);
// position
// speed
// force
// wait_complete
// timeout
}
bool
arm_msgs__msg__GripperCommand__are_equal(const arm_msgs__msg__GripperCommand * lhs, const arm_msgs__msg__GripperCommand * rhs)
{
if (!lhs || !rhs) {
return false;
}
// header
if (!std_msgs__msg__Header__are_equal(
&(lhs->header), &(rhs->header)))
{
return false;
}
// command
if (!rosidl_runtime_c__String__are_equal(
&(lhs->command), &(rhs->command)))
{
return false;
}
// position
if (lhs->position != rhs->position) {
return false;
}
// speed
if (lhs->speed != rhs->speed) {
return false;
}
// force
if (lhs->force != rhs->force) {
return false;
}
// wait_complete
if (lhs->wait_complete != rhs->wait_complete) {
return false;
}
// timeout
if (lhs->timeout != rhs->timeout) {
return false;
}
return true;
}
bool
arm_msgs__msg__GripperCommand__copy(
const arm_msgs__msg__GripperCommand * input,
arm_msgs__msg__GripperCommand * output)
{
if (!input || !output) {
return false;
}
// header
if (!std_msgs__msg__Header__copy(
&(input->header), &(output->header)))
{
return false;
}
// command
if (!rosidl_runtime_c__String__copy(
&(input->command), &(output->command)))
{
return false;
}
// position
output->position = input->position;
// speed
output->speed = input->speed;
// force
output->force = input->force;
// wait_complete
output->wait_complete = input->wait_complete;
// timeout
output->timeout = input->timeout;
return true;
}
arm_msgs__msg__GripperCommand *
arm_msgs__msg__GripperCommand__create()
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperCommand * msg = (arm_msgs__msg__GripperCommand *)allocator.allocate(sizeof(arm_msgs__msg__GripperCommand), allocator.state);
if (!msg) {
return NULL;
}
memset(msg, 0, sizeof(arm_msgs__msg__GripperCommand));
bool success = arm_msgs__msg__GripperCommand__init(msg);
if (!success) {
allocator.deallocate(msg, allocator.state);
return NULL;
}
return msg;
}
void
arm_msgs__msg__GripperCommand__destroy(arm_msgs__msg__GripperCommand * msg)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (msg) {
arm_msgs__msg__GripperCommand__fini(msg);
}
allocator.deallocate(msg, allocator.state);
}
bool
arm_msgs__msg__GripperCommand__Sequence__init(arm_msgs__msg__GripperCommand__Sequence * array, size_t size)
{
if (!array) {
return false;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperCommand * data = NULL;
if (size) {
data = (arm_msgs__msg__GripperCommand *)allocator.zero_allocate(size, sizeof(arm_msgs__msg__GripperCommand), allocator.state);
if (!data) {
return false;
}
// initialize all array elements
size_t i;
for (i = 0; i < size; ++i) {
bool success = arm_msgs__msg__GripperCommand__init(&data[i]);
if (!success) {
break;
}
}
if (i < size) {
// if initialization failed finalize the already initialized array elements
for (; i > 0; --i) {
arm_msgs__msg__GripperCommand__fini(&data[i - 1]);
}
allocator.deallocate(data, allocator.state);
return false;
}
}
array->data = data;
array->size = size;
array->capacity = size;
return true;
}
void
arm_msgs__msg__GripperCommand__Sequence__fini(arm_msgs__msg__GripperCommand__Sequence * array)
{
if (!array) {
return;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array->data) {
// ensure that data and capacity values are consistent
assert(array->capacity > 0);
// finalize all array elements
for (size_t i = 0; i < array->capacity; ++i) {
arm_msgs__msg__GripperCommand__fini(&array->data[i]);
}
allocator.deallocate(array->data, allocator.state);
array->data = NULL;
array->size = 0;
array->capacity = 0;
} else {
// ensure that data, size, and capacity values are consistent
assert(0 == array->size);
assert(0 == array->capacity);
}
}
arm_msgs__msg__GripperCommand__Sequence *
arm_msgs__msg__GripperCommand__Sequence__create(size_t size)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperCommand__Sequence * array = (arm_msgs__msg__GripperCommand__Sequence *)allocator.allocate(sizeof(arm_msgs__msg__GripperCommand__Sequence), allocator.state);
if (!array) {
return NULL;
}
bool success = arm_msgs__msg__GripperCommand__Sequence__init(array, size);
if (!success) {
allocator.deallocate(array, allocator.state);
return NULL;
}
return array;
}
void
arm_msgs__msg__GripperCommand__Sequence__destroy(arm_msgs__msg__GripperCommand__Sequence * array)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array) {
arm_msgs__msg__GripperCommand__Sequence__fini(array);
}
allocator.deallocate(array, allocator.state);
}
bool
arm_msgs__msg__GripperCommand__Sequence__are_equal(const arm_msgs__msg__GripperCommand__Sequence * lhs, const arm_msgs__msg__GripperCommand__Sequence * rhs)
{
if (!lhs || !rhs) {
return false;
}
if (lhs->size != rhs->size) {
return false;
}
for (size_t i = 0; i < lhs->size; ++i) {
if (!arm_msgs__msg__GripperCommand__are_equal(&(lhs->data[i]), &(rhs->data[i]))) {
return false;
}
}
return true;
}
bool
arm_msgs__msg__GripperCommand__Sequence__copy(
const arm_msgs__msg__GripperCommand__Sequence * input,
arm_msgs__msg__GripperCommand__Sequence * output)
{
if (!input || !output) {
return false;
}
if (output->capacity < input->size) {
const size_t allocation_size =
input->size * sizeof(arm_msgs__msg__GripperCommand);
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperCommand * data =
(arm_msgs__msg__GripperCommand *)allocator.reallocate(
output->data, allocation_size, allocator.state);
if (!data) {
return false;
}
// If reallocation succeeded, memory may or may not have been moved
// to fulfill the allocation request, invalidating output->data.
output->data = data;
for (size_t i = output->capacity; i < input->size; ++i) {
if (!arm_msgs__msg__GripperCommand__init(&output->data[i])) {
// If initialization of any new item fails, roll back
// all previously initialized items. Existing items
// in output are to be left unmodified.
for (; i-- > output->capacity; ) {
arm_msgs__msg__GripperCommand__fini(&output->data[i]);
}
return false;
}
}
output->capacity = input->size;
}
output->size = input->size;
for (size_t i = 0; i < input->size; ++i) {
if (!arm_msgs__msg__GripperCommand__copy(
&(input->data[i]), &(output->data[i])))
{
return false;
}
}
return true;
}
@@ -0,0 +1,177 @@
// generated from rosidl_generator_c/resource/idl__functions.h.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__FUNCTIONS_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__FUNCTIONS_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stdlib.h>
#include "rosidl_runtime_c/visibility_control.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#include "arm_msgs/msg/detail/gripper_command__struct.h"
/// Initialize msg/GripperCommand message.
/**
* If the init function is called twice for the same message without
* calling fini inbetween previously allocated memory will be leaked.
* \param[in,out] msg The previously allocated message pointer.
* Fields without a default value will not be initialized by this function.
* You might want to call memset(msg, 0, sizeof(
* arm_msgs__msg__GripperCommand
* )) before or use
* arm_msgs__msg__GripperCommand__create()
* to allocate and initialize the message.
* \return true if initialization was successful, otherwise false
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperCommand__init(arm_msgs__msg__GripperCommand * msg);
/// Finalize msg/GripperCommand message.
/**
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperCommand__fini(arm_msgs__msg__GripperCommand * msg);
/// Create msg/GripperCommand message.
/**
* It allocates the memory for the message, sets the memory to zero, and
* calls
* arm_msgs__msg__GripperCommand__init().
* \return The pointer to the initialized message if successful,
* otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__GripperCommand *
arm_msgs__msg__GripperCommand__create();
/// Destroy msg/GripperCommand message.
/**
* It calls
* arm_msgs__msg__GripperCommand__fini()
* and frees the memory of the message.
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperCommand__destroy(arm_msgs__msg__GripperCommand * msg);
/// Check for msg/GripperCommand message equality.
/**
* \param[in] lhs The message on the left hand size of the equality operator.
* \param[in] rhs The message on the right hand size of the equality operator.
* \return true if messages are equal, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperCommand__are_equal(const arm_msgs__msg__GripperCommand * lhs, const arm_msgs__msg__GripperCommand * rhs);
/// Copy a msg/GripperCommand message.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source message pointer.
* \param[out] output The target message pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer is null
* or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperCommand__copy(
const arm_msgs__msg__GripperCommand * input,
arm_msgs__msg__GripperCommand * output);
/// Initialize array of msg/GripperCommand messages.
/**
* It allocates the memory for the number of elements and calls
* arm_msgs__msg__GripperCommand__init()
* for each element of the array.
* \param[in,out] array The allocated array pointer.
* \param[in] size The size / capacity of the array.
* \return true if initialization was successful, otherwise false
* If the array pointer is valid and the size is zero it is guaranteed
# to return true.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperCommand__Sequence__init(arm_msgs__msg__GripperCommand__Sequence * array, size_t size);
/// Finalize array of msg/GripperCommand messages.
/**
* It calls
* arm_msgs__msg__GripperCommand__fini()
* for each element of the array and frees the memory for the number of
* elements.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperCommand__Sequence__fini(arm_msgs__msg__GripperCommand__Sequence * array);
/// Create array of msg/GripperCommand messages.
/**
* It allocates the memory for the array and calls
* arm_msgs__msg__GripperCommand__Sequence__init().
* \param[in] size The size / capacity of the array.
* \return The pointer to the initialized array if successful, otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__GripperCommand__Sequence *
arm_msgs__msg__GripperCommand__Sequence__create(size_t size);
/// Destroy array of msg/GripperCommand messages.
/**
* It calls
* arm_msgs__msg__GripperCommand__Sequence__fini()
* on the array,
* and frees the memory of the array.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperCommand__Sequence__destroy(arm_msgs__msg__GripperCommand__Sequence * array);
/// Check for msg/GripperCommand message array equality.
/**
* \param[in] lhs The message array on the left hand size of the equality operator.
* \param[in] rhs The message array on the right hand size of the equality operator.
* \return true if message arrays are equal in size and content, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperCommand__Sequence__are_equal(const arm_msgs__msg__GripperCommand__Sequence * lhs, const arm_msgs__msg__GripperCommand__Sequence * rhs);
/// Copy an array of msg/GripperCommand messages.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source array pointer.
* \param[out] output The target array pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer
* is null or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperCommand__Sequence__copy(
const arm_msgs__msg__GripperCommand__Sequence * input,
arm_msgs__msg__GripperCommand__Sequence * output);
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__FUNCTIONS_H_
@@ -0,0 +1,37 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__msg__GripperCommand(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__msg__GripperCommand(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, msg, GripperCommand)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,80 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/msg/detail/gripper_command__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace msg
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::msg::GripperCommand & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::msg::GripperCommand & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::msg::GripperCommand & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_GripperCommand(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace msg
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, msg, GripperCommand)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,26 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, GripperCommand)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,27 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, GripperCommand)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,57 @@
// NOLINT: This file starts with a BOM since it contain non-ASCII characters
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__STRUCT_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__struct.h"
// Member 'command'
#include "rosidl_runtime_c/string.h"
/// Struct defined in msg/GripperCommand in the package arm_msgs.
typedef struct arm_msgs__msg__GripperCommand
{
std_msgs__msg__Header header;
/// init|init_full|connect|open|close|stop|move|rotate|rotate_to|rotate_by|rotate_revolutions|home_rotation|set_force|set_speed|set_finger_force|set_finger_speed
rosidl_runtime_c__String command;
/// command=move: 平行夹爪行程 mm;command=rotate/rotate_by: 角度 deg;command=rotate_revolutions: 圈数
double position;
/// 速度百分比(1~100)
double speed;
/// 力/力矩百分比(DH 一般 20~100)
double force;
bool wait_complete;
double timeout;
} arm_msgs__msg__GripperCommand;
// Struct for a sequence of arm_msgs__msg__GripperCommand.
typedef struct arm_msgs__msg__GripperCommand__Sequence
{
arm_msgs__msg__GripperCommand * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__msg__GripperCommand__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__STRUCT_H_
@@ -0,0 +1,220 @@
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__STRUCT_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__STRUCT_HPP_
#include <algorithm>
#include <array>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "rosidl_runtime_cpp/bounded_vector.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__struct.hpp"
#ifndef _WIN32
# define DEPRECATED__arm_msgs__msg__GripperCommand __attribute__((deprecated))
#else
# define DEPRECATED__arm_msgs__msg__GripperCommand __declspec(deprecated)
#endif
namespace arm_msgs
{
namespace msg
{
// message struct
template<class ContainerAllocator>
struct GripperCommand_
{
using Type = GripperCommand_<ContainerAllocator>;
explicit GripperCommand_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
: header(_init)
{
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
{
this->command = "";
this->position = 0.0;
this->speed = 0.0;
this->force = 0.0;
this->wait_complete = false;
this->timeout = 0.0;
}
}
explicit GripperCommand_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
: header(_alloc, _init),
command(_alloc)
{
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
{
this->command = "";
this->position = 0.0;
this->speed = 0.0;
this->force = 0.0;
this->wait_complete = false;
this->timeout = 0.0;
}
}
// field types and members
using _header_type =
std_msgs::msg::Header_<ContainerAllocator>;
_header_type header;
using _command_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_command_type command;
using _position_type =
double;
_position_type position;
using _speed_type =
double;
_speed_type speed;
using _force_type =
double;
_force_type force;
using _wait_complete_type =
bool;
_wait_complete_type wait_complete;
using _timeout_type =
double;
_timeout_type timeout;
// setters for named parameter idiom
Type & set__header(
const std_msgs::msg::Header_<ContainerAllocator> & _arg)
{
this->header = _arg;
return *this;
}
Type & set__command(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->command = _arg;
return *this;
}
Type & set__position(
const double & _arg)
{
this->position = _arg;
return *this;
}
Type & set__speed(
const double & _arg)
{
this->speed = _arg;
return *this;
}
Type & set__force(
const double & _arg)
{
this->force = _arg;
return *this;
}
Type & set__wait_complete(
const bool & _arg)
{
this->wait_complete = _arg;
return *this;
}
Type & set__timeout(
const double & _arg)
{
this->timeout = _arg;
return *this;
}
// constant declarations
// pointer types
using RawPtr =
arm_msgs::msg::GripperCommand_<ContainerAllocator> *;
using ConstRawPtr =
const arm_msgs::msg::GripperCommand_<ContainerAllocator> *;
using SharedPtr =
std::shared_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator>>;
using ConstSharedPtr =
std::shared_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator> const>;
template<typename Deleter = std::default_delete<
arm_msgs::msg::GripperCommand_<ContainerAllocator>>>
using UniquePtrWithDeleter =
std::unique_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator>, Deleter>;
using UniquePtr = UniquePtrWithDeleter<>;
template<typename Deleter = std::default_delete<
arm_msgs::msg::GripperCommand_<ContainerAllocator>>>
using ConstUniquePtrWithDeleter =
std::unique_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator> const, Deleter>;
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
using WeakPtr =
std::weak_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator>>;
using ConstWeakPtr =
std::weak_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator> const>;
// pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead
// NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly
typedef DEPRECATED__arm_msgs__msg__GripperCommand
std::shared_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator>>
Ptr;
typedef DEPRECATED__arm_msgs__msg__GripperCommand
std::shared_ptr<arm_msgs::msg::GripperCommand_<ContainerAllocator> const>
ConstPtr;
// comparison operators
bool operator==(const GripperCommand_ & other) const
{
if (this->header != other.header) {
return false;
}
if (this->command != other.command) {
return false;
}
if (this->position != other.position) {
return false;
}
if (this->speed != other.speed) {
return false;
}
if (this->force != other.force) {
return false;
}
if (this->wait_complete != other.wait_complete) {
return false;
}
if (this->timeout != other.timeout) {
return false;
}
return true;
}
bool operator!=(const GripperCommand_ & other) const
{
return !this->operator==(other);
}
}; // struct GripperCommand_
// alias to use template instance with default allocator
using GripperCommand =
arm_msgs::msg::GripperCommand_<std::allocator<void>>;
// constant definitions
} // namespace msg
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__STRUCT_HPP_
@@ -0,0 +1,214 @@
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TRAITS_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TRAITS_HPP_
#include <stdint.h>
#include <sstream>
#include <string>
#include <type_traits>
#include "arm_msgs/msg/detail/gripper_command__struct.hpp"
#include "rosidl_runtime_cpp/traits.hpp"
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__traits.hpp"
namespace arm_msgs
{
namespace msg
{
inline void to_flow_style_yaml(
const GripperCommand & msg,
std::ostream & out)
{
out << "{";
// member: header
{
out << "header: ";
to_flow_style_yaml(msg.header, out);
out << ", ";
}
// member: command
{
out << "command: ";
rosidl_generator_traits::value_to_yaml(msg.command, out);
out << ", ";
}
// member: position
{
out << "position: ";
rosidl_generator_traits::value_to_yaml(msg.position, out);
out << ", ";
}
// member: speed
{
out << "speed: ";
rosidl_generator_traits::value_to_yaml(msg.speed, out);
out << ", ";
}
// member: force
{
out << "force: ";
rosidl_generator_traits::value_to_yaml(msg.force, out);
out << ", ";
}
// member: wait_complete
{
out << "wait_complete: ";
rosidl_generator_traits::value_to_yaml(msg.wait_complete, out);
out << ", ";
}
// member: timeout
{
out << "timeout: ";
rosidl_generator_traits::value_to_yaml(msg.timeout, out);
}
out << "}";
} // NOLINT(readability/fn_size)
inline void to_block_style_yaml(
const GripperCommand & msg,
std::ostream & out, size_t indentation = 0)
{
// member: header
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "header:\n";
to_block_style_yaml(msg.header, out, indentation + 2);
}
// member: command
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "command: ";
rosidl_generator_traits::value_to_yaml(msg.command, out);
out << "\n";
}
// member: position
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "position: ";
rosidl_generator_traits::value_to_yaml(msg.position, out);
out << "\n";
}
// member: speed
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "speed: ";
rosidl_generator_traits::value_to_yaml(msg.speed, out);
out << "\n";
}
// member: force
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "force: ";
rosidl_generator_traits::value_to_yaml(msg.force, out);
out << "\n";
}
// member: wait_complete
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "wait_complete: ";
rosidl_generator_traits::value_to_yaml(msg.wait_complete, out);
out << "\n";
}
// member: timeout
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "timeout: ";
rosidl_generator_traits::value_to_yaml(msg.timeout, out);
out << "\n";
}
} // NOLINT(readability/fn_size)
inline std::string to_yaml(const GripperCommand & msg, bool use_flow_style = false)
{
std::ostringstream out;
if (use_flow_style) {
to_flow_style_yaml(msg, out);
} else {
to_block_style_yaml(msg, out);
}
return out.str();
}
} // namespace msg
} // namespace arm_msgs
namespace rosidl_generator_traits
{
[[deprecated("use arm_msgs::msg::to_block_style_yaml() instead")]]
inline void to_yaml(
const arm_msgs::msg::GripperCommand & msg,
std::ostream & out, size_t indentation = 0)
{
arm_msgs::msg::to_block_style_yaml(msg, out, indentation);
}
[[deprecated("use arm_msgs::msg::to_yaml() instead")]]
inline std::string to_yaml(const arm_msgs::msg::GripperCommand & msg)
{
return arm_msgs::msg::to_yaml(msg);
}
template<>
inline const char * data_type<arm_msgs::msg::GripperCommand>()
{
return "arm_msgs::msg::GripperCommand";
}
template<>
inline const char * name<arm_msgs::msg::GripperCommand>()
{
return "arm_msgs/msg/GripperCommand";
}
template<>
struct has_fixed_size<arm_msgs::msg::GripperCommand>
: std::integral_constant<bool, false> {};
template<>
struct has_bounded_size<arm_msgs::msg::GripperCommand>
: std::integral_constant<bool, false> {};
template<>
struct is_message<arm_msgs::msg::GripperCommand>
: std::true_type {};
} // namespace rosidl_generator_traits
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TRAITS_HPP_
@@ -0,0 +1,195 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#include <stddef.h>
#include "arm_msgs/msg/detail/gripper_command__rosidl_typesupport_introspection_c.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
#include "rosidl_typesupport_introspection_c/field_types.h"
#include "rosidl_typesupport_introspection_c/identifier.h"
#include "rosidl_typesupport_introspection_c/message_introspection.h"
#include "arm_msgs/msg/detail/gripper_command__functions.h"
#include "arm_msgs/msg/detail/gripper_command__struct.h"
// Include directives for member types
// Member `header`
#include "std_msgs/msg/header.h"
// Member `header`
#include "std_msgs/msg/detail/header__rosidl_typesupport_introspection_c.h"
// Member `command`
#include "rosidl_runtime_c/string_functions.h"
#ifdef __cplusplus
extern "C"
{
#endif
void arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_init_function(
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
{
// TODO(karsten1987): initializers are not yet implemented for typesupport c
// see https://github.com/ros2/ros2/issues/397
(void) _init;
arm_msgs__msg__GripperCommand__init(message_memory);
}
void arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_fini_function(void * message_memory)
{
arm_msgs__msg__GripperCommand__fini(message_memory);
}
static rosidl_typesupport_introspection_c__MessageMember arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_member_array[7] = {
{
"header", // name
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
0, // upper bound of string
NULL, // members of sub message (initialized later)
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, header), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"command", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, command), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"position", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, position), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"speed", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, speed), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"force", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, force), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"wait_complete", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, wait_complete), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"timeout", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperCommand, timeout), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
}
};
static const rosidl_typesupport_introspection_c__MessageMembers arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_members = {
"arm_msgs__msg", // message namespace
"GripperCommand", // message name
7, // number of fields
sizeof(arm_msgs__msg__GripperCommand),
arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_member_array, // message members
arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_init_function, // function to initialize message memory (memory has to be allocated)
arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_fini_function // function to terminate message instance (will not free memory)
};
// this is not const since it must be initialized on first access
// since C does not allow non-integral compile-time constants
static rosidl_message_type_support_t arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_type_support_handle = {
0,
&arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_members,
get_message_typesupport_handle_function,
};
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, GripperCommand)() {
arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_member_array[0].members_ =
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, std_msgs, msg, Header)();
if (!arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_type_support_handle.typesupport_identifier) {
arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_type_support_handle.typesupport_identifier =
rosidl_typesupport_introspection_c__identifier;
}
return &arm_msgs__msg__GripperCommand__rosidl_typesupport_introspection_c__GripperCommand_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,211 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/detail/gripper_command__struct.hpp"
#include "rosidl_typesupport_introspection_cpp/field_types.hpp"
#include "rosidl_typesupport_introspection_cpp/identifier.hpp"
#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp"
#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
namespace arm_msgs
{
namespace msg
{
namespace rosidl_typesupport_introspection_cpp
{
void GripperCommand_init_function(
void * message_memory, rosidl_runtime_cpp::MessageInitialization _init)
{
new (message_memory) arm_msgs::msg::GripperCommand(_init);
}
void GripperCommand_fini_function(void * message_memory)
{
auto typed_message = static_cast<arm_msgs::msg::GripperCommand *>(message_memory);
typed_message->~GripperCommand();
}
static const ::rosidl_typesupport_introspection_cpp::MessageMember GripperCommand_message_member_array[7] = {
{
"header", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type
0, // upper bound of string
::rosidl_typesupport_introspection_cpp::get_message_type_support_handle<std_msgs::msg::Header>(), // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, header), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"command", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, command), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"position", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, position), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"speed", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, speed), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"force", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, force), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"wait_complete", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, wait_complete), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"timeout", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperCommand, timeout), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
}
};
static const ::rosidl_typesupport_introspection_cpp::MessageMembers GripperCommand_message_members = {
"arm_msgs::msg", // message namespace
"GripperCommand", // message name
7, // number of fields
sizeof(arm_msgs::msg::GripperCommand),
GripperCommand_message_member_array, // message members
GripperCommand_init_function, // function to initialize message memory (memory has to be allocated)
GripperCommand_fini_function // function to terminate message instance (will not free memory)
};
static const rosidl_message_type_support_t GripperCommand_message_type_support_handle = {
::rosidl_typesupport_introspection_cpp::typesupport_identifier,
&GripperCommand_message_members,
get_message_typesupport_handle_function,
};
} // namespace rosidl_typesupport_introspection_cpp
} // namespace msg
} // namespace arm_msgs
namespace rosidl_typesupport_introspection_cpp
{
template<>
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
get_message_type_support_handle<arm_msgs::msg::GripperCommand>()
{
return &::arm_msgs::msg::rosidl_typesupport_introspection_cpp::GripperCommand_message_type_support_handle;
}
} // namespace rosidl_typesupport_introspection_cpp
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, GripperCommand)() {
return &::arm_msgs::msg::rosidl_typesupport_introspection_cpp::GripperCommand_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,33 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TYPE_SUPPORT_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TYPE_SUPPORT_H_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
msg,
GripperCommand
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TYPE_SUPPORT_H_
@@ -0,0 +1,31 @@
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
// with input from arm_msgs:msg/GripperCommand.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TYPE_SUPPORT_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TYPE_SUPPORT_HPP_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_cpp__visibility_control.hpp"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
msg,
GripperCommand
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_COMMAND__TYPE_SUPPORT_HPP_
@@ -0,0 +1,296 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__BUILDER_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/msg/detail/gripper_status__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace msg
{
namespace builder
{
class Init_GripperStatus_error_msg
{
public:
explicit Init_GripperStatus_error_msg(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
::arm_msgs::msg::GripperStatus error_msg(::arm_msgs::msg::GripperStatus::_error_msg_type arg)
{
msg_.error_msg = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_force
{
public:
explicit Init_GripperStatus_force(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_error_msg force(::arm_msgs::msg::GripperStatus::_force_type arg)
{
msg_.force = std::move(arg);
return Init_GripperStatus_error_msg(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_velocity
{
public:
explicit Init_GripperStatus_velocity(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_force velocity(::arm_msgs::msg::GripperStatus::_velocity_type arg)
{
msg_.velocity = std::move(arg);
return Init_GripperStatus_force(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_rotation_state
{
public:
explicit Init_GripperStatus_rotation_state(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_velocity rotation_state(::arm_msgs::msg::GripperStatus::_rotation_state_type arg)
{
msg_.rotation_state = std::move(arg);
return Init_GripperStatus_velocity(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_gripper_state
{
public:
explicit Init_GripperStatus_gripper_state(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_rotation_state gripper_state(::arm_msgs::msg::GripperStatus::_gripper_state_type arg)
{
msg_.gripper_state = std::move(arg);
return Init_GripperStatus_rotation_state(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_rotation_deg
{
public:
explicit Init_GripperStatus_rotation_deg(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_gripper_state rotation_deg(::arm_msgs::msg::GripperStatus::_rotation_deg_type arg)
{
msg_.rotation_deg = std::move(arg);
return Init_GripperStatus_gripper_state(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_finger_position_per_mille
{
public:
explicit Init_GripperStatus_finger_position_per_mille(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_rotation_deg finger_position_per_mille(::arm_msgs::msg::GripperStatus::_finger_position_per_mille_type arg)
{
msg_.finger_position_per_mille = std::move(arg);
return Init_GripperStatus_rotation_deg(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_position
{
public:
explicit Init_GripperStatus_position(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_finger_position_per_mille position(::arm_msgs::msg::GripperStatus::_position_type arg)
{
msg_.position = std::move(arg);
return Init_GripperStatus_finger_position_per_mille(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_is_gripped
{
public:
explicit Init_GripperStatus_is_gripped(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_position is_gripped(::arm_msgs::msg::GripperStatus::_is_gripped_type arg)
{
msg_.is_gripped = std::move(arg);
return Init_GripperStatus_position(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_is_moving
{
public:
explicit Init_GripperStatus_is_moving(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_is_gripped is_moving(::arm_msgs::msg::GripperStatus::_is_moving_type arg)
{
msg_.is_moving = std::move(arg);
return Init_GripperStatus_is_gripped(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_initialized
{
public:
explicit Init_GripperStatus_initialized(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_is_moving initialized(::arm_msgs::msg::GripperStatus::_initialized_type arg)
{
msg_.initialized = std::move(arg);
return Init_GripperStatus_is_moving(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_connected
{
public:
explicit Init_GripperStatus_connected(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_initialized connected(::arm_msgs::msg::GripperStatus::_connected_type arg)
{
msg_.connected = std::move(arg);
return Init_GripperStatus_initialized(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_state
{
public:
explicit Init_GripperStatus_state(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_connected state(::arm_msgs::msg::GripperStatus::_state_type arg)
{
msg_.state = std::move(arg);
return Init_GripperStatus_connected(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_gripper_type
{
public:
explicit Init_GripperStatus_gripper_type(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_state gripper_type(::arm_msgs::msg::GripperStatus::_gripper_type_type arg)
{
msg_.gripper_type = std::move(arg);
return Init_GripperStatus_state(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_name
{
public:
explicit Init_GripperStatus_name(::arm_msgs::msg::GripperStatus & msg)
: msg_(msg)
{}
Init_GripperStatus_gripper_type name(::arm_msgs::msg::GripperStatus::_name_type arg)
{
msg_.name = std::move(arg);
return Init_GripperStatus_gripper_type(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
class Init_GripperStatus_header
{
public:
Init_GripperStatus_header()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_GripperStatus_name header(::arm_msgs::msg::GripperStatus::_header_type arg)
{
msg_.header = std::move(arg);
return Init_GripperStatus_name(msg_);
}
private:
::arm_msgs::msg::GripperStatus msg_;
};
} // namespace builder
} // namespace msg
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::msg::GripperStatus>()
{
return arm_msgs::msg::builder::Init_GripperStatus_header();
}
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__BUILDER_HPP_
@@ -0,0 +1,420 @@
// generated from rosidl_generator_c/resource/idl__functions.c.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#include "arm_msgs/msg/detail/gripper_status__functions.h"
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "rcutils/allocator.h"
// Include directives for member types
// Member `header`
#include "std_msgs/msg/detail/header__functions.h"
// Member `name`
// Member `gripper_type`
// Member `state`
// Member `error_msg`
#include "rosidl_runtime_c/string_functions.h"
bool
arm_msgs__msg__GripperStatus__init(arm_msgs__msg__GripperStatus * msg)
{
if (!msg) {
return false;
}
// header
if (!std_msgs__msg__Header__init(&msg->header)) {
arm_msgs__msg__GripperStatus__fini(msg);
return false;
}
// name
if (!rosidl_runtime_c__String__init(&msg->name)) {
arm_msgs__msg__GripperStatus__fini(msg);
return false;
}
// gripper_type
if (!rosidl_runtime_c__String__init(&msg->gripper_type)) {
arm_msgs__msg__GripperStatus__fini(msg);
return false;
}
// state
if (!rosidl_runtime_c__String__init(&msg->state)) {
arm_msgs__msg__GripperStatus__fini(msg);
return false;
}
// connected
// initialized
// is_moving
// is_gripped
// position
// finger_position_per_mille
// rotation_deg
// gripper_state
// rotation_state
// velocity
// force
// error_msg
if (!rosidl_runtime_c__String__init(&msg->error_msg)) {
arm_msgs__msg__GripperStatus__fini(msg);
return false;
}
return true;
}
void
arm_msgs__msg__GripperStatus__fini(arm_msgs__msg__GripperStatus * msg)
{
if (!msg) {
return;
}
// header
std_msgs__msg__Header__fini(&msg->header);
// name
rosidl_runtime_c__String__fini(&msg->name);
// gripper_type
rosidl_runtime_c__String__fini(&msg->gripper_type);
// state
rosidl_runtime_c__String__fini(&msg->state);
// connected
// initialized
// is_moving
// is_gripped
// position
// finger_position_per_mille
// rotation_deg
// gripper_state
// rotation_state
// velocity
// force
// error_msg
rosidl_runtime_c__String__fini(&msg->error_msg);
}
bool
arm_msgs__msg__GripperStatus__are_equal(const arm_msgs__msg__GripperStatus * lhs, const arm_msgs__msg__GripperStatus * rhs)
{
if (!lhs || !rhs) {
return false;
}
// header
if (!std_msgs__msg__Header__are_equal(
&(lhs->header), &(rhs->header)))
{
return false;
}
// name
if (!rosidl_runtime_c__String__are_equal(
&(lhs->name), &(rhs->name)))
{
return false;
}
// gripper_type
if (!rosidl_runtime_c__String__are_equal(
&(lhs->gripper_type), &(rhs->gripper_type)))
{
return false;
}
// state
if (!rosidl_runtime_c__String__are_equal(
&(lhs->state), &(rhs->state)))
{
return false;
}
// connected
if (lhs->connected != rhs->connected) {
return false;
}
// initialized
if (lhs->initialized != rhs->initialized) {
return false;
}
// is_moving
if (lhs->is_moving != rhs->is_moving) {
return false;
}
// is_gripped
if (lhs->is_gripped != rhs->is_gripped) {
return false;
}
// position
if (lhs->position != rhs->position) {
return false;
}
// finger_position_per_mille
if (lhs->finger_position_per_mille != rhs->finger_position_per_mille) {
return false;
}
// rotation_deg
if (lhs->rotation_deg != rhs->rotation_deg) {
return false;
}
// gripper_state
if (lhs->gripper_state != rhs->gripper_state) {
return false;
}
// rotation_state
if (lhs->rotation_state != rhs->rotation_state) {
return false;
}
// velocity
if (lhs->velocity != rhs->velocity) {
return false;
}
// force
if (lhs->force != rhs->force) {
return false;
}
// error_msg
if (!rosidl_runtime_c__String__are_equal(
&(lhs->error_msg), &(rhs->error_msg)))
{
return false;
}
return true;
}
bool
arm_msgs__msg__GripperStatus__copy(
const arm_msgs__msg__GripperStatus * input,
arm_msgs__msg__GripperStatus * output)
{
if (!input || !output) {
return false;
}
// header
if (!std_msgs__msg__Header__copy(
&(input->header), &(output->header)))
{
return false;
}
// name
if (!rosidl_runtime_c__String__copy(
&(input->name), &(output->name)))
{
return false;
}
// gripper_type
if (!rosidl_runtime_c__String__copy(
&(input->gripper_type), &(output->gripper_type)))
{
return false;
}
// state
if (!rosidl_runtime_c__String__copy(
&(input->state), &(output->state)))
{
return false;
}
// connected
output->connected = input->connected;
// initialized
output->initialized = input->initialized;
// is_moving
output->is_moving = input->is_moving;
// is_gripped
output->is_gripped = input->is_gripped;
// position
output->position = input->position;
// finger_position_per_mille
output->finger_position_per_mille = input->finger_position_per_mille;
// rotation_deg
output->rotation_deg = input->rotation_deg;
// gripper_state
output->gripper_state = input->gripper_state;
// rotation_state
output->rotation_state = input->rotation_state;
// velocity
output->velocity = input->velocity;
// force
output->force = input->force;
// error_msg
if (!rosidl_runtime_c__String__copy(
&(input->error_msg), &(output->error_msg)))
{
return false;
}
return true;
}
arm_msgs__msg__GripperStatus *
arm_msgs__msg__GripperStatus__create()
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperStatus * msg = (arm_msgs__msg__GripperStatus *)allocator.allocate(sizeof(arm_msgs__msg__GripperStatus), allocator.state);
if (!msg) {
return NULL;
}
memset(msg, 0, sizeof(arm_msgs__msg__GripperStatus));
bool success = arm_msgs__msg__GripperStatus__init(msg);
if (!success) {
allocator.deallocate(msg, allocator.state);
return NULL;
}
return msg;
}
void
arm_msgs__msg__GripperStatus__destroy(arm_msgs__msg__GripperStatus * msg)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (msg) {
arm_msgs__msg__GripperStatus__fini(msg);
}
allocator.deallocate(msg, allocator.state);
}
bool
arm_msgs__msg__GripperStatus__Sequence__init(arm_msgs__msg__GripperStatus__Sequence * array, size_t size)
{
if (!array) {
return false;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperStatus * data = NULL;
if (size) {
data = (arm_msgs__msg__GripperStatus *)allocator.zero_allocate(size, sizeof(arm_msgs__msg__GripperStatus), allocator.state);
if (!data) {
return false;
}
// initialize all array elements
size_t i;
for (i = 0; i < size; ++i) {
bool success = arm_msgs__msg__GripperStatus__init(&data[i]);
if (!success) {
break;
}
}
if (i < size) {
// if initialization failed finalize the already initialized array elements
for (; i > 0; --i) {
arm_msgs__msg__GripperStatus__fini(&data[i - 1]);
}
allocator.deallocate(data, allocator.state);
return false;
}
}
array->data = data;
array->size = size;
array->capacity = size;
return true;
}
void
arm_msgs__msg__GripperStatus__Sequence__fini(arm_msgs__msg__GripperStatus__Sequence * array)
{
if (!array) {
return;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array->data) {
// ensure that data and capacity values are consistent
assert(array->capacity > 0);
// finalize all array elements
for (size_t i = 0; i < array->capacity; ++i) {
arm_msgs__msg__GripperStatus__fini(&array->data[i]);
}
allocator.deallocate(array->data, allocator.state);
array->data = NULL;
array->size = 0;
array->capacity = 0;
} else {
// ensure that data, size, and capacity values are consistent
assert(0 == array->size);
assert(0 == array->capacity);
}
}
arm_msgs__msg__GripperStatus__Sequence *
arm_msgs__msg__GripperStatus__Sequence__create(size_t size)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperStatus__Sequence * array = (arm_msgs__msg__GripperStatus__Sequence *)allocator.allocate(sizeof(arm_msgs__msg__GripperStatus__Sequence), allocator.state);
if (!array) {
return NULL;
}
bool success = arm_msgs__msg__GripperStatus__Sequence__init(array, size);
if (!success) {
allocator.deallocate(array, allocator.state);
return NULL;
}
return array;
}
void
arm_msgs__msg__GripperStatus__Sequence__destroy(arm_msgs__msg__GripperStatus__Sequence * array)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array) {
arm_msgs__msg__GripperStatus__Sequence__fini(array);
}
allocator.deallocate(array, allocator.state);
}
bool
arm_msgs__msg__GripperStatus__Sequence__are_equal(const arm_msgs__msg__GripperStatus__Sequence * lhs, const arm_msgs__msg__GripperStatus__Sequence * rhs)
{
if (!lhs || !rhs) {
return false;
}
if (lhs->size != rhs->size) {
return false;
}
for (size_t i = 0; i < lhs->size; ++i) {
if (!arm_msgs__msg__GripperStatus__are_equal(&(lhs->data[i]), &(rhs->data[i]))) {
return false;
}
}
return true;
}
bool
arm_msgs__msg__GripperStatus__Sequence__copy(
const arm_msgs__msg__GripperStatus__Sequence * input,
arm_msgs__msg__GripperStatus__Sequence * output)
{
if (!input || !output) {
return false;
}
if (output->capacity < input->size) {
const size_t allocation_size =
input->size * sizeof(arm_msgs__msg__GripperStatus);
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__GripperStatus * data =
(arm_msgs__msg__GripperStatus *)allocator.reallocate(
output->data, allocation_size, allocator.state);
if (!data) {
return false;
}
// If reallocation succeeded, memory may or may not have been moved
// to fulfill the allocation request, invalidating output->data.
output->data = data;
for (size_t i = output->capacity; i < input->size; ++i) {
if (!arm_msgs__msg__GripperStatus__init(&output->data[i])) {
// If initialization of any new item fails, roll back
// all previously initialized items. Existing items
// in output are to be left unmodified.
for (; i-- > output->capacity; ) {
arm_msgs__msg__GripperStatus__fini(&output->data[i]);
}
return false;
}
}
output->capacity = input->size;
}
output->size = input->size;
for (size_t i = 0; i < input->size; ++i) {
if (!arm_msgs__msg__GripperStatus__copy(
&(input->data[i]), &(output->data[i])))
{
return false;
}
}
return true;
}
@@ -0,0 +1,177 @@
// generated from rosidl_generator_c/resource/idl__functions.h.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__FUNCTIONS_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__FUNCTIONS_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stdlib.h>
#include "rosidl_runtime_c/visibility_control.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#include "arm_msgs/msg/detail/gripper_status__struct.h"
/// Initialize msg/GripperStatus message.
/**
* If the init function is called twice for the same message without
* calling fini inbetween previously allocated memory will be leaked.
* \param[in,out] msg The previously allocated message pointer.
* Fields without a default value will not be initialized by this function.
* You might want to call memset(msg, 0, sizeof(
* arm_msgs__msg__GripperStatus
* )) before or use
* arm_msgs__msg__GripperStatus__create()
* to allocate and initialize the message.
* \return true if initialization was successful, otherwise false
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperStatus__init(arm_msgs__msg__GripperStatus * msg);
/// Finalize msg/GripperStatus message.
/**
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperStatus__fini(arm_msgs__msg__GripperStatus * msg);
/// Create msg/GripperStatus message.
/**
* It allocates the memory for the message, sets the memory to zero, and
* calls
* arm_msgs__msg__GripperStatus__init().
* \return The pointer to the initialized message if successful,
* otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__GripperStatus *
arm_msgs__msg__GripperStatus__create();
/// Destroy msg/GripperStatus message.
/**
* It calls
* arm_msgs__msg__GripperStatus__fini()
* and frees the memory of the message.
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperStatus__destroy(arm_msgs__msg__GripperStatus * msg);
/// Check for msg/GripperStatus message equality.
/**
* \param[in] lhs The message on the left hand size of the equality operator.
* \param[in] rhs The message on the right hand size of the equality operator.
* \return true if messages are equal, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperStatus__are_equal(const arm_msgs__msg__GripperStatus * lhs, const arm_msgs__msg__GripperStatus * rhs);
/// Copy a msg/GripperStatus message.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source message pointer.
* \param[out] output The target message pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer is null
* or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperStatus__copy(
const arm_msgs__msg__GripperStatus * input,
arm_msgs__msg__GripperStatus * output);
/// Initialize array of msg/GripperStatus messages.
/**
* It allocates the memory for the number of elements and calls
* arm_msgs__msg__GripperStatus__init()
* for each element of the array.
* \param[in,out] array The allocated array pointer.
* \param[in] size The size / capacity of the array.
* \return true if initialization was successful, otherwise false
* If the array pointer is valid and the size is zero it is guaranteed
# to return true.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperStatus__Sequence__init(arm_msgs__msg__GripperStatus__Sequence * array, size_t size);
/// Finalize array of msg/GripperStatus messages.
/**
* It calls
* arm_msgs__msg__GripperStatus__fini()
* for each element of the array and frees the memory for the number of
* elements.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperStatus__Sequence__fini(arm_msgs__msg__GripperStatus__Sequence * array);
/// Create array of msg/GripperStatus messages.
/**
* It allocates the memory for the array and calls
* arm_msgs__msg__GripperStatus__Sequence__init().
* \param[in] size The size / capacity of the array.
* \return The pointer to the initialized array if successful, otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__GripperStatus__Sequence *
arm_msgs__msg__GripperStatus__Sequence__create(size_t size);
/// Destroy array of msg/GripperStatus messages.
/**
* It calls
* arm_msgs__msg__GripperStatus__Sequence__fini()
* on the array,
* and frees the memory of the array.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__GripperStatus__Sequence__destroy(arm_msgs__msg__GripperStatus__Sequence * array);
/// Check for msg/GripperStatus message array equality.
/**
* \param[in] lhs The message array on the left hand size of the equality operator.
* \param[in] rhs The message array on the right hand size of the equality operator.
* \return true if message arrays are equal in size and content, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperStatus__Sequence__are_equal(const arm_msgs__msg__GripperStatus__Sequence * lhs, const arm_msgs__msg__GripperStatus__Sequence * rhs);
/// Copy an array of msg/GripperStatus messages.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source array pointer.
* \param[out] output The target array pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer
* is null or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__GripperStatus__Sequence__copy(
const arm_msgs__msg__GripperStatus__Sequence * input,
arm_msgs__msg__GripperStatus__Sequence * output);
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__FUNCTIONS_H_
@@ -0,0 +1,37 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__msg__GripperStatus(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__msg__GripperStatus(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, msg, GripperStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,80 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/msg/detail/gripper_status__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace msg
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::msg::GripperStatus & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::msg::GripperStatus & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::msg::GripperStatus & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_GripperStatus(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace msg
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, msg, GripperStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,26 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, GripperStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,27 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, GripperStatus)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,74 @@
// NOLINT: This file starts with a BOM since it contain non-ASCII characters
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__STRUCT_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__struct.h"
// Member 'name'
// Member 'gripper_type'
// Member 'state'
// Member 'error_msg'
#include "rosidl_runtime_c/string.h"
/// Struct defined in msg/GripperStatus in the package arm_msgs.
typedef struct arm_msgs__msg__GripperStatus
{
std_msgs__msg__Header header;
rosidl_runtime_c__String name;
/// parallel|rotary
rosidl_runtime_c__String gripper_type;
/// IDLE|MOVING|GRIPPING|RELEASING|ERROR
rosidl_runtime_c__String state;
bool connected;
bool initialized;
bool is_moving;
bool is_gripped;
/// 平行夹爪:当前行程 mm;旋转夹爪:当前旋转角度 deg
double position;
/// RGI 旋转夹爪额外反馈;平行夹爪为 0
double finger_position_per_mille;
double rotation_deg;
/// DH 原始状态字;未读到为 -1
/// 0 moving, 1 reached, 2 object caught, 3 object dropped
int32_t gripper_state;
/// RGI: 0 moving, 1 reached, 2 blocking, 3 had been blocked
int32_t rotation_state;
/// 最近一次命令速度 %
double velocity;
/// 最近一次命令力/力矩 %
double force;
rosidl_runtime_c__String error_msg;
} arm_msgs__msg__GripperStatus;
// Struct for a sequence of arm_msgs__msg__GripperStatus.
typedef struct arm_msgs__msg__GripperStatus__Sequence
{
arm_msgs__msg__GripperStatus * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__msg__GripperStatus__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__STRUCT_H_
@@ -0,0 +1,349 @@
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__STRUCT_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__STRUCT_HPP_
#include <algorithm>
#include <array>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "rosidl_runtime_cpp/bounded_vector.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__struct.hpp"
#ifndef _WIN32
# define DEPRECATED__arm_msgs__msg__GripperStatus __attribute__((deprecated))
#else
# define DEPRECATED__arm_msgs__msg__GripperStatus __declspec(deprecated)
#endif
namespace arm_msgs
{
namespace msg
{
// message struct
template<class ContainerAllocator>
struct GripperStatus_
{
using Type = GripperStatus_<ContainerAllocator>;
explicit GripperStatus_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
: header(_init)
{
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
{
this->name = "";
this->gripper_type = "";
this->state = "";
this->connected = false;
this->initialized = false;
this->is_moving = false;
this->is_gripped = false;
this->position = 0.0;
this->finger_position_per_mille = 0.0;
this->rotation_deg = 0.0;
this->gripper_state = 0l;
this->rotation_state = 0l;
this->velocity = 0.0;
this->force = 0.0;
this->error_msg = "";
}
}
explicit GripperStatus_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
: header(_alloc, _init),
name(_alloc),
gripper_type(_alloc),
state(_alloc),
error_msg(_alloc)
{
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
{
this->name = "";
this->gripper_type = "";
this->state = "";
this->connected = false;
this->initialized = false;
this->is_moving = false;
this->is_gripped = false;
this->position = 0.0;
this->finger_position_per_mille = 0.0;
this->rotation_deg = 0.0;
this->gripper_state = 0l;
this->rotation_state = 0l;
this->velocity = 0.0;
this->force = 0.0;
this->error_msg = "";
}
}
// field types and members
using _header_type =
std_msgs::msg::Header_<ContainerAllocator>;
_header_type header;
using _name_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_name_type name;
using _gripper_type_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_gripper_type_type gripper_type;
using _state_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_state_type state;
using _connected_type =
bool;
_connected_type connected;
using _initialized_type =
bool;
_initialized_type initialized;
using _is_moving_type =
bool;
_is_moving_type is_moving;
using _is_gripped_type =
bool;
_is_gripped_type is_gripped;
using _position_type =
double;
_position_type position;
using _finger_position_per_mille_type =
double;
_finger_position_per_mille_type finger_position_per_mille;
using _rotation_deg_type =
double;
_rotation_deg_type rotation_deg;
using _gripper_state_type =
int32_t;
_gripper_state_type gripper_state;
using _rotation_state_type =
int32_t;
_rotation_state_type rotation_state;
using _velocity_type =
double;
_velocity_type velocity;
using _force_type =
double;
_force_type force;
using _error_msg_type =
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
_error_msg_type error_msg;
// setters for named parameter idiom
Type & set__header(
const std_msgs::msg::Header_<ContainerAllocator> & _arg)
{
this->header = _arg;
return *this;
}
Type & set__name(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->name = _arg;
return *this;
}
Type & set__gripper_type(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->gripper_type = _arg;
return *this;
}
Type & set__state(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->state = _arg;
return *this;
}
Type & set__connected(
const bool & _arg)
{
this->connected = _arg;
return *this;
}
Type & set__initialized(
const bool & _arg)
{
this->initialized = _arg;
return *this;
}
Type & set__is_moving(
const bool & _arg)
{
this->is_moving = _arg;
return *this;
}
Type & set__is_gripped(
const bool & _arg)
{
this->is_gripped = _arg;
return *this;
}
Type & set__position(
const double & _arg)
{
this->position = _arg;
return *this;
}
Type & set__finger_position_per_mille(
const double & _arg)
{
this->finger_position_per_mille = _arg;
return *this;
}
Type & set__rotation_deg(
const double & _arg)
{
this->rotation_deg = _arg;
return *this;
}
Type & set__gripper_state(
const int32_t & _arg)
{
this->gripper_state = _arg;
return *this;
}
Type & set__rotation_state(
const int32_t & _arg)
{
this->rotation_state = _arg;
return *this;
}
Type & set__velocity(
const double & _arg)
{
this->velocity = _arg;
return *this;
}
Type & set__force(
const double & _arg)
{
this->force = _arg;
return *this;
}
Type & set__error_msg(
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
{
this->error_msg = _arg;
return *this;
}
// constant declarations
// pointer types
using RawPtr =
arm_msgs::msg::GripperStatus_<ContainerAllocator> *;
using ConstRawPtr =
const arm_msgs::msg::GripperStatus_<ContainerAllocator> *;
using SharedPtr =
std::shared_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator>>;
using ConstSharedPtr =
std::shared_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator> const>;
template<typename Deleter = std::default_delete<
arm_msgs::msg::GripperStatus_<ContainerAllocator>>>
using UniquePtrWithDeleter =
std::unique_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator>, Deleter>;
using UniquePtr = UniquePtrWithDeleter<>;
template<typename Deleter = std::default_delete<
arm_msgs::msg::GripperStatus_<ContainerAllocator>>>
using ConstUniquePtrWithDeleter =
std::unique_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator> const, Deleter>;
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
using WeakPtr =
std::weak_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator>>;
using ConstWeakPtr =
std::weak_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator> const>;
// pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead
// NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly
typedef DEPRECATED__arm_msgs__msg__GripperStatus
std::shared_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator>>
Ptr;
typedef DEPRECATED__arm_msgs__msg__GripperStatus
std::shared_ptr<arm_msgs::msg::GripperStatus_<ContainerAllocator> const>
ConstPtr;
// comparison operators
bool operator==(const GripperStatus_ & other) const
{
if (this->header != other.header) {
return false;
}
if (this->name != other.name) {
return false;
}
if (this->gripper_type != other.gripper_type) {
return false;
}
if (this->state != other.state) {
return false;
}
if (this->connected != other.connected) {
return false;
}
if (this->initialized != other.initialized) {
return false;
}
if (this->is_moving != other.is_moving) {
return false;
}
if (this->is_gripped != other.is_gripped) {
return false;
}
if (this->position != other.position) {
return false;
}
if (this->finger_position_per_mille != other.finger_position_per_mille) {
return false;
}
if (this->rotation_deg != other.rotation_deg) {
return false;
}
if (this->gripper_state != other.gripper_state) {
return false;
}
if (this->rotation_state != other.rotation_state) {
return false;
}
if (this->velocity != other.velocity) {
return false;
}
if (this->force != other.force) {
return false;
}
if (this->error_msg != other.error_msg) {
return false;
}
return true;
}
bool operator!=(const GripperStatus_ & other) const
{
return !this->operator==(other);
}
}; // struct GripperStatus_
// alias to use template instance with default allocator
using GripperStatus =
arm_msgs::msg::GripperStatus_<std::allocator<void>>;
// constant definitions
} // namespace msg
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__STRUCT_HPP_
@@ -0,0 +1,367 @@
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TRAITS_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TRAITS_HPP_
#include <stdint.h>
#include <sstream>
#include <string>
#include <type_traits>
#include "arm_msgs/msg/detail/gripper_status__struct.hpp"
#include "rosidl_runtime_cpp/traits.hpp"
// Include directives for member types
// Member 'header'
#include "std_msgs/msg/detail/header__traits.hpp"
namespace arm_msgs
{
namespace msg
{
inline void to_flow_style_yaml(
const GripperStatus & msg,
std::ostream & out)
{
out << "{";
// member: header
{
out << "header: ";
to_flow_style_yaml(msg.header, out);
out << ", ";
}
// member: name
{
out << "name: ";
rosidl_generator_traits::value_to_yaml(msg.name, out);
out << ", ";
}
// member: gripper_type
{
out << "gripper_type: ";
rosidl_generator_traits::value_to_yaml(msg.gripper_type, out);
out << ", ";
}
// member: state
{
out << "state: ";
rosidl_generator_traits::value_to_yaml(msg.state, out);
out << ", ";
}
// member: connected
{
out << "connected: ";
rosidl_generator_traits::value_to_yaml(msg.connected, out);
out << ", ";
}
// member: initialized
{
out << "initialized: ";
rosidl_generator_traits::value_to_yaml(msg.initialized, out);
out << ", ";
}
// member: is_moving
{
out << "is_moving: ";
rosidl_generator_traits::value_to_yaml(msg.is_moving, out);
out << ", ";
}
// member: is_gripped
{
out << "is_gripped: ";
rosidl_generator_traits::value_to_yaml(msg.is_gripped, out);
out << ", ";
}
// member: position
{
out << "position: ";
rosidl_generator_traits::value_to_yaml(msg.position, out);
out << ", ";
}
// member: finger_position_per_mille
{
out << "finger_position_per_mille: ";
rosidl_generator_traits::value_to_yaml(msg.finger_position_per_mille, out);
out << ", ";
}
// member: rotation_deg
{
out << "rotation_deg: ";
rosidl_generator_traits::value_to_yaml(msg.rotation_deg, out);
out << ", ";
}
// member: gripper_state
{
out << "gripper_state: ";
rosidl_generator_traits::value_to_yaml(msg.gripper_state, out);
out << ", ";
}
// member: rotation_state
{
out << "rotation_state: ";
rosidl_generator_traits::value_to_yaml(msg.rotation_state, out);
out << ", ";
}
// member: velocity
{
out << "velocity: ";
rosidl_generator_traits::value_to_yaml(msg.velocity, out);
out << ", ";
}
// member: force
{
out << "force: ";
rosidl_generator_traits::value_to_yaml(msg.force, out);
out << ", ";
}
// member: error_msg
{
out << "error_msg: ";
rosidl_generator_traits::value_to_yaml(msg.error_msg, out);
}
out << "}";
} // NOLINT(readability/fn_size)
inline void to_block_style_yaml(
const GripperStatus & msg,
std::ostream & out, size_t indentation = 0)
{
// member: header
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "header:\n";
to_block_style_yaml(msg.header, out, indentation + 2);
}
// member: name
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "name: ";
rosidl_generator_traits::value_to_yaml(msg.name, out);
out << "\n";
}
// member: gripper_type
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "gripper_type: ";
rosidl_generator_traits::value_to_yaml(msg.gripper_type, out);
out << "\n";
}
// member: state
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "state: ";
rosidl_generator_traits::value_to_yaml(msg.state, out);
out << "\n";
}
// member: connected
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "connected: ";
rosidl_generator_traits::value_to_yaml(msg.connected, out);
out << "\n";
}
// member: initialized
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "initialized: ";
rosidl_generator_traits::value_to_yaml(msg.initialized, out);
out << "\n";
}
// member: is_moving
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "is_moving: ";
rosidl_generator_traits::value_to_yaml(msg.is_moving, out);
out << "\n";
}
// member: is_gripped
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "is_gripped: ";
rosidl_generator_traits::value_to_yaml(msg.is_gripped, out);
out << "\n";
}
// member: position
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "position: ";
rosidl_generator_traits::value_to_yaml(msg.position, out);
out << "\n";
}
// member: finger_position_per_mille
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "finger_position_per_mille: ";
rosidl_generator_traits::value_to_yaml(msg.finger_position_per_mille, out);
out << "\n";
}
// member: rotation_deg
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "rotation_deg: ";
rosidl_generator_traits::value_to_yaml(msg.rotation_deg, out);
out << "\n";
}
// member: gripper_state
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "gripper_state: ";
rosidl_generator_traits::value_to_yaml(msg.gripper_state, out);
out << "\n";
}
// member: rotation_state
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "rotation_state: ";
rosidl_generator_traits::value_to_yaml(msg.rotation_state, out);
out << "\n";
}
// member: velocity
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "velocity: ";
rosidl_generator_traits::value_to_yaml(msg.velocity, out);
out << "\n";
}
// member: force
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "force: ";
rosidl_generator_traits::value_to_yaml(msg.force, out);
out << "\n";
}
// member: error_msg
{
if (indentation > 0) {
out << std::string(indentation, ' ');
}
out << "error_msg: ";
rosidl_generator_traits::value_to_yaml(msg.error_msg, out);
out << "\n";
}
} // NOLINT(readability/fn_size)
inline std::string to_yaml(const GripperStatus & msg, bool use_flow_style = false)
{
std::ostringstream out;
if (use_flow_style) {
to_flow_style_yaml(msg, out);
} else {
to_block_style_yaml(msg, out);
}
return out.str();
}
} // namespace msg
} // namespace arm_msgs
namespace rosidl_generator_traits
{
[[deprecated("use arm_msgs::msg::to_block_style_yaml() instead")]]
inline void to_yaml(
const arm_msgs::msg::GripperStatus & msg,
std::ostream & out, size_t indentation = 0)
{
arm_msgs::msg::to_block_style_yaml(msg, out, indentation);
}
[[deprecated("use arm_msgs::msg::to_yaml() instead")]]
inline std::string to_yaml(const arm_msgs::msg::GripperStatus & msg)
{
return arm_msgs::msg::to_yaml(msg);
}
template<>
inline const char * data_type<arm_msgs::msg::GripperStatus>()
{
return "arm_msgs::msg::GripperStatus";
}
template<>
inline const char * name<arm_msgs::msg::GripperStatus>()
{
return "arm_msgs/msg/GripperStatus";
}
template<>
struct has_fixed_size<arm_msgs::msg::GripperStatus>
: std::integral_constant<bool, false> {};
template<>
struct has_bounded_size<arm_msgs::msg::GripperStatus>
: std::integral_constant<bool, false> {};
template<>
struct is_message<arm_msgs::msg::GripperStatus>
: std::true_type {};
} // namespace rosidl_generator_traits
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TRAITS_HPP_
@@ -0,0 +1,351 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#include <stddef.h>
#include "arm_msgs/msg/detail/gripper_status__rosidl_typesupport_introspection_c.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
#include "rosidl_typesupport_introspection_c/field_types.h"
#include "rosidl_typesupport_introspection_c/identifier.h"
#include "rosidl_typesupport_introspection_c/message_introspection.h"
#include "arm_msgs/msg/detail/gripper_status__functions.h"
#include "arm_msgs/msg/detail/gripper_status__struct.h"
// Include directives for member types
// Member `header`
#include "std_msgs/msg/header.h"
// Member `header`
#include "std_msgs/msg/detail/header__rosidl_typesupport_introspection_c.h"
// Member `name`
// Member `gripper_type`
// Member `state`
// Member `error_msg`
#include "rosidl_runtime_c/string_functions.h"
#ifdef __cplusplus
extern "C"
{
#endif
void arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_init_function(
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
{
// TODO(karsten1987): initializers are not yet implemented for typesupport c
// see https://github.com/ros2/ros2/issues/397
(void) _init;
arm_msgs__msg__GripperStatus__init(message_memory);
}
void arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_fini_function(void * message_memory)
{
arm_msgs__msg__GripperStatus__fini(message_memory);
}
static rosidl_typesupport_introspection_c__MessageMember arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_member_array[16] = {
{
"header", // name
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
0, // upper bound of string
NULL, // members of sub message (initialized later)
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, header), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"name", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, name), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"gripper_type", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, gripper_type), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"state", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, state), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"connected", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, connected), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"initialized", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, initialized), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"is_moving", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, is_moving), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"is_gripped", // name
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, is_gripped), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"position", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, position), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"finger_position_per_mille", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, finger_position_per_mille), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"rotation_deg", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, rotation_deg), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"gripper_state", // name
rosidl_typesupport_introspection_c__ROS_TYPE_INT32, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, gripper_state), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"rotation_state", // name
rosidl_typesupport_introspection_c__ROS_TYPE_INT32, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, rotation_state), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"velocity", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, velocity), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"force", // name
rosidl_typesupport_introspection_c__ROS_TYPE_DOUBLE, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, force), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
},
{
"error_msg", // name
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
0, // upper bound of string
NULL, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs__msg__GripperStatus, error_msg), // bytes offset in struct
NULL, // default value
NULL, // size() function pointer
NULL, // get_const(index) function pointer
NULL, // get(index) function pointer
NULL, // fetch(index, &value) function pointer
NULL, // assign(index, value) function pointer
NULL // resize(index) function pointer
}
};
static const rosidl_typesupport_introspection_c__MessageMembers arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_members = {
"arm_msgs__msg", // message namespace
"GripperStatus", // message name
16, // number of fields
sizeof(arm_msgs__msg__GripperStatus),
arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_member_array, // message members
arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_init_function, // function to initialize message memory (memory has to be allocated)
arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_fini_function // function to terminate message instance (will not free memory)
};
// this is not const since it must be initialized on first access
// since C does not allow non-integral compile-time constants
static rosidl_message_type_support_t arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_type_support_handle = {
0,
&arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_members,
get_message_typesupport_handle_function,
};
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, GripperStatus)() {
arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_member_array[0].members_ =
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, std_msgs, msg, Header)();
if (!arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_type_support_handle.typesupport_identifier) {
arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_type_support_handle.typesupport_identifier =
rosidl_typesupport_introspection_c__identifier;
}
return &arm_msgs__msg__GripperStatus__rosidl_typesupport_introspection_c__GripperStatus_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,364 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/detail/gripper_status__struct.hpp"
#include "rosidl_typesupport_introspection_cpp/field_types.hpp"
#include "rosidl_typesupport_introspection_cpp/identifier.hpp"
#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp"
#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
namespace arm_msgs
{
namespace msg
{
namespace rosidl_typesupport_introspection_cpp
{
void GripperStatus_init_function(
void * message_memory, rosidl_runtime_cpp::MessageInitialization _init)
{
new (message_memory) arm_msgs::msg::GripperStatus(_init);
}
void GripperStatus_fini_function(void * message_memory)
{
auto typed_message = static_cast<arm_msgs::msg::GripperStatus *>(message_memory);
typed_message->~GripperStatus();
}
static const ::rosidl_typesupport_introspection_cpp::MessageMember GripperStatus_message_member_array[16] = {
{
"header", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type
0, // upper bound of string
::rosidl_typesupport_introspection_cpp::get_message_type_support_handle<std_msgs::msg::Header>(), // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, header), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"name", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, name), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"gripper_type", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, gripper_type), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"state", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, state), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"connected", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, connected), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"initialized", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, initialized), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"is_moving", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, is_moving), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"is_gripped", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_BOOLEAN, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, is_gripped), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"position", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, position), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"finger_position_per_mille", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, finger_position_per_mille), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"rotation_deg", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, rotation_deg), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"gripper_state", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_INT32, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, gripper_state), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"rotation_state", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_INT32, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, rotation_state), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"velocity", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, velocity), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"force", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_DOUBLE, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, force), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
},
{
"error_msg", // name
::rosidl_typesupport_introspection_cpp::ROS_TYPE_STRING, // type
0, // upper bound of string
nullptr, // members of sub message
false, // is array
0, // array size
false, // is upper bound
offsetof(arm_msgs::msg::GripperStatus, error_msg), // bytes offset in struct
nullptr, // default value
nullptr, // size() function pointer
nullptr, // get_const(index) function pointer
nullptr, // get(index) function pointer
nullptr, // fetch(index, &value) function pointer
nullptr, // assign(index, value) function pointer
nullptr // resize(index) function pointer
}
};
static const ::rosidl_typesupport_introspection_cpp::MessageMembers GripperStatus_message_members = {
"arm_msgs::msg", // message namespace
"GripperStatus", // message name
16, // number of fields
sizeof(arm_msgs::msg::GripperStatus),
GripperStatus_message_member_array, // message members
GripperStatus_init_function, // function to initialize message memory (memory has to be allocated)
GripperStatus_fini_function // function to terminate message instance (will not free memory)
};
static const rosidl_message_type_support_t GripperStatus_message_type_support_handle = {
::rosidl_typesupport_introspection_cpp::typesupport_identifier,
&GripperStatus_message_members,
get_message_typesupport_handle_function,
};
} // namespace rosidl_typesupport_introspection_cpp
} // namespace msg
} // namespace arm_msgs
namespace rosidl_typesupport_introspection_cpp
{
template<>
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
get_message_type_support_handle<arm_msgs::msg::GripperStatus>()
{
return &::arm_msgs::msg::rosidl_typesupport_introspection_cpp::GripperStatus_message_type_support_handle;
}
} // namespace rosidl_typesupport_introspection_cpp
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, GripperStatus)() {
return &::arm_msgs::msg::rosidl_typesupport_introspection_cpp::GripperStatus_message_type_support_handle;
}
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,33 @@
// generated from rosidl_generator_c/resource/idl__type_support.h.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TYPE_SUPPORT_H_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TYPE_SUPPORT_H_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_c,
arm_msgs,
msg,
GripperStatus
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TYPE_SUPPORT_H_
@@ -0,0 +1,31 @@
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
// with input from arm_msgs:msg/GripperStatus.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TYPE_SUPPORT_HPP_
#define ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TYPE_SUPPORT_HPP_
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_generator_cpp__visibility_control.hpp"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#ifdef __cplusplus
extern "C"
{
#endif
// Forward declare the get type support functions for this type.
ROSIDL_GENERATOR_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
rosidl_typesupport_cpp,
arm_msgs,
msg,
GripperStatus
)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__GRIPPER_STATUS__TYPE_SUPPORT_HPP_
@@ -0,0 +1,136 @@
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__BUILDER_HPP_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__BUILDER_HPP_
#include <algorithm>
#include <utility>
#include "arm_msgs/msg/detail/hole_detection__struct.hpp"
#include "rosidl_runtime_cpp/message_initialization.hpp"
namespace arm_msgs
{
namespace msg
{
namespace builder
{
class Init_HoleDetection_bbox
{
public:
explicit Init_HoleDetection_bbox(::arm_msgs::msg::HoleDetection & msg)
: msg_(msg)
{}
::arm_msgs::msg::HoleDetection bbox(::arm_msgs::msg::HoleDetection::_bbox_type arg)
{
msg_.bbox = std::move(arg);
return std::move(msg_);
}
private:
::arm_msgs::msg::HoleDetection msg_;
};
class Init_HoleDetection_label
{
public:
explicit Init_HoleDetection_label(::arm_msgs::msg::HoleDetection & msg)
: msg_(msg)
{}
Init_HoleDetection_bbox label(::arm_msgs::msg::HoleDetection::_label_type arg)
{
msg_.label = std::move(arg);
return Init_HoleDetection_bbox(msg_);
}
private:
::arm_msgs::msg::HoleDetection msg_;
};
class Init_HoleDetection_confidence
{
public:
explicit Init_HoleDetection_confidence(::arm_msgs::msg::HoleDetection & msg)
: msg_(msg)
{}
Init_HoleDetection_label confidence(::arm_msgs::msg::HoleDetection::_confidence_type arg)
{
msg_.confidence = std::move(arg);
return Init_HoleDetection_label(msg_);
}
private:
::arm_msgs::msg::HoleDetection msg_;
};
class Init_HoleDetection_radius_px
{
public:
explicit Init_HoleDetection_radius_px(::arm_msgs::msg::HoleDetection & msg)
: msg_(msg)
{}
Init_HoleDetection_confidence radius_px(::arm_msgs::msg::HoleDetection::_radius_px_type arg)
{
msg_.radius_px = std::move(arg);
return Init_HoleDetection_confidence(msg_);
}
private:
::arm_msgs::msg::HoleDetection msg_;
};
class Init_HoleDetection_v
{
public:
explicit Init_HoleDetection_v(::arm_msgs::msg::HoleDetection & msg)
: msg_(msg)
{}
Init_HoleDetection_radius_px v(::arm_msgs::msg::HoleDetection::_v_type arg)
{
msg_.v = std::move(arg);
return Init_HoleDetection_radius_px(msg_);
}
private:
::arm_msgs::msg::HoleDetection msg_;
};
class Init_HoleDetection_u
{
public:
Init_HoleDetection_u()
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
{}
Init_HoleDetection_v u(::arm_msgs::msg::HoleDetection::_u_type arg)
{
msg_.u = std::move(arg);
return Init_HoleDetection_v(msg_);
}
private:
::arm_msgs::msg::HoleDetection msg_;
};
} // namespace builder
} // namespace msg
template<typename MessageType>
auto build();
template<>
inline
auto build<::arm_msgs::msg::HoleDetection>()
{
return arm_msgs::msg::builder::Init_HoleDetection_u();
}
} // namespace arm_msgs
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__BUILDER_HPP_
@@ -0,0 +1,304 @@
// generated from rosidl_generator_c/resource/idl__functions.c.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#include "arm_msgs/msg/detail/hole_detection__functions.h"
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "rcutils/allocator.h"
// Include directives for member types
// Member `label`
#include "rosidl_runtime_c/string_functions.h"
// Member `bbox`
#include "rosidl_runtime_c/primitives_sequence_functions.h"
bool
arm_msgs__msg__HoleDetection__init(arm_msgs__msg__HoleDetection * msg)
{
if (!msg) {
return false;
}
// u
// v
// radius_px
// confidence
// label
if (!rosidl_runtime_c__String__init(&msg->label)) {
arm_msgs__msg__HoleDetection__fini(msg);
return false;
}
// bbox
if (!rosidl_runtime_c__int32__Sequence__init(&msg->bbox, 0)) {
arm_msgs__msg__HoleDetection__fini(msg);
return false;
}
return true;
}
void
arm_msgs__msg__HoleDetection__fini(arm_msgs__msg__HoleDetection * msg)
{
if (!msg) {
return;
}
// u
// v
// radius_px
// confidence
// label
rosidl_runtime_c__String__fini(&msg->label);
// bbox
rosidl_runtime_c__int32__Sequence__fini(&msg->bbox);
}
bool
arm_msgs__msg__HoleDetection__are_equal(const arm_msgs__msg__HoleDetection * lhs, const arm_msgs__msg__HoleDetection * rhs)
{
if (!lhs || !rhs) {
return false;
}
// u
if (lhs->u != rhs->u) {
return false;
}
// v
if (lhs->v != rhs->v) {
return false;
}
// radius_px
if (lhs->radius_px != rhs->radius_px) {
return false;
}
// confidence
if (lhs->confidence != rhs->confidence) {
return false;
}
// label
if (!rosidl_runtime_c__String__are_equal(
&(lhs->label), &(rhs->label)))
{
return false;
}
// bbox
if (!rosidl_runtime_c__int32__Sequence__are_equal(
&(lhs->bbox), &(rhs->bbox)))
{
return false;
}
return true;
}
bool
arm_msgs__msg__HoleDetection__copy(
const arm_msgs__msg__HoleDetection * input,
arm_msgs__msg__HoleDetection * output)
{
if (!input || !output) {
return false;
}
// u
output->u = input->u;
// v
output->v = input->v;
// radius_px
output->radius_px = input->radius_px;
// confidence
output->confidence = input->confidence;
// label
if (!rosidl_runtime_c__String__copy(
&(input->label), &(output->label)))
{
return false;
}
// bbox
if (!rosidl_runtime_c__int32__Sequence__copy(
&(input->bbox), &(output->bbox)))
{
return false;
}
return true;
}
arm_msgs__msg__HoleDetection *
arm_msgs__msg__HoleDetection__create()
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__HoleDetection * msg = (arm_msgs__msg__HoleDetection *)allocator.allocate(sizeof(arm_msgs__msg__HoleDetection), allocator.state);
if (!msg) {
return NULL;
}
memset(msg, 0, sizeof(arm_msgs__msg__HoleDetection));
bool success = arm_msgs__msg__HoleDetection__init(msg);
if (!success) {
allocator.deallocate(msg, allocator.state);
return NULL;
}
return msg;
}
void
arm_msgs__msg__HoleDetection__destroy(arm_msgs__msg__HoleDetection * msg)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (msg) {
arm_msgs__msg__HoleDetection__fini(msg);
}
allocator.deallocate(msg, allocator.state);
}
bool
arm_msgs__msg__HoleDetection__Sequence__init(arm_msgs__msg__HoleDetection__Sequence * array, size_t size)
{
if (!array) {
return false;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__HoleDetection * data = NULL;
if (size) {
data = (arm_msgs__msg__HoleDetection *)allocator.zero_allocate(size, sizeof(arm_msgs__msg__HoleDetection), allocator.state);
if (!data) {
return false;
}
// initialize all array elements
size_t i;
for (i = 0; i < size; ++i) {
bool success = arm_msgs__msg__HoleDetection__init(&data[i]);
if (!success) {
break;
}
}
if (i < size) {
// if initialization failed finalize the already initialized array elements
for (; i > 0; --i) {
arm_msgs__msg__HoleDetection__fini(&data[i - 1]);
}
allocator.deallocate(data, allocator.state);
return false;
}
}
array->data = data;
array->size = size;
array->capacity = size;
return true;
}
void
arm_msgs__msg__HoleDetection__Sequence__fini(arm_msgs__msg__HoleDetection__Sequence * array)
{
if (!array) {
return;
}
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array->data) {
// ensure that data and capacity values are consistent
assert(array->capacity > 0);
// finalize all array elements
for (size_t i = 0; i < array->capacity; ++i) {
arm_msgs__msg__HoleDetection__fini(&array->data[i]);
}
allocator.deallocate(array->data, allocator.state);
array->data = NULL;
array->size = 0;
array->capacity = 0;
} else {
// ensure that data, size, and capacity values are consistent
assert(0 == array->size);
assert(0 == array->capacity);
}
}
arm_msgs__msg__HoleDetection__Sequence *
arm_msgs__msg__HoleDetection__Sequence__create(size_t size)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__HoleDetection__Sequence * array = (arm_msgs__msg__HoleDetection__Sequence *)allocator.allocate(sizeof(arm_msgs__msg__HoleDetection__Sequence), allocator.state);
if (!array) {
return NULL;
}
bool success = arm_msgs__msg__HoleDetection__Sequence__init(array, size);
if (!success) {
allocator.deallocate(array, allocator.state);
return NULL;
}
return array;
}
void
arm_msgs__msg__HoleDetection__Sequence__destroy(arm_msgs__msg__HoleDetection__Sequence * array)
{
rcutils_allocator_t allocator = rcutils_get_default_allocator();
if (array) {
arm_msgs__msg__HoleDetection__Sequence__fini(array);
}
allocator.deallocate(array, allocator.state);
}
bool
arm_msgs__msg__HoleDetection__Sequence__are_equal(const arm_msgs__msg__HoleDetection__Sequence * lhs, const arm_msgs__msg__HoleDetection__Sequence * rhs)
{
if (!lhs || !rhs) {
return false;
}
if (lhs->size != rhs->size) {
return false;
}
for (size_t i = 0; i < lhs->size; ++i) {
if (!arm_msgs__msg__HoleDetection__are_equal(&(lhs->data[i]), &(rhs->data[i]))) {
return false;
}
}
return true;
}
bool
arm_msgs__msg__HoleDetection__Sequence__copy(
const arm_msgs__msg__HoleDetection__Sequence * input,
arm_msgs__msg__HoleDetection__Sequence * output)
{
if (!input || !output) {
return false;
}
if (output->capacity < input->size) {
const size_t allocation_size =
input->size * sizeof(arm_msgs__msg__HoleDetection);
rcutils_allocator_t allocator = rcutils_get_default_allocator();
arm_msgs__msg__HoleDetection * data =
(arm_msgs__msg__HoleDetection *)allocator.reallocate(
output->data, allocation_size, allocator.state);
if (!data) {
return false;
}
// If reallocation succeeded, memory may or may not have been moved
// to fulfill the allocation request, invalidating output->data.
output->data = data;
for (size_t i = output->capacity; i < input->size; ++i) {
if (!arm_msgs__msg__HoleDetection__init(&output->data[i])) {
// If initialization of any new item fails, roll back
// all previously initialized items. Existing items
// in output are to be left unmodified.
for (; i-- > output->capacity; ) {
arm_msgs__msg__HoleDetection__fini(&output->data[i]);
}
return false;
}
}
output->capacity = input->size;
}
output->size = input->size;
for (size_t i = 0; i < input->size; ++i) {
if (!arm_msgs__msg__HoleDetection__copy(
&(input->data[i]), &(output->data[i])))
{
return false;
}
}
return true;
}
@@ -0,0 +1,177 @@
// generated from rosidl_generator_c/resource/idl__functions.h.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__FUNCTIONS_H_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__FUNCTIONS_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stdlib.h>
#include "rosidl_runtime_c/visibility_control.h"
#include "arm_msgs/msg/rosidl_generator_c__visibility_control.h"
#include "arm_msgs/msg/detail/hole_detection__struct.h"
/// Initialize msg/HoleDetection message.
/**
* If the init function is called twice for the same message without
* calling fini inbetween previously allocated memory will be leaked.
* \param[in,out] msg The previously allocated message pointer.
* Fields without a default value will not be initialized by this function.
* You might want to call memset(msg, 0, sizeof(
* arm_msgs__msg__HoleDetection
* )) before or use
* arm_msgs__msg__HoleDetection__create()
* to allocate and initialize the message.
* \return true if initialization was successful, otherwise false
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__HoleDetection__init(arm_msgs__msg__HoleDetection * msg);
/// Finalize msg/HoleDetection message.
/**
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__HoleDetection__fini(arm_msgs__msg__HoleDetection * msg);
/// Create msg/HoleDetection message.
/**
* It allocates the memory for the message, sets the memory to zero, and
* calls
* arm_msgs__msg__HoleDetection__init().
* \return The pointer to the initialized message if successful,
* otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__HoleDetection *
arm_msgs__msg__HoleDetection__create();
/// Destroy msg/HoleDetection message.
/**
* It calls
* arm_msgs__msg__HoleDetection__fini()
* and frees the memory of the message.
* \param[in,out] msg The allocated message pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__HoleDetection__destroy(arm_msgs__msg__HoleDetection * msg);
/// Check for msg/HoleDetection message equality.
/**
* \param[in] lhs The message on the left hand size of the equality operator.
* \param[in] rhs The message on the right hand size of the equality operator.
* \return true if messages are equal, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__HoleDetection__are_equal(const arm_msgs__msg__HoleDetection * lhs, const arm_msgs__msg__HoleDetection * rhs);
/// Copy a msg/HoleDetection message.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source message pointer.
* \param[out] output The target message pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer is null
* or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__HoleDetection__copy(
const arm_msgs__msg__HoleDetection * input,
arm_msgs__msg__HoleDetection * output);
/// Initialize array of msg/HoleDetection messages.
/**
* It allocates the memory for the number of elements and calls
* arm_msgs__msg__HoleDetection__init()
* for each element of the array.
* \param[in,out] array The allocated array pointer.
* \param[in] size The size / capacity of the array.
* \return true if initialization was successful, otherwise false
* If the array pointer is valid and the size is zero it is guaranteed
# to return true.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__HoleDetection__Sequence__init(arm_msgs__msg__HoleDetection__Sequence * array, size_t size);
/// Finalize array of msg/HoleDetection messages.
/**
* It calls
* arm_msgs__msg__HoleDetection__fini()
* for each element of the array and frees the memory for the number of
* elements.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__HoleDetection__Sequence__fini(arm_msgs__msg__HoleDetection__Sequence * array);
/// Create array of msg/HoleDetection messages.
/**
* It allocates the memory for the array and calls
* arm_msgs__msg__HoleDetection__Sequence__init().
* \param[in] size The size / capacity of the array.
* \return The pointer to the initialized array if successful, otherwise NULL
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
arm_msgs__msg__HoleDetection__Sequence *
arm_msgs__msg__HoleDetection__Sequence__create(size_t size);
/// Destroy array of msg/HoleDetection messages.
/**
* It calls
* arm_msgs__msg__HoleDetection__Sequence__fini()
* on the array,
* and frees the memory of the array.
* \param[in,out] array The initialized array pointer.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
void
arm_msgs__msg__HoleDetection__Sequence__destroy(arm_msgs__msg__HoleDetection__Sequence * array);
/// Check for msg/HoleDetection message array equality.
/**
* \param[in] lhs The message array on the left hand size of the equality operator.
* \param[in] rhs The message array on the right hand size of the equality operator.
* \return true if message arrays are equal in size and content, otherwise false.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__HoleDetection__Sequence__are_equal(const arm_msgs__msg__HoleDetection__Sequence * lhs, const arm_msgs__msg__HoleDetection__Sequence * rhs);
/// Copy an array of msg/HoleDetection messages.
/**
* This functions performs a deep copy, as opposed to the shallow copy that
* plain assignment yields.
*
* \param[in] input The source array pointer.
* \param[out] output The target array pointer, which must
* have been initialized before calling this function.
* \return true if successful, or false if either pointer
* is null or memory allocation fails.
*/
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
bool
arm_msgs__msg__HoleDetection__Sequence__copy(
const arm_msgs__msg__HoleDetection__Sequence * input,
arm_msgs__msg__HoleDetection__Sequence * output);
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__FUNCTIONS_H_
@@ -0,0 +1,37 @@
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
#include <stddef.h>
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t get_serialized_size_arm_msgs__msg__HoleDetection(
const void * untyped_ros_message,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
size_t max_serialized_size_arm_msgs__msg__HoleDetection(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, arm_msgs, msg, HoleDetection)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
@@ -0,0 +1,80 @@
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
#include "arm_msgs/msg/detail/hole_detection__struct.hpp"
#ifndef _WIN32
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
# ifdef __clang__
# pragma clang diagnostic ignored "-Wdeprecated-register"
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifndef _WIN32
# pragma GCC diagnostic pop
#endif
#include "fastcdr/Cdr.h"
namespace arm_msgs
{
namespace msg
{
namespace typesupport_fastrtps_cpp
{
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_serialize(
const arm_msgs::msg::HoleDetection & ros_message,
eprosima::fastcdr::Cdr & cdr);
bool
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
cdr_deserialize(
eprosima::fastcdr::Cdr & cdr,
arm_msgs::msg::HoleDetection & ros_message);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
get_serialized_size(
const arm_msgs::msg::HoleDetection & ros_message,
size_t current_alignment);
size_t
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
max_serialized_size_HoleDetection(
bool & full_bounded,
bool & is_plain,
size_t current_alignment);
} // namespace typesupport_fastrtps_cpp
} // namespace msg
} // namespace arm_msgs
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, arm_msgs, msg, HoleDetection)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
@@ -0,0 +1,26 @@
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "arm_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_arm_msgs
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, arm_msgs, msg, HoleDetection)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
@@ -0,0 +1,27 @@
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
#include "rosidl_runtime_c/message_type_support_struct.h"
#include "rosidl_typesupport_interface/macros.h"
#include "rosidl_typesupport_introspection_cpp/visibility_control.h"
#ifdef __cplusplus
extern "C"
{
#endif
// TODO(dirk-thomas) these visibility macros should be message package specific
ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, arm_msgs, msg, HoleDetection)();
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
@@ -0,0 +1,51 @@
// generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from arm_msgs:msg/HoleDetection.idl
// generated code does not contain a copyright notice
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__STRUCT_H_
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
// Constants defined in the message
// Include directives for member types
// Member 'label'
#include "rosidl_runtime_c/string.h"
// Member 'bbox'
#include "rosidl_runtime_c/primitives_sequence.h"
/// Struct defined in msg/HoleDetection in the package arm_msgs.
typedef struct arm_msgs__msg__HoleDetection
{
float u;
float v;
float radius_px;
float confidence;
rosidl_runtime_c__String label;
rosidl_runtime_c__int32__Sequence bbox;
} arm_msgs__msg__HoleDetection;
// Struct for a sequence of arm_msgs__msg__HoleDetection.
typedef struct arm_msgs__msg__HoleDetection__Sequence
{
arm_msgs__msg__HoleDetection * data;
/// The number of valid items in data
size_t size;
/// The number of allocated items in data
size_t capacity;
} arm_msgs__msg__HoleDetection__Sequence;
#ifdef __cplusplus
}
#endif
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__STRUCT_H_

Some files were not shown because too many files have changed in this diff Show More