别人克隆后没有 install,source 会直接失败。把展开后的 install 放进仓库,符号链接和指向本机 build 的 egg-link 收成真实文件,Python 入口改走当前环境的解释器,这样不用先 colcon build 也能启动。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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_
|
||||
+718
@@ -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_
|
||||
+1241
File diff suppressed because it is too large
Load Diff
+307
@@ -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_
|
||||
+656
@@ -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_
|
||||
+124
@@ -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_
|
||||
+213
@@ -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_
|
||||
+1334
File diff suppressed because it is too large
Load Diff
+1309
File diff suppressed because it is too large
Load Diff
+161
@@ -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_
|
||||
+231
@@ -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_
|
||||
+542
@@ -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_
|
||||
+1241
File diff suppressed because it is too large
Load Diff
+307
@@ -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_
|
||||
+656
@@ -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_
|
||||
+124
@@ -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_
|
||||
+213
@@ -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_
|
||||
+235
@@ -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_
|
||||
+1168
File diff suppressed because it is too large
Load Diff
+1203
File diff suppressed because it is too large
Load Diff
+161
@@ -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_
|
||||
+231
@@ -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_
|
||||
File diff suppressed because it is too large
Load Diff
+307
@@ -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_
|
||||
+656
@@ -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_
|
||||
+124
@@ -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_
|
||||
+213
@@ -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_
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+161
@@ -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_
|
||||
+231
@@ -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,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_
|
||||
+37
@@ -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_
|
||||
+80
@@ -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_
|
||||
+26
@@ -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_
|
||||
+27
@@ -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,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,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_
|
||||
+37
@@ -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_
|
||||
+80
@@ -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_
|
||||
+26
@@ -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_
|
||||
+27
@@ -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,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_
|
||||
+31
@@ -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,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_
|
||||
+37
@@ -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_
|
||||
+80
@@ -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_
|
||||
+26
@@ -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_
|
||||
+27
@@ -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,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_
|
||||
+31
@@ -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,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_
|
||||
+37
@@ -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_
|
||||
+80
@@ -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_
|
||||
+26
@@ -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_
|
||||
+27
@@ -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_
|
||||
@@ -0,0 +1,200 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.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__STRUCT_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__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"
|
||||
|
||||
|
||||
#ifndef _WIN32
|
||||
# define DEPRECATED__arm_msgs__msg__HoleDetection __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__arm_msgs__msg__HoleDetection __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace arm_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct HoleDetection_
|
||||
{
|
||||
using Type = HoleDetection_<ContainerAllocator>;
|
||||
|
||||
explicit HoleDetection_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->u = 0.0f;
|
||||
this->v = 0.0f;
|
||||
this->radius_px = 0.0f;
|
||||
this->confidence = 0.0f;
|
||||
this->label = "";
|
||||
}
|
||||
}
|
||||
|
||||
explicit HoleDetection_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
: label(_alloc)
|
||||
{
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->u = 0.0f;
|
||||
this->v = 0.0f;
|
||||
this->radius_px = 0.0f;
|
||||
this->confidence = 0.0f;
|
||||
this->label = "";
|
||||
}
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _u_type =
|
||||
float;
|
||||
_u_type u;
|
||||
using _v_type =
|
||||
float;
|
||||
_v_type v;
|
||||
using _radius_px_type =
|
||||
float;
|
||||
_radius_px_type radius_px;
|
||||
using _confidence_type =
|
||||
float;
|
||||
_confidence_type confidence;
|
||||
using _label_type =
|
||||
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
|
||||
_label_type label;
|
||||
using _bbox_type =
|
||||
std::vector<int32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int32_t>>;
|
||||
_bbox_type bbox;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__u(
|
||||
const float & _arg)
|
||||
{
|
||||
this->u = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__v(
|
||||
const float & _arg)
|
||||
{
|
||||
this->v = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__radius_px(
|
||||
const float & _arg)
|
||||
{
|
||||
this->radius_px = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__confidence(
|
||||
const float & _arg)
|
||||
{
|
||||
this->confidence = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__label(
|
||||
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
|
||||
{
|
||||
this->label = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__bbox(
|
||||
const std::vector<int32_t, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<int32_t>> & _arg)
|
||||
{
|
||||
this->bbox = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
arm_msgs::msg::HoleDetection_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const arm_msgs::msg::HoleDetection_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
arm_msgs::msg::HoleDetection_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
arm_msgs::msg::HoleDetection_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<arm_msgs::msg::HoleDetection_<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__HoleDetection
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__arm_msgs__msg__HoleDetection
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetection_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const HoleDetection_ & other) const
|
||||
{
|
||||
if (this->u != other.u) {
|
||||
return false;
|
||||
}
|
||||
if (this->v != other.v) {
|
||||
return false;
|
||||
}
|
||||
if (this->radius_px != other.radius_px) {
|
||||
return false;
|
||||
}
|
||||
if (this->confidence != other.confidence) {
|
||||
return false;
|
||||
}
|
||||
if (this->label != other.label) {
|
||||
return false;
|
||||
}
|
||||
if (this->bbox != other.bbox) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const HoleDetection_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct HoleDetection_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using HoleDetection =
|
||||
arm_msgs::msg::HoleDetection_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace arm_msgs
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__STRUCT_HPP_
|
||||
@@ -0,0 +1,215 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.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__TRAITS_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "arm_msgs/msg/detail/hole_detection__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
namespace arm_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const HoleDetection & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: u
|
||||
{
|
||||
out << "u: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.u, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: v
|
||||
{
|
||||
out << "v: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.v, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: radius_px
|
||||
{
|
||||
out << "radius_px: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.radius_px, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: confidence
|
||||
{
|
||||
out << "confidence: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.confidence, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: label
|
||||
{
|
||||
out << "label: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.label, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: bbox
|
||||
{
|
||||
if (msg.bbox.size() == 0) {
|
||||
out << "bbox: []";
|
||||
} else {
|
||||
out << "bbox: [";
|
||||
size_t pending_items = msg.bbox.size();
|
||||
for (auto item : msg.bbox) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
}
|
||||
out << "}";
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline void to_block_style_yaml(
|
||||
const HoleDetection & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
// member: u
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "u: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.u, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: v
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "v: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.v, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: radius_px
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "radius_px: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.radius_px, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: confidence
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "confidence: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.confidence, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: label
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "label: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.label, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: bbox
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.bbox.size() == 0) {
|
||||
out << "bbox: []\n";
|
||||
} else {
|
||||
out << "bbox:\n";
|
||||
for (auto item : msg.bbox) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline std::string to_yaml(const HoleDetection & 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::HoleDetection & 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::HoleDetection & msg)
|
||||
{
|
||||
return arm_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<arm_msgs::msg::HoleDetection>()
|
||||
{
|
||||
return "arm_msgs::msg::HoleDetection";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<arm_msgs::msg::HoleDetection>()
|
||||
{
|
||||
return "arm_msgs/msg/HoleDetection";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<arm_msgs::msg::HoleDetection>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<arm_msgs::msg::HoleDetection>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct is_message<arm_msgs::msg::HoleDetection>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__TRAITS_HPP_
|
||||
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.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__TYPE_SUPPORT_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__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,
|
||||
HoleDetection
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__TYPE_SUPPORT_H_
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.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__TYPE_SUPPORT_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__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,
|
||||
HoleDetection
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTION__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,104 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__BUILDER_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "arm_msgs/msg/detail/hole_detections__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace arm_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_HoleDetections_holes
|
||||
{
|
||||
public:
|
||||
explicit Init_HoleDetections_holes(::arm_msgs::msg::HoleDetections & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::arm_msgs::msg::HoleDetections holes(::arm_msgs::msg::HoleDetections::_holes_type arg)
|
||||
{
|
||||
msg_.holes = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::HoleDetections msg_;
|
||||
};
|
||||
|
||||
class Init_HoleDetections_message
|
||||
{
|
||||
public:
|
||||
explicit Init_HoleDetections_message(::arm_msgs::msg::HoleDetections & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_HoleDetections_holes message(::arm_msgs::msg::HoleDetections::_message_type arg)
|
||||
{
|
||||
msg_.message = std::move(arg);
|
||||
return Init_HoleDetections_holes(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::HoleDetections msg_;
|
||||
};
|
||||
|
||||
class Init_HoleDetections_ok
|
||||
{
|
||||
public:
|
||||
explicit Init_HoleDetections_ok(::arm_msgs::msg::HoleDetections & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_HoleDetections_message ok(::arm_msgs::msg::HoleDetections::_ok_type arg)
|
||||
{
|
||||
msg_.ok = std::move(arg);
|
||||
return Init_HoleDetections_message(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::HoleDetections msg_;
|
||||
};
|
||||
|
||||
class Init_HoleDetections_header
|
||||
{
|
||||
public:
|
||||
Init_HoleDetections_header()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_HoleDetections_ok header(::arm_msgs::msg::HoleDetections::_header_type arg)
|
||||
{
|
||||
msg_.header = std::move(arg);
|
||||
return Init_HoleDetections_ok(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::HoleDetections msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::arm_msgs::msg::HoleDetections>()
|
||||
{
|
||||
return arm_msgs::msg::builder::Init_HoleDetections_header();
|
||||
}
|
||||
|
||||
} // namespace arm_msgs
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__BUILDER_HPP_
|
||||
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__FUNCTIONS_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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_detections__struct.h"
|
||||
|
||||
/// Initialize msg/HoleDetections 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__HoleDetections
|
||||
* )) before or use
|
||||
* arm_msgs__msg__HoleDetections__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__HoleDetections__init(arm_msgs__msg__HoleDetections * msg);
|
||||
|
||||
/// Finalize msg/HoleDetections message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
|
||||
void
|
||||
arm_msgs__msg__HoleDetections__fini(arm_msgs__msg__HoleDetections * msg);
|
||||
|
||||
/// Create msg/HoleDetections message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* arm_msgs__msg__HoleDetections__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
|
||||
arm_msgs__msg__HoleDetections *
|
||||
arm_msgs__msg__HoleDetections__create();
|
||||
|
||||
/// Destroy msg/HoleDetections message.
|
||||
/**
|
||||
* It calls
|
||||
* arm_msgs__msg__HoleDetections__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__HoleDetections__destroy(arm_msgs__msg__HoleDetections * msg);
|
||||
|
||||
/// Check for msg/HoleDetections 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__HoleDetections__are_equal(const arm_msgs__msg__HoleDetections * lhs, const arm_msgs__msg__HoleDetections * rhs);
|
||||
|
||||
/// Copy a msg/HoleDetections 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__HoleDetections__copy(
|
||||
const arm_msgs__msg__HoleDetections * input,
|
||||
arm_msgs__msg__HoleDetections * output);
|
||||
|
||||
/// Initialize array of msg/HoleDetections messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* arm_msgs__msg__HoleDetections__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__HoleDetections__Sequence__init(arm_msgs__msg__HoleDetections__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/HoleDetections messages.
|
||||
/**
|
||||
* It calls
|
||||
* arm_msgs__msg__HoleDetections__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__HoleDetections__Sequence__fini(arm_msgs__msg__HoleDetections__Sequence * array);
|
||||
|
||||
/// Create array of msg/HoleDetections messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* arm_msgs__msg__HoleDetections__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__HoleDetections__Sequence *
|
||||
arm_msgs__msg__HoleDetections__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/HoleDetections messages.
|
||||
/**
|
||||
* It calls
|
||||
* arm_msgs__msg__HoleDetections__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__HoleDetections__Sequence__destroy(arm_msgs__msg__HoleDetections__Sequence * array);
|
||||
|
||||
/// Check for msg/HoleDetections 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__HoleDetections__Sequence__are_equal(const arm_msgs__msg__HoleDetections__Sequence * lhs, const arm_msgs__msg__HoleDetections__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/HoleDetections 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__HoleDetections__Sequence__copy(
|
||||
const arm_msgs__msg__HoleDetections__Sequence * input,
|
||||
arm_msgs__msg__HoleDetections__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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__HoleDetections(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
|
||||
size_t max_serialized_size_arm_msgs__msg__HoleDetections(
|
||||
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, HoleDetections)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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_detections__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::HoleDetections & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
arm_msgs::msg::HoleDetections & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
|
||||
get_serialized_size(
|
||||
const arm_msgs::msg::HoleDetections & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
|
||||
max_serialized_size_HoleDetections(
|
||||
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, HoleDetections)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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, HoleDetections)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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, HoleDetections)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__STRUCT_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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 'message'
|
||||
#include "rosidl_runtime_c/string.h"
|
||||
// Member 'holes'
|
||||
#include "arm_msgs/msg/detail/hole_detection__struct.h"
|
||||
|
||||
/// Struct defined in msg/HoleDetections in the package arm_msgs.
|
||||
typedef struct arm_msgs__msg__HoleDetections
|
||||
{
|
||||
std_msgs__msg__Header header;
|
||||
bool ok;
|
||||
rosidl_runtime_c__String message;
|
||||
arm_msgs__msg__HoleDetection__Sequence holes;
|
||||
} arm_msgs__msg__HoleDetections;
|
||||
|
||||
// Struct for a sequence of arm_msgs__msg__HoleDetections.
|
||||
typedef struct arm_msgs__msg__HoleDetections__Sequence
|
||||
{
|
||||
arm_msgs__msg__HoleDetections * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} arm_msgs__msg__HoleDetections__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__STRUCT_H_
|
||||
@@ -0,0 +1,178 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__STRUCT_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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 'holes'
|
||||
#include "arm_msgs/msg/detail/hole_detection__struct.hpp"
|
||||
|
||||
#ifndef _WIN32
|
||||
# define DEPRECATED__arm_msgs__msg__HoleDetections __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__arm_msgs__msg__HoleDetections __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace arm_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct HoleDetections_
|
||||
{
|
||||
using Type = HoleDetections_<ContainerAllocator>;
|
||||
|
||||
explicit HoleDetections_(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->ok = false;
|
||||
this->message = "";
|
||||
}
|
||||
}
|
||||
|
||||
explicit HoleDetections_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
: header(_alloc, _init),
|
||||
message(_alloc)
|
||||
{
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->ok = false;
|
||||
this->message = "";
|
||||
}
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _header_type =
|
||||
std_msgs::msg::Header_<ContainerAllocator>;
|
||||
_header_type header;
|
||||
using _ok_type =
|
||||
bool;
|
||||
_ok_type ok;
|
||||
using _message_type =
|
||||
std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>>;
|
||||
_message_type message;
|
||||
using _holes_type =
|
||||
std::vector<arm_msgs::msg::HoleDetection_<ContainerAllocator>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<arm_msgs::msg::HoleDetection_<ContainerAllocator>>>;
|
||||
_holes_type holes;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__header(
|
||||
const std_msgs::msg::Header_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->header = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__ok(
|
||||
const bool & _arg)
|
||||
{
|
||||
this->ok = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__message(
|
||||
const std::basic_string<char, std::char_traits<char>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<char>> & _arg)
|
||||
{
|
||||
this->message = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__holes(
|
||||
const std::vector<arm_msgs::msg::HoleDetection_<ContainerAllocator>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<arm_msgs::msg::HoleDetection_<ContainerAllocator>>> & _arg)
|
||||
{
|
||||
this->holes = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
arm_msgs::msg::HoleDetections_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const arm_msgs::msg::HoleDetections_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
arm_msgs::msg::HoleDetections_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
arm_msgs::msg::HoleDetections_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<arm_msgs::msg::HoleDetections_<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__HoleDetections
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__arm_msgs__msg__HoleDetections
|
||||
std::shared_ptr<arm_msgs::msg::HoleDetections_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const HoleDetections_ & other) const
|
||||
{
|
||||
if (this->header != other.header) {
|
||||
return false;
|
||||
}
|
||||
if (this->ok != other.ok) {
|
||||
return false;
|
||||
}
|
||||
if (this->message != other.message) {
|
||||
return false;
|
||||
}
|
||||
if (this->holes != other.holes) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const HoleDetections_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct HoleDetections_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using HoleDetections =
|
||||
arm_msgs::msg::HoleDetections_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace arm_msgs
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__STRUCT_HPP_
|
||||
@@ -0,0 +1,185 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TRAITS_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "arm_msgs/msg/detail/hole_detections__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'header'
|
||||
#include "std_msgs/msg/detail/header__traits.hpp"
|
||||
// Member 'holes'
|
||||
#include "arm_msgs/msg/detail/hole_detection__traits.hpp"
|
||||
|
||||
namespace arm_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const HoleDetections & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: header
|
||||
{
|
||||
out << "header: ";
|
||||
to_flow_style_yaml(msg.header, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: ok
|
||||
{
|
||||
out << "ok: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.ok, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: message
|
||||
{
|
||||
out << "message: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.message, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: holes
|
||||
{
|
||||
if (msg.holes.size() == 0) {
|
||||
out << "holes: []";
|
||||
} else {
|
||||
out << "holes: [";
|
||||
size_t pending_items = msg.holes.size();
|
||||
for (auto item : msg.holes) {
|
||||
to_flow_style_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
}
|
||||
out << "}";
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline void to_block_style_yaml(
|
||||
const HoleDetections & 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: ok
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "ok: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.ok, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: message
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "message: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.message, out);
|
||||
out << "\n";
|
||||
}
|
||||
|
||||
// member: holes
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.holes.size() == 0) {
|
||||
out << "holes: []\n";
|
||||
} else {
|
||||
out << "holes:\n";
|
||||
for (auto item : msg.holes) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "-\n";
|
||||
to_block_style_yaml(item, out, indentation + 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline std::string to_yaml(const HoleDetections & 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::HoleDetections & 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::HoleDetections & msg)
|
||||
{
|
||||
return arm_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<arm_msgs::msg::HoleDetections>()
|
||||
{
|
||||
return "arm_msgs::msg::HoleDetections";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<arm_msgs::msg::HoleDetections>()
|
||||
{
|
||||
return "arm_msgs/msg/HoleDetections";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<arm_msgs::msg::HoleDetections>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<arm_msgs::msg::HoleDetections>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct is_message<arm_msgs::msg::HoleDetections>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TRAITS_HPP_
|
||||
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TYPE_SUPPORT_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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,
|
||||
HoleDetections
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TYPE_SUPPORT_H_
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from arm_msgs:msg/HoleDetections.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TYPE_SUPPORT_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__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,
|
||||
HoleDetections
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__HOLE_DETECTIONS__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,136 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from arm_msgs:msg/JointCommand.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__BUILDER_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "arm_msgs/msg/detail/joint_command__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace arm_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_JointCommand_time_from_start
|
||||
{
|
||||
public:
|
||||
explicit Init_JointCommand_time_from_start(::arm_msgs::msg::JointCommand & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::arm_msgs::msg::JointCommand time_from_start(::arm_msgs::msg::JointCommand::_time_from_start_type arg)
|
||||
{
|
||||
msg_.time_from_start = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::JointCommand msg_;
|
||||
};
|
||||
|
||||
class Init_JointCommand_accelerations
|
||||
{
|
||||
public:
|
||||
explicit Init_JointCommand_accelerations(::arm_msgs::msg::JointCommand & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_JointCommand_time_from_start accelerations(::arm_msgs::msg::JointCommand::_accelerations_type arg)
|
||||
{
|
||||
msg_.accelerations = std::move(arg);
|
||||
return Init_JointCommand_time_from_start(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::JointCommand msg_;
|
||||
};
|
||||
|
||||
class Init_JointCommand_velocities
|
||||
{
|
||||
public:
|
||||
explicit Init_JointCommand_velocities(::arm_msgs::msg::JointCommand & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_JointCommand_accelerations velocities(::arm_msgs::msg::JointCommand::_velocities_type arg)
|
||||
{
|
||||
msg_.velocities = std::move(arg);
|
||||
return Init_JointCommand_accelerations(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::JointCommand msg_;
|
||||
};
|
||||
|
||||
class Init_JointCommand_positions
|
||||
{
|
||||
public:
|
||||
explicit Init_JointCommand_positions(::arm_msgs::msg::JointCommand & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_JointCommand_velocities positions(::arm_msgs::msg::JointCommand::_positions_type arg)
|
||||
{
|
||||
msg_.positions = std::move(arg);
|
||||
return Init_JointCommand_velocities(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::JointCommand msg_;
|
||||
};
|
||||
|
||||
class Init_JointCommand_joint_names
|
||||
{
|
||||
public:
|
||||
explicit Init_JointCommand_joint_names(::arm_msgs::msg::JointCommand & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_JointCommand_positions joint_names(::arm_msgs::msg::JointCommand::_joint_names_type arg)
|
||||
{
|
||||
msg_.joint_names = std::move(arg);
|
||||
return Init_JointCommand_positions(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::JointCommand msg_;
|
||||
};
|
||||
|
||||
class Init_JointCommand_header
|
||||
{
|
||||
public:
|
||||
Init_JointCommand_header()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_JointCommand_joint_names header(::arm_msgs::msg::JointCommand::_header_type arg)
|
||||
{
|
||||
msg_.header = std::move(arg);
|
||||
return Init_JointCommand_joint_names(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::arm_msgs::msg::JointCommand msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::arm_msgs::msg::JointCommand>()
|
||||
{
|
||||
return arm_msgs::msg::builder::Init_JointCommand_header();
|
||||
}
|
||||
|
||||
} // namespace arm_msgs
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__BUILDER_HPP_
|
||||
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from arm_msgs:msg/JointCommand.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__FUNCTIONS_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__JOINT_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/joint_command__struct.h"
|
||||
|
||||
/// Initialize msg/JointCommand 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__JointCommand
|
||||
* )) before or use
|
||||
* arm_msgs__msg__JointCommand__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__JointCommand__init(arm_msgs__msg__JointCommand * msg);
|
||||
|
||||
/// Finalize msg/JointCommand message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
|
||||
void
|
||||
arm_msgs__msg__JointCommand__fini(arm_msgs__msg__JointCommand * msg);
|
||||
|
||||
/// Create msg/JointCommand message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* arm_msgs__msg__JointCommand__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_arm_msgs
|
||||
arm_msgs__msg__JointCommand *
|
||||
arm_msgs__msg__JointCommand__create();
|
||||
|
||||
/// Destroy msg/JointCommand message.
|
||||
/**
|
||||
* It calls
|
||||
* arm_msgs__msg__JointCommand__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__JointCommand__destroy(arm_msgs__msg__JointCommand * msg);
|
||||
|
||||
/// Check for msg/JointCommand 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__JointCommand__are_equal(const arm_msgs__msg__JointCommand * lhs, const arm_msgs__msg__JointCommand * rhs);
|
||||
|
||||
/// Copy a msg/JointCommand 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__JointCommand__copy(
|
||||
const arm_msgs__msg__JointCommand * input,
|
||||
arm_msgs__msg__JointCommand * output);
|
||||
|
||||
/// Initialize array of msg/JointCommand messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* arm_msgs__msg__JointCommand__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__JointCommand__Sequence__init(arm_msgs__msg__JointCommand__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/JointCommand messages.
|
||||
/**
|
||||
* It calls
|
||||
* arm_msgs__msg__JointCommand__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__JointCommand__Sequence__fini(arm_msgs__msg__JointCommand__Sequence * array);
|
||||
|
||||
/// Create array of msg/JointCommand messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* arm_msgs__msg__JointCommand__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__JointCommand__Sequence *
|
||||
arm_msgs__msg__JointCommand__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/JointCommand messages.
|
||||
/**
|
||||
* It calls
|
||||
* arm_msgs__msg__JointCommand__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__JointCommand__Sequence__destroy(arm_msgs__msg__JointCommand__Sequence * array);
|
||||
|
||||
/// Check for msg/JointCommand 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__JointCommand__Sequence__are_equal(const arm_msgs__msg__JointCommand__Sequence * lhs, const arm_msgs__msg__JointCommand__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/JointCommand 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__JointCommand__Sequence__copy(
|
||||
const arm_msgs__msg__JointCommand__Sequence * input,
|
||||
arm_msgs__msg__JointCommand__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from arm_msgs:msg/JointCommand.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define ARM_MSGS__MSG__DETAIL__JOINT_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__JointCommand(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_arm_msgs
|
||||
size_t max_serialized_size_arm_msgs__msg__JointCommand(
|
||||
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, JointCommand)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
|
||||
// with input from arm_msgs:msg/JointCommand.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define ARM_MSGS__MSG__DETAIL__JOINT_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/joint_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::JointCommand & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
arm_msgs::msg::JointCommand & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
|
||||
get_serialized_size(
|
||||
const arm_msgs::msg::JointCommand & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_arm_msgs
|
||||
max_serialized_size_JointCommand(
|
||||
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, JointCommand)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // ARM_MSGS__MSG__DETAIL__JOINT_COMMAND__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user