别人克隆后没有 install,source 会直接失败。把展开后的 install 放进仓库,符号链接和指向本机 build 的 egg-link 收成真实文件,Python 入口改走当前环境的解释器,这样不用先 colcon build 也能启动。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,462 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/action/detail/grasp__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_Goal_force
|
||||
{
|
||||
public:
|
||||
Init_Grasp_Goal_force()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_Goal force(::flexiv_msgs::action::Grasp_Goal::_force_type arg)
|
||||
{
|
||||
msg_.force = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_Goal msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_Goal>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_Goal_force();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_Result_error
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_Result_error(::flexiv_msgs::action::Grasp_Result & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_Result error(::flexiv_msgs::action::Grasp_Result::_error_type arg)
|
||||
{
|
||||
msg_.error = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_Result msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_Result_success
|
||||
{
|
||||
public:
|
||||
Init_Grasp_Result_success()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Grasp_Result_error success(::flexiv_msgs::action::Grasp_Result::_success_type arg)
|
||||
{
|
||||
msg_.success = std::move(arg);
|
||||
return Init_Grasp_Result_error(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_Result msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_Result>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_Result_success();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_Feedback_moving
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_Feedback_moving(::flexiv_msgs::action::Grasp_Feedback & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_Feedback moving(::flexiv_msgs::action::Grasp_Feedback::_moving_type arg)
|
||||
{
|
||||
msg_.moving = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_Feedback msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_Feedback_current_force
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_Feedback_current_force(::flexiv_msgs::action::Grasp_Feedback & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_Grasp_Feedback_moving current_force(::flexiv_msgs::action::Grasp_Feedback::_current_force_type arg)
|
||||
{
|
||||
msg_.current_force = std::move(arg);
|
||||
return Init_Grasp_Feedback_moving(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_Feedback msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_Feedback_current_width
|
||||
{
|
||||
public:
|
||||
Init_Grasp_Feedback_current_width()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Grasp_Feedback_current_force current_width(::flexiv_msgs::action::Grasp_Feedback::_current_width_type arg)
|
||||
{
|
||||
msg_.current_width = std::move(arg);
|
||||
return Init_Grasp_Feedback_current_force(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_Feedback msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_Feedback>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_Feedback_current_width();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_SendGoal_Request_goal
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_SendGoal_Request_goal(::flexiv_msgs::action::Grasp_SendGoal_Request & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_SendGoal_Request goal(::flexiv_msgs::action::Grasp_SendGoal_Request::_goal_type arg)
|
||||
{
|
||||
msg_.goal = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_SendGoal_Request msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_SendGoal_Request_goal_id
|
||||
{
|
||||
public:
|
||||
Init_Grasp_SendGoal_Request_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Grasp_SendGoal_Request_goal goal_id(::flexiv_msgs::action::Grasp_SendGoal_Request::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return Init_Grasp_SendGoal_Request_goal(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_SendGoal_Request msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_SendGoal_Request>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_SendGoal_Request_goal_id();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_SendGoal_Response_stamp
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_SendGoal_Response_stamp(::flexiv_msgs::action::Grasp_SendGoal_Response & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_SendGoal_Response stamp(::flexiv_msgs::action::Grasp_SendGoal_Response::_stamp_type arg)
|
||||
{
|
||||
msg_.stamp = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_SendGoal_Response msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_SendGoal_Response_accepted
|
||||
{
|
||||
public:
|
||||
Init_Grasp_SendGoal_Response_accepted()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Grasp_SendGoal_Response_stamp accepted(::flexiv_msgs::action::Grasp_SendGoal_Response::_accepted_type arg)
|
||||
{
|
||||
msg_.accepted = std::move(arg);
|
||||
return Init_Grasp_SendGoal_Response_stamp(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_SendGoal_Response msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_SendGoal_Response>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_SendGoal_Response_accepted();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_GetResult_Request_goal_id
|
||||
{
|
||||
public:
|
||||
Init_Grasp_GetResult_Request_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_GetResult_Request goal_id(::flexiv_msgs::action::Grasp_GetResult_Request::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_GetResult_Request msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_GetResult_Request>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_GetResult_Request_goal_id();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_GetResult_Response_result
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_GetResult_Response_result(::flexiv_msgs::action::Grasp_GetResult_Response & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_GetResult_Response result(::flexiv_msgs::action::Grasp_GetResult_Response::_result_type arg)
|
||||
{
|
||||
msg_.result = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_GetResult_Response msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_GetResult_Response_status
|
||||
{
|
||||
public:
|
||||
Init_Grasp_GetResult_Response_status()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Grasp_GetResult_Response_result status(::flexiv_msgs::action::Grasp_GetResult_Response::_status_type arg)
|
||||
{
|
||||
msg_.status = std::move(arg);
|
||||
return Init_Grasp_GetResult_Response_result(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_GetResult_Response msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_GetResult_Response>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_GetResult_Response_status();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Grasp_FeedbackMessage_feedback
|
||||
{
|
||||
public:
|
||||
explicit Init_Grasp_FeedbackMessage_feedback(::flexiv_msgs::action::Grasp_FeedbackMessage & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Grasp_FeedbackMessage feedback(::flexiv_msgs::action::Grasp_FeedbackMessage::_feedback_type arg)
|
||||
{
|
||||
msg_.feedback = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_FeedbackMessage msg_;
|
||||
};
|
||||
|
||||
class Init_Grasp_FeedbackMessage_goal_id
|
||||
{
|
||||
public:
|
||||
Init_Grasp_FeedbackMessage_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Grasp_FeedbackMessage_feedback goal_id(::flexiv_msgs::action::Grasp_FeedbackMessage::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return Init_Grasp_FeedbackMessage_feedback(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Grasp_FeedbackMessage msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Grasp_FeedbackMessage>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Grasp_FeedbackMessage_goal_id();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__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 flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_Goal(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_Goal(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_Result(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_Result(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_Feedback(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_Feedback(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_SendGoal_Request(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_SendGoal_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_SendGoal_Response(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_SendGoal_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_GetResult_Request(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_GetResult_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_GetResult_Response(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_GetResult_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Grasp_FeedbackMessage(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Grasp_FeedbackMessage(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Grasp_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__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 flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_Goal & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_Goal & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_Goal & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_Goal(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_Result & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_Result & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_Result & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_Result(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_Feedback & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_Feedback & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_Feedback & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_Feedback(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_SendGoal_Request & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_SendGoal_Request & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_SendGoal_Request & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_SendGoal_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_SendGoal_Response & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_SendGoal_Response & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_SendGoal_Response & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_SendGoal_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_GetResult_Request & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_GetResult_Request & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_GetResult_Request & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_GetResult_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_GetResult_Response & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_GetResult_Response & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_GetResult_Response & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_GetResult_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Grasp_FeedbackMessage & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Grasp_FeedbackMessage & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Grasp_FeedbackMessage & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Grasp_FeedbackMessage(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Grasp_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__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 flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_SendGoal_Response)();
|
||||
|
||||
#include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_interface/macros.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Grasp_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__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 flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_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, flexiv_msgs, action, Grasp_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
@@ -0,0 +1,215 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__STRUCT_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__STRUCT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
/// Struct defined in action/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_Goal
|
||||
{
|
||||
/// N
|
||||
double force;
|
||||
} flexiv_msgs__action__Grasp_Goal;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_Goal.
|
||||
typedef struct flexiv_msgs__action__Grasp_Goal__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_Goal * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_Goal__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'error'
|
||||
#include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_Result
|
||||
{
|
||||
bool success;
|
||||
rosidl_runtime_c__String error;
|
||||
} flexiv_msgs__action__Grasp_Result;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_Result.
|
||||
typedef struct flexiv_msgs__action__Grasp_Result__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_Result * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_Result__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
/// Struct defined in action/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_Feedback
|
||||
{
|
||||
/// m
|
||||
double current_width;
|
||||
/// N
|
||||
double current_force;
|
||||
bool moving;
|
||||
} flexiv_msgs__action__Grasp_Feedback;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_Feedback.
|
||||
typedef struct flexiv_msgs__action__Grasp_Feedback__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_Feedback * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_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 "flexiv_msgs/action/detail/grasp__struct.h"
|
||||
|
||||
/// Struct defined in action/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_SendGoal_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
flexiv_msgs__action__Grasp_Goal goal;
|
||||
} flexiv_msgs__action__Grasp_SendGoal_Request;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_SendGoal_Request.
|
||||
typedef struct flexiv_msgs__action__Grasp_SendGoal_Request__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_SendGoal_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_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/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_SendGoal_Response
|
||||
{
|
||||
bool accepted;
|
||||
builtin_interfaces__msg__Time stamp;
|
||||
} flexiv_msgs__action__Grasp_SendGoal_Response;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_SendGoal_Response.
|
||||
typedef struct flexiv_msgs__action__Grasp_SendGoal_Response__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_SendGoal_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_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/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_GetResult_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
} flexiv_msgs__action__Grasp_GetResult_Request;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_GetResult_Request.
|
||||
typedef struct flexiv_msgs__action__Grasp_GetResult_Request__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_GetResult_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_GetResult_Request__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'result'
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/grasp__struct.h"
|
||||
|
||||
/// Struct defined in action/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_GetResult_Response
|
||||
{
|
||||
int8_t status;
|
||||
flexiv_msgs__action__Grasp_Result result;
|
||||
} flexiv_msgs__action__Grasp_GetResult_Response;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_GetResult_Response.
|
||||
typedef struct flexiv_msgs__action__Grasp_GetResult_Response__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_GetResult_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_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 "flexiv_msgs/action/detail/grasp__struct.h"
|
||||
|
||||
/// Struct defined in action/Grasp in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Grasp_FeedbackMessage
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
flexiv_msgs__action__Grasp_Feedback feedback;
|
||||
} flexiv_msgs__action__Grasp_FeedbackMessage;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Grasp_FeedbackMessage.
|
||||
typedef struct flexiv_msgs__action__Grasp_FeedbackMessage__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Grasp_FeedbackMessage * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Grasp_FeedbackMessage__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__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 flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp
|
||||
)();
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_FeedbackMessage
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__TYPE_SUPPORT_H_
|
||||
+231
@@ -0,0 +1,231 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__GRASP__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__GRASP__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp
|
||||
)();
|
||||
#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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Grasp_FeedbackMessage
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__GRASP__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,494 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/action/detail/move__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_Goal_max_force
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_Goal_max_force(::flexiv_msgs::action::Move_Goal & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_Goal max_force(::flexiv_msgs::action::Move_Goal::_max_force_type arg)
|
||||
{
|
||||
msg_.max_force = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Goal msg_;
|
||||
};
|
||||
|
||||
class Init_Move_Goal_velocity
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_Goal_velocity(::flexiv_msgs::action::Move_Goal & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_Move_Goal_max_force velocity(::flexiv_msgs::action::Move_Goal::_velocity_type arg)
|
||||
{
|
||||
msg_.velocity = std::move(arg);
|
||||
return Init_Move_Goal_max_force(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Goal msg_;
|
||||
};
|
||||
|
||||
class Init_Move_Goal_width
|
||||
{
|
||||
public:
|
||||
Init_Move_Goal_width()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_Goal_velocity width(::flexiv_msgs::action::Move_Goal::_width_type arg)
|
||||
{
|
||||
msg_.width = std::move(arg);
|
||||
return Init_Move_Goal_velocity(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Goal msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_Goal>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_Goal_width();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_Result_error
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_Result_error(::flexiv_msgs::action::Move_Result & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_Result error(::flexiv_msgs::action::Move_Result::_error_type arg)
|
||||
{
|
||||
msg_.error = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Result msg_;
|
||||
};
|
||||
|
||||
class Init_Move_Result_success
|
||||
{
|
||||
public:
|
||||
Init_Move_Result_success()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_Result_error success(::flexiv_msgs::action::Move_Result::_success_type arg)
|
||||
{
|
||||
msg_.success = std::move(arg);
|
||||
return Init_Move_Result_error(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Result msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_Result>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_Result_success();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_Feedback_moving
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_Feedback_moving(::flexiv_msgs::action::Move_Feedback & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_Feedback moving(::flexiv_msgs::action::Move_Feedback::_moving_type arg)
|
||||
{
|
||||
msg_.moving = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Feedback msg_;
|
||||
};
|
||||
|
||||
class Init_Move_Feedback_current_force
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_Feedback_current_force(::flexiv_msgs::action::Move_Feedback & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_Move_Feedback_moving current_force(::flexiv_msgs::action::Move_Feedback::_current_force_type arg)
|
||||
{
|
||||
msg_.current_force = std::move(arg);
|
||||
return Init_Move_Feedback_moving(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Feedback msg_;
|
||||
};
|
||||
|
||||
class Init_Move_Feedback_current_width
|
||||
{
|
||||
public:
|
||||
Init_Move_Feedback_current_width()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_Feedback_current_force current_width(::flexiv_msgs::action::Move_Feedback::_current_width_type arg)
|
||||
{
|
||||
msg_.current_width = std::move(arg);
|
||||
return Init_Move_Feedback_current_force(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_Feedback msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_Feedback>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_Feedback_current_width();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_SendGoal_Request_goal
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_SendGoal_Request_goal(::flexiv_msgs::action::Move_SendGoal_Request & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_SendGoal_Request goal(::flexiv_msgs::action::Move_SendGoal_Request::_goal_type arg)
|
||||
{
|
||||
msg_.goal = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_SendGoal_Request msg_;
|
||||
};
|
||||
|
||||
class Init_Move_SendGoal_Request_goal_id
|
||||
{
|
||||
public:
|
||||
Init_Move_SendGoal_Request_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_SendGoal_Request_goal goal_id(::flexiv_msgs::action::Move_SendGoal_Request::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return Init_Move_SendGoal_Request_goal(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_SendGoal_Request msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_SendGoal_Request>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_SendGoal_Request_goal_id();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_SendGoal_Response_stamp
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_SendGoal_Response_stamp(::flexiv_msgs::action::Move_SendGoal_Response & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_SendGoal_Response stamp(::flexiv_msgs::action::Move_SendGoal_Response::_stamp_type arg)
|
||||
{
|
||||
msg_.stamp = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_SendGoal_Response msg_;
|
||||
};
|
||||
|
||||
class Init_Move_SendGoal_Response_accepted
|
||||
{
|
||||
public:
|
||||
Init_Move_SendGoal_Response_accepted()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_SendGoal_Response_stamp accepted(::flexiv_msgs::action::Move_SendGoal_Response::_accepted_type arg)
|
||||
{
|
||||
msg_.accepted = std::move(arg);
|
||||
return Init_Move_SendGoal_Response_stamp(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_SendGoal_Response msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_SendGoal_Response>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_SendGoal_Response_accepted();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_GetResult_Request_goal_id
|
||||
{
|
||||
public:
|
||||
Init_Move_GetResult_Request_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_GetResult_Request goal_id(::flexiv_msgs::action::Move_GetResult_Request::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_GetResult_Request msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_GetResult_Request>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_GetResult_Request_goal_id();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_GetResult_Response_result
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_GetResult_Response_result(::flexiv_msgs::action::Move_GetResult_Response & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_GetResult_Response result(::flexiv_msgs::action::Move_GetResult_Response::_result_type arg)
|
||||
{
|
||||
msg_.result = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_GetResult_Response msg_;
|
||||
};
|
||||
|
||||
class Init_Move_GetResult_Response_status
|
||||
{
|
||||
public:
|
||||
Init_Move_GetResult_Response_status()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_GetResult_Response_result status(::flexiv_msgs::action::Move_GetResult_Response::_status_type arg)
|
||||
{
|
||||
msg_.status = std::move(arg);
|
||||
return Init_Move_GetResult_Response_result(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_GetResult_Response msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_GetResult_Response>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_GetResult_Response_status();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Move_FeedbackMessage_feedback
|
||||
{
|
||||
public:
|
||||
explicit Init_Move_FeedbackMessage_feedback(::flexiv_msgs::action::Move_FeedbackMessage & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::action::Move_FeedbackMessage feedback(::flexiv_msgs::action::Move_FeedbackMessage::_feedback_type arg)
|
||||
{
|
||||
msg_.feedback = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_FeedbackMessage msg_;
|
||||
};
|
||||
|
||||
class Init_Move_FeedbackMessage_goal_id
|
||||
{
|
||||
public:
|
||||
Init_Move_FeedbackMessage_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Move_FeedbackMessage_feedback goal_id(::flexiv_msgs::action::Move_FeedbackMessage::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return Init_Move_FeedbackMessage_feedback(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::action::Move_FeedbackMessage msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::action::Move_FeedbackMessage>()
|
||||
{
|
||||
return flexiv_msgs::action::builder::Init_Move_FeedbackMessage_goal_id();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__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 flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_Goal(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_Goal(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_Result(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_Result(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_Feedback(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_Feedback(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_SendGoal_Request(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_SendGoal_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_SendGoal_Response(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_SendGoal_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_GetResult_Request(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_GetResult_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_GetResult_Response(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_GetResult_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__action__Move_FeedbackMessage(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__action__Move_FeedbackMessage(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, action, Move_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__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 flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_Goal & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_Goal & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_Goal & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_Goal(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_Result & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_Result & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_Result & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_Result(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_Feedback & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_Feedback & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_Feedback & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_Feedback(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_SendGoal_Request & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_SendGoal_Request & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_SendGoal_Request & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_SendGoal_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_SendGoal_Response & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_SendGoal_Response & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_SendGoal_Response & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_SendGoal_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_GetResult_Request & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_GetResult_Request & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_GetResult_Request & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_GetResult_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_GetResult_Response & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_GetResult_Response & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_GetResult_Response & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_GetResult_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::action::Move_FeedbackMessage & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::action::Move_FeedbackMessage & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::action::Move_FeedbackMessage & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Move_FeedbackMessage(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, action, Move_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__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 flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_SendGoal_Response)();
|
||||
|
||||
#include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_interface/macros.h"
|
||||
// already included above
|
||||
// #include "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, action, Move_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__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 flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_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, flexiv_msgs, action, Move_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
@@ -0,0 +1,219 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__STRUCT_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__STRUCT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
/// Struct defined in action/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_Goal
|
||||
{
|
||||
/// m
|
||||
double width;
|
||||
/// m/s
|
||||
double velocity;
|
||||
/// N
|
||||
double max_force;
|
||||
} flexiv_msgs__action__Move_Goal;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_Goal.
|
||||
typedef struct flexiv_msgs__action__Move_Goal__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_Goal * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_Goal__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'error'
|
||||
#include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_Result
|
||||
{
|
||||
bool success;
|
||||
rosidl_runtime_c__String error;
|
||||
} flexiv_msgs__action__Move_Result;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_Result.
|
||||
typedef struct flexiv_msgs__action__Move_Result__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_Result * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_Result__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
/// Struct defined in action/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_Feedback
|
||||
{
|
||||
/// m
|
||||
double current_width;
|
||||
/// N
|
||||
double current_force;
|
||||
bool moving;
|
||||
} flexiv_msgs__action__Move_Feedback;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_Feedback.
|
||||
typedef struct flexiv_msgs__action__Move_Feedback__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_Feedback * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_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 "flexiv_msgs/action/detail/move__struct.h"
|
||||
|
||||
/// Struct defined in action/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_SendGoal_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
flexiv_msgs__action__Move_Goal goal;
|
||||
} flexiv_msgs__action__Move_SendGoal_Request;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_SendGoal_Request.
|
||||
typedef struct flexiv_msgs__action__Move_SendGoal_Request__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_SendGoal_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_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/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_SendGoal_Response
|
||||
{
|
||||
bool accepted;
|
||||
builtin_interfaces__msg__Time stamp;
|
||||
} flexiv_msgs__action__Move_SendGoal_Response;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_SendGoal_Response.
|
||||
typedef struct flexiv_msgs__action__Move_SendGoal_Response__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_SendGoal_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_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/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_GetResult_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
} flexiv_msgs__action__Move_GetResult_Request;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_GetResult_Request.
|
||||
typedef struct flexiv_msgs__action__Move_GetResult_Request__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_GetResult_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_GetResult_Request__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'result'
|
||||
// already included above
|
||||
// #include "flexiv_msgs/action/detail/move__struct.h"
|
||||
|
||||
/// Struct defined in action/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_GetResult_Response
|
||||
{
|
||||
int8_t status;
|
||||
flexiv_msgs__action__Move_Result result;
|
||||
} flexiv_msgs__action__Move_GetResult_Response;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_GetResult_Response.
|
||||
typedef struct flexiv_msgs__action__Move_GetResult_Response__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_GetResult_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_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 "flexiv_msgs/action/detail/move__struct.h"
|
||||
|
||||
/// Struct defined in action/Move in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__action__Move_FeedbackMessage
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
flexiv_msgs__action__Move_Feedback feedback;
|
||||
} flexiv_msgs__action__Move_FeedbackMessage;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__action__Move_FeedbackMessage.
|
||||
typedef struct flexiv_msgs__action__Move_FeedbackMessage__Sequence
|
||||
{
|
||||
flexiv_msgs__action__Move_FeedbackMessage * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__action__Move_FeedbackMessage__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__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 flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move
|
||||
)();
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_FeedbackMessage
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__TYPE_SUPPORT_H_
|
||||
+231
@@ -0,0 +1,231 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__DETAIL__MOVE__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__DETAIL__MOVE__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move
|
||||
)();
|
||||
#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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
action,
|
||||
Move_FeedbackMessage
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__DETAIL__MOVE__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:action/Grasp.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__GRASP_H_
|
||||
#define FLEXIV_MSGS__ACTION__GRASP_H_
|
||||
|
||||
#include "flexiv_msgs/action/detail/grasp__struct.h"
|
||||
#include "flexiv_msgs/action/detail/grasp__functions.h"
|
||||
#include "flexiv_msgs/action/detail/grasp__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__GRASP_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__GRASP_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__GRASP_HPP_
|
||||
|
||||
#include "flexiv_msgs/action/detail/grasp__struct.hpp"
|
||||
#include "flexiv_msgs/action/detail/grasp__builder.hpp"
|
||||
#include "flexiv_msgs/action/detail/grasp__traits.hpp"
|
||||
#include "flexiv_msgs/action/detail/grasp__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__GRASP_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:action/Move.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__MOVE_H_
|
||||
#define FLEXIV_MSGS__ACTION__MOVE_H_
|
||||
|
||||
#include "flexiv_msgs/action/detail/move__struct.h"
|
||||
#include "flexiv_msgs/action/detail/move__functions.h"
|
||||
#include "flexiv_msgs/action/detail/move__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__MOVE_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__ACTION__MOVE_HPP_
|
||||
#define FLEXIV_MSGS__ACTION__MOVE_HPP_
|
||||
|
||||
#include "flexiv_msgs/action/detail/move__struct.hpp"
|
||||
#include "flexiv_msgs/action/detail/move__builder.hpp"
|
||||
#include "flexiv_msgs/action/detail/move__traits.hpp"
|
||||
#include "flexiv_msgs/action/detail/move__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__ACTION__MOVE_HPP_
|
||||
@@ -0,0 +1,72 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Digital_state
|
||||
{
|
||||
public:
|
||||
explicit Init_Digital_state(::flexiv_msgs::msg::Digital & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::msg::Digital state(::flexiv_msgs::msg::Digital::_state_type arg)
|
||||
{
|
||||
msg_.state = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::Digital msg_;
|
||||
};
|
||||
|
||||
class Init_Digital_pin
|
||||
{
|
||||
public:
|
||||
Init_Digital_pin()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_Digital_state pin(::flexiv_msgs::msg::Digital::_pin_type arg)
|
||||
{
|
||||
msg_.pin = std::move(arg);
|
||||
return Init_Digital_state(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::Digital msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::msg::Digital>()
|
||||
{
|
||||
return flexiv_msgs::msg::builder::Init_Digital_pin();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__BUILDER_HPP_
|
||||
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__FUNCTIONS_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__FUNCTIONS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "rosidl_runtime_c/visibility_control.h"
|
||||
#include "flexiv_msgs/msg/rosidl_generator_c__visibility_control.h"
|
||||
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.h"
|
||||
|
||||
/// Initialize msg/Digital 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(
|
||||
* flexiv_msgs__msg__Digital
|
||||
* )) before or use
|
||||
* flexiv_msgs__msg__Digital__create()
|
||||
* to allocate and initialize the message.
|
||||
* \return true if initialization was successful, otherwise false
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Digital__init(flexiv_msgs__msg__Digital * msg);
|
||||
|
||||
/// Finalize msg/Digital message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Digital__fini(flexiv_msgs__msg__Digital * msg);
|
||||
|
||||
/// Create msg/Digital message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* flexiv_msgs__msg__Digital__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
flexiv_msgs__msg__Digital *
|
||||
flexiv_msgs__msg__Digital__create();
|
||||
|
||||
/// Destroy msg/Digital message.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__Digital__fini()
|
||||
* and frees the memory of the message.
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Digital__destroy(flexiv_msgs__msg__Digital * msg);
|
||||
|
||||
/// Check for msg/Digital 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Digital__are_equal(const flexiv_msgs__msg__Digital * lhs, const flexiv_msgs__msg__Digital * rhs);
|
||||
|
||||
/// Copy a msg/Digital 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Digital__copy(
|
||||
const flexiv_msgs__msg__Digital * input,
|
||||
flexiv_msgs__msg__Digital * output);
|
||||
|
||||
/// Initialize array of msg/Digital messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* flexiv_msgs__msg__Digital__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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Digital__Sequence__init(flexiv_msgs__msg__Digital__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/Digital messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__Digital__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_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Digital__Sequence__fini(flexiv_msgs__msg__Digital__Sequence * array);
|
||||
|
||||
/// Create array of msg/Digital messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* flexiv_msgs__msg__Digital__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_flexiv_msgs
|
||||
flexiv_msgs__msg__Digital__Sequence *
|
||||
flexiv_msgs__msg__Digital__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/Digital messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__Digital__Sequence__fini()
|
||||
* on the array,
|
||||
* and frees the memory of the array.
|
||||
* \param[in,out] array The initialized array pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Digital__Sequence__destroy(flexiv_msgs__msg__Digital__Sequence * array);
|
||||
|
||||
/// Check for msg/Digital 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Digital__Sequence__are_equal(const flexiv_msgs__msg__Digital__Sequence * lhs, const flexiv_msgs__msg__Digital__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/Digital 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Digital__Sequence__copy(
|
||||
const flexiv_msgs__msg__Digital__Sequence * input,
|
||||
flexiv_msgs__msg__Digital__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__msg__Digital(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__msg__Digital(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, msg, Digital)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__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 flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/msg/detail/digital__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::msg::Digital & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::msg::Digital & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::msg::Digital & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Digital(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, msg, Digital)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__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 flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, msg, Digital)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__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 flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__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, flexiv_msgs, msg, Digital)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
@@ -0,0 +1,41 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__STRUCT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__STRUCT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
/// Struct defined in msg/Digital in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__msg__Digital
|
||||
{
|
||||
uint8_t pin;
|
||||
bool state;
|
||||
} flexiv_msgs__msg__Digital;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__msg__Digital.
|
||||
typedef struct flexiv_msgs__msg__Digital__Sequence
|
||||
{
|
||||
flexiv_msgs__msg__Digital * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__msg__Digital__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__STRUCT_H_
|
||||
@@ -0,0 +1,146 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__STRUCT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__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__flexiv_msgs__msg__Digital __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__flexiv_msgs__msg__Digital __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct Digital_
|
||||
{
|
||||
using Type = Digital_<ContainerAllocator>;
|
||||
|
||||
explicit Digital_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->pin = 0;
|
||||
this->state = false;
|
||||
}
|
||||
}
|
||||
|
||||
explicit Digital_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
(void)_alloc;
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->pin = 0;
|
||||
this->state = false;
|
||||
}
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _pin_type =
|
||||
uint8_t;
|
||||
_pin_type pin;
|
||||
using _state_type =
|
||||
bool;
|
||||
_state_type state;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__pin(
|
||||
const uint8_t & _arg)
|
||||
{
|
||||
this->pin = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__state(
|
||||
const bool & _arg)
|
||||
{
|
||||
this->state = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
flexiv_msgs::msg::Digital_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const flexiv_msgs::msg::Digital_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::Digital_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::Digital_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::Digital_<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__flexiv_msgs__msg__Digital
|
||||
std::shared_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__flexiv_msgs__msg__Digital
|
||||
std::shared_ptr<flexiv_msgs::msg::Digital_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const Digital_ & other) const
|
||||
{
|
||||
if (this->pin != other.pin) {
|
||||
return false;
|
||||
}
|
||||
if (this->state != other.state) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const Digital_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct Digital_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using Digital =
|
||||
flexiv_msgs::msg::Digital_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__STRUCT_HPP_
|
||||
@@ -0,0 +1,126 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TRAITS_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const Digital & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: pin
|
||||
{
|
||||
out << "pin: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.pin, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: state
|
||||
{
|
||||
out << "state: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.state, out);
|
||||
}
|
||||
out << "}";
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline void to_block_style_yaml(
|
||||
const Digital & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
// member: pin
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "pin: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.pin, 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";
|
||||
}
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline std::string to_yaml(const Digital & 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 flexiv_msgs
|
||||
|
||||
namespace rosidl_generator_traits
|
||||
{
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_block_style_yaml() instead")]]
|
||||
inline void to_yaml(
|
||||
const flexiv_msgs::msg::Digital & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
flexiv_msgs::msg::to_block_style_yaml(msg, out, indentation);
|
||||
}
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_yaml() instead")]]
|
||||
inline std::string to_yaml(const flexiv_msgs::msg::Digital & msg)
|
||||
{
|
||||
return flexiv_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<flexiv_msgs::msg::Digital>()
|
||||
{
|
||||
return "flexiv_msgs::msg::Digital";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<flexiv_msgs::msg::Digital>()
|
||||
{
|
||||
return "flexiv_msgs/msg/Digital";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<flexiv_msgs::msg::Digital>
|
||||
: std::integral_constant<bool, true> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<flexiv_msgs::msg::Digital>
|
||||
: std::integral_constant<bool, true> {};
|
||||
|
||||
template<>
|
||||
struct is_message<flexiv_msgs::msg::Digital>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TRAITS_HPP_
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
Digital
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TYPE_SUPPORT_H_
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
Digital
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__DIGITAL__TYPE_SUPPORT_HPP_
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_GPIOStates_states
|
||||
{
|
||||
public:
|
||||
Init_GPIOStates_states()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::flexiv_msgs::msg::GPIOStates states(::flexiv_msgs::msg::GPIOStates::_states_type arg)
|
||||
{
|
||||
msg_.states = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::GPIOStates msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::msg::GPIOStates>()
|
||||
{
|
||||
return flexiv_msgs::msg::builder::Init_GPIOStates_states();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__BUILDER_HPP_
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__FUNCTIONS_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__FUNCTIONS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "rosidl_runtime_c/visibility_control.h"
|
||||
#include "flexiv_msgs/msg/rosidl_generator_c__visibility_control.h"
|
||||
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__struct.h"
|
||||
|
||||
/// Initialize msg/GPIOStates 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(
|
||||
* flexiv_msgs__msg__GPIOStates
|
||||
* )) before or use
|
||||
* flexiv_msgs__msg__GPIOStates__create()
|
||||
* to allocate and initialize the message.
|
||||
* \return true if initialization was successful, otherwise false
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__GPIOStates__init(flexiv_msgs__msg__GPIOStates * msg);
|
||||
|
||||
/// Finalize msg/GPIOStates message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__GPIOStates__fini(flexiv_msgs__msg__GPIOStates * msg);
|
||||
|
||||
/// Create msg/GPIOStates message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* flexiv_msgs__msg__GPIOStates__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
flexiv_msgs__msg__GPIOStates *
|
||||
flexiv_msgs__msg__GPIOStates__create();
|
||||
|
||||
/// Destroy msg/GPIOStates message.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__GPIOStates__fini()
|
||||
* and frees the memory of the message.
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__GPIOStates__destroy(flexiv_msgs__msg__GPIOStates * msg);
|
||||
|
||||
/// Check for msg/GPIOStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__GPIOStates__are_equal(const flexiv_msgs__msg__GPIOStates * lhs, const flexiv_msgs__msg__GPIOStates * rhs);
|
||||
|
||||
/// Copy a msg/GPIOStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__GPIOStates__copy(
|
||||
const flexiv_msgs__msg__GPIOStates * input,
|
||||
flexiv_msgs__msg__GPIOStates * output);
|
||||
|
||||
/// Initialize array of msg/GPIOStates messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* flexiv_msgs__msg__GPIOStates__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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__GPIOStates__Sequence__init(flexiv_msgs__msg__GPIOStates__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/GPIOStates messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__GPIOStates__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_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__GPIOStates__Sequence__fini(flexiv_msgs__msg__GPIOStates__Sequence * array);
|
||||
|
||||
/// Create array of msg/GPIOStates messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* flexiv_msgs__msg__GPIOStates__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_flexiv_msgs
|
||||
flexiv_msgs__msg__GPIOStates__Sequence *
|
||||
flexiv_msgs__msg__GPIOStates__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/GPIOStates messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__GPIOStates__Sequence__fini()
|
||||
* on the array,
|
||||
* and frees the memory of the array.
|
||||
* \param[in,out] array The initialized array pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__GPIOStates__Sequence__destroy(flexiv_msgs__msg__GPIOStates__Sequence * array);
|
||||
|
||||
/// Check for msg/GPIOStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__GPIOStates__Sequence__are_equal(const flexiv_msgs__msg__GPIOStates__Sequence * lhs, const flexiv_msgs__msg__GPIOStates__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/GPIOStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__GPIOStates__Sequence__copy(
|
||||
const flexiv_msgs__msg__GPIOStates__Sequence * input,
|
||||
flexiv_msgs__msg__GPIOStates__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__msg__GPIOStates(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__msg__GPIOStates(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, msg, GPIOStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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 flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::msg::GPIOStates & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::msg::GPIOStates & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::msg::GPIOStates & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_GPIOStates(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, msg, GPIOStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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 flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, msg, GPIOStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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 flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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, flexiv_msgs, msg, GPIOStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
@@ -0,0 +1,44 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__STRUCT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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 'states'
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.h"
|
||||
|
||||
/// Struct defined in msg/GPIOStates in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__msg__GPIOStates
|
||||
{
|
||||
flexiv_msgs__msg__Digital__Sequence states;
|
||||
} flexiv_msgs__msg__GPIOStates;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__msg__GPIOStates.
|
||||
typedef struct flexiv_msgs__msg__GPIOStates__Sequence
|
||||
{
|
||||
flexiv_msgs__msg__GPIOStates * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__msg__GPIOStates__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__STRUCT_H_
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__STRUCT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__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 'states'
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.hpp"
|
||||
|
||||
#ifndef _WIN32
|
||||
# define DEPRECATED__flexiv_msgs__msg__GPIOStates __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__flexiv_msgs__msg__GPIOStates __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct GPIOStates_
|
||||
{
|
||||
using Type = GPIOStates_<ContainerAllocator>;
|
||||
|
||||
explicit GPIOStates_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
(void)_init;
|
||||
}
|
||||
|
||||
explicit GPIOStates_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
(void)_init;
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _states_type =
|
||||
std::vector<flexiv_msgs::msg::Digital_<ContainerAllocator>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<flexiv_msgs::msg::Digital_<ContainerAllocator>>>;
|
||||
_states_type states;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__states(
|
||||
const std::vector<flexiv_msgs::msg::Digital_<ContainerAllocator>, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<flexiv_msgs::msg::Digital_<ContainerAllocator>>> & _arg)
|
||||
{
|
||||
this->states = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
flexiv_msgs::msg::GPIOStates_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const flexiv_msgs::msg::GPIOStates_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::GPIOStates_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::GPIOStates_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::GPIOStates_<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__flexiv_msgs__msg__GPIOStates
|
||||
std::shared_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__flexiv_msgs__msg__GPIOStates
|
||||
std::shared_ptr<flexiv_msgs::msg::GPIOStates_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const GPIOStates_ & other) const
|
||||
{
|
||||
if (this->states != other.states) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const GPIOStates_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct GPIOStates_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using GPIOStates =
|
||||
flexiv_msgs::msg::GPIOStates_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__STRUCT_HPP_
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TRAITS_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'states'
|
||||
#include "flexiv_msgs/msg/detail/digital__traits.hpp"
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const GPIOStates & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: states
|
||||
{
|
||||
if (msg.states.size() == 0) {
|
||||
out << "states: []";
|
||||
} else {
|
||||
out << "states: [";
|
||||
size_t pending_items = msg.states.size();
|
||||
for (auto item : msg.states) {
|
||||
to_flow_style_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
}
|
||||
out << "}";
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline void to_block_style_yaml(
|
||||
const GPIOStates & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
// member: states
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.states.size() == 0) {
|
||||
out << "states: []\n";
|
||||
} else {
|
||||
out << "states:\n";
|
||||
for (auto item : msg.states) {
|
||||
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 GPIOStates & 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 flexiv_msgs
|
||||
|
||||
namespace rosidl_generator_traits
|
||||
{
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_block_style_yaml() instead")]]
|
||||
inline void to_yaml(
|
||||
const flexiv_msgs::msg::GPIOStates & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
flexiv_msgs::msg::to_block_style_yaml(msg, out, indentation);
|
||||
}
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_yaml() instead")]]
|
||||
inline std::string to_yaml(const flexiv_msgs::msg::GPIOStates & msg)
|
||||
{
|
||||
return flexiv_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<flexiv_msgs::msg::GPIOStates>()
|
||||
{
|
||||
return "flexiv_msgs::msg::GPIOStates";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<flexiv_msgs::msg::GPIOStates>()
|
||||
{
|
||||
return "flexiv_msgs/msg/GPIOStates";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<flexiv_msgs::msg::GPIOStates>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<flexiv_msgs::msg::GPIOStates>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct is_message<flexiv_msgs::msg::GPIOStates>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TRAITS_HPP_
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
GPIOStates
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TYPE_SUPPORT_H_
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
GPIOStates
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__GPIO_STATES__TYPE_SUPPORT_HPP_
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_JointPosVel_velocities
|
||||
{
|
||||
public:
|
||||
explicit Init_JointPosVel_velocities(::flexiv_msgs::msg::JointPosVel & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::msg::JointPosVel velocities(::flexiv_msgs::msg::JointPosVel::_velocities_type arg)
|
||||
{
|
||||
msg_.velocities = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::JointPosVel msg_;
|
||||
};
|
||||
|
||||
class Init_JointPosVel_positions
|
||||
{
|
||||
public:
|
||||
Init_JointPosVel_positions()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_JointPosVel_velocities positions(::flexiv_msgs::msg::JointPosVel::_positions_type arg)
|
||||
{
|
||||
msg_.positions = std::move(arg);
|
||||
return Init_JointPosVel_velocities(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::JointPosVel msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::msg::JointPosVel>()
|
||||
{
|
||||
return flexiv_msgs::msg::builder::Init_JointPosVel_positions();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__BUILDER_HPP_
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__FUNCTIONS_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__FUNCTIONS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "rosidl_runtime_c/visibility_control.h"
|
||||
#include "flexiv_msgs/msg/rosidl_generator_c__visibility_control.h"
|
||||
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__struct.h"
|
||||
|
||||
/// Initialize msg/JointPosVel 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(
|
||||
* flexiv_msgs__msg__JointPosVel
|
||||
* )) before or use
|
||||
* flexiv_msgs__msg__JointPosVel__create()
|
||||
* to allocate and initialize the message.
|
||||
* \return true if initialization was successful, otherwise false
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__JointPosVel__init(flexiv_msgs__msg__JointPosVel * msg);
|
||||
|
||||
/// Finalize msg/JointPosVel message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__JointPosVel__fini(flexiv_msgs__msg__JointPosVel * msg);
|
||||
|
||||
/// Create msg/JointPosVel message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* flexiv_msgs__msg__JointPosVel__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
flexiv_msgs__msg__JointPosVel *
|
||||
flexiv_msgs__msg__JointPosVel__create();
|
||||
|
||||
/// Destroy msg/JointPosVel message.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__JointPosVel__fini()
|
||||
* and frees the memory of the message.
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__JointPosVel__destroy(flexiv_msgs__msg__JointPosVel * msg);
|
||||
|
||||
/// Check for msg/JointPosVel 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__JointPosVel__are_equal(const flexiv_msgs__msg__JointPosVel * lhs, const flexiv_msgs__msg__JointPosVel * rhs);
|
||||
|
||||
/// Copy a msg/JointPosVel 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__JointPosVel__copy(
|
||||
const flexiv_msgs__msg__JointPosVel * input,
|
||||
flexiv_msgs__msg__JointPosVel * output);
|
||||
|
||||
/// Initialize array of msg/JointPosVel messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* flexiv_msgs__msg__JointPosVel__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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__JointPosVel__Sequence__init(flexiv_msgs__msg__JointPosVel__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/JointPosVel messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__JointPosVel__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_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__JointPosVel__Sequence__fini(flexiv_msgs__msg__JointPosVel__Sequence * array);
|
||||
|
||||
/// Create array of msg/JointPosVel messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* flexiv_msgs__msg__JointPosVel__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_flexiv_msgs
|
||||
flexiv_msgs__msg__JointPosVel__Sequence *
|
||||
flexiv_msgs__msg__JointPosVel__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/JointPosVel messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__JointPosVel__Sequence__fini()
|
||||
* on the array,
|
||||
* and frees the memory of the array.
|
||||
* \param[in,out] array The initialized array pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__JointPosVel__Sequence__destroy(flexiv_msgs__msg__JointPosVel__Sequence * array);
|
||||
|
||||
/// Check for msg/JointPosVel 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__JointPosVel__Sequence__are_equal(const flexiv_msgs__msg__JointPosVel__Sequence * lhs, const flexiv_msgs__msg__JointPosVel__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/JointPosVel 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__JointPosVel__Sequence__copy(
|
||||
const flexiv_msgs__msg__JointPosVel__Sequence * input,
|
||||
flexiv_msgs__msg__JointPosVel__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__msg__JointPosVel(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__msg__JointPosVel(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, msg, JointPosVel)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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 flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::msg::JointPosVel & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::msg::JointPosVel & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::msg::JointPosVel & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_JointPosVel(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, msg, JointPosVel)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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 flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, msg, JointPosVel)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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 flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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, flexiv_msgs, msg, JointPosVel)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__STRUCT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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 'positions'
|
||||
// Member 'velocities'
|
||||
#include "rosidl_runtime_c/primitives_sequence.h"
|
||||
|
||||
/// Struct defined in msg/JointPosVel in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__msg__JointPosVel
|
||||
{
|
||||
rosidl_runtime_c__double__Sequence positions;
|
||||
rosidl_runtime_c__double__Sequence velocities;
|
||||
} flexiv_msgs__msg__JointPosVel;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__msg__JointPosVel.
|
||||
typedef struct flexiv_msgs__msg__JointPosVel__Sequence
|
||||
{
|
||||
flexiv_msgs__msg__JointPosVel * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__msg__JointPosVel__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__STRUCT_H_
|
||||
+136
@@ -0,0 +1,136 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__STRUCT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__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__flexiv_msgs__msg__JointPosVel __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__flexiv_msgs__msg__JointPosVel __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct JointPosVel_
|
||||
{
|
||||
using Type = JointPosVel_<ContainerAllocator>;
|
||||
|
||||
explicit JointPosVel_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
(void)_init;
|
||||
}
|
||||
|
||||
explicit JointPosVel_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
(void)_init;
|
||||
(void)_alloc;
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _positions_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_positions_type positions;
|
||||
using _velocities_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_velocities_type velocities;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__positions(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->positions = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__velocities(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->velocities = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
flexiv_msgs::msg::JointPosVel_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const flexiv_msgs::msg::JointPosVel_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::JointPosVel_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::JointPosVel_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::JointPosVel_<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__flexiv_msgs__msg__JointPosVel
|
||||
std::shared_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__flexiv_msgs__msg__JointPosVel
|
||||
std::shared_ptr<flexiv_msgs::msg::JointPosVel_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const JointPosVel_ & other) const
|
||||
{
|
||||
if (this->positions != other.positions) {
|
||||
return false;
|
||||
}
|
||||
if (this->velocities != other.velocities) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const JointPosVel_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct JointPosVel_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using JointPosVel =
|
||||
flexiv_msgs::msg::JointPosVel_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__STRUCT_HPP_
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TRAITS_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const JointPosVel & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: positions
|
||||
{
|
||||
if (msg.positions.size() == 0) {
|
||||
out << "positions: []";
|
||||
} else {
|
||||
out << "positions: [";
|
||||
size_t pending_items = msg.positions.size();
|
||||
for (auto item : msg.positions) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: velocities
|
||||
{
|
||||
if (msg.velocities.size() == 0) {
|
||||
out << "velocities: []";
|
||||
} else {
|
||||
out << "velocities: [";
|
||||
size_t pending_items = msg.velocities.size();
|
||||
for (auto item : msg.velocities) {
|
||||
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 JointPosVel & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
// member: positions
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.positions.size() == 0) {
|
||||
out << "positions: []\n";
|
||||
} else {
|
||||
out << "positions:\n";
|
||||
for (auto item : msg.positions) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: velocities
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.velocities.size() == 0) {
|
||||
out << "velocities: []\n";
|
||||
} else {
|
||||
out << "velocities:\n";
|
||||
for (auto item : msg.velocities) {
|
||||
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 JointPosVel & 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 flexiv_msgs
|
||||
|
||||
namespace rosidl_generator_traits
|
||||
{
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_block_style_yaml() instead")]]
|
||||
inline void to_yaml(
|
||||
const flexiv_msgs::msg::JointPosVel & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
flexiv_msgs::msg::to_block_style_yaml(msg, out, indentation);
|
||||
}
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_yaml() instead")]]
|
||||
inline std::string to_yaml(const flexiv_msgs::msg::JointPosVel & msg)
|
||||
{
|
||||
return flexiv_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<flexiv_msgs::msg::JointPosVel>()
|
||||
{
|
||||
return "flexiv_msgs::msg::JointPosVel";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<flexiv_msgs::msg::JointPosVel>()
|
||||
{
|
||||
return "flexiv_msgs/msg/JointPosVel";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<flexiv_msgs::msg::JointPosVel>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<flexiv_msgs::msg::JointPosVel>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct is_message<flexiv_msgs::msg::JointPosVel>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TRAITS_HPP_
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
JointPosVel
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TYPE_SUPPORT_H_
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
JointPosVel
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__JOINT_POS_VEL__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,56 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/mode__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_Mode_mode
|
||||
{
|
||||
public:
|
||||
Init_Mode_mode()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::flexiv_msgs::msg::Mode mode(::flexiv_msgs::msg::Mode::_mode_type arg)
|
||||
{
|
||||
msg_.mode = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::Mode msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::msg::Mode>()
|
||||
{
|
||||
return flexiv_msgs::msg::builder::Init_Mode_mode();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__BUILDER_HPP_
|
||||
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__FUNCTIONS_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__FUNCTIONS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "rosidl_runtime_c/visibility_control.h"
|
||||
#include "flexiv_msgs/msg/rosidl_generator_c__visibility_control.h"
|
||||
|
||||
#include "flexiv_msgs/msg/detail/mode__struct.h"
|
||||
|
||||
/// Initialize msg/Mode 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(
|
||||
* flexiv_msgs__msg__Mode
|
||||
* )) before or use
|
||||
* flexiv_msgs__msg__Mode__create()
|
||||
* to allocate and initialize the message.
|
||||
* \return true if initialization was successful, otherwise false
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Mode__init(flexiv_msgs__msg__Mode * msg);
|
||||
|
||||
/// Finalize msg/Mode message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Mode__fini(flexiv_msgs__msg__Mode * msg);
|
||||
|
||||
/// Create msg/Mode message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* flexiv_msgs__msg__Mode__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
flexiv_msgs__msg__Mode *
|
||||
flexiv_msgs__msg__Mode__create();
|
||||
|
||||
/// Destroy msg/Mode message.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__Mode__fini()
|
||||
* and frees the memory of the message.
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Mode__destroy(flexiv_msgs__msg__Mode * msg);
|
||||
|
||||
/// Check for msg/Mode 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Mode__are_equal(const flexiv_msgs__msg__Mode * lhs, const flexiv_msgs__msg__Mode * rhs);
|
||||
|
||||
/// Copy a msg/Mode 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Mode__copy(
|
||||
const flexiv_msgs__msg__Mode * input,
|
||||
flexiv_msgs__msg__Mode * output);
|
||||
|
||||
/// Initialize array of msg/Mode messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* flexiv_msgs__msg__Mode__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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Mode__Sequence__init(flexiv_msgs__msg__Mode__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/Mode messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__Mode__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_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Mode__Sequence__fini(flexiv_msgs__msg__Mode__Sequence * array);
|
||||
|
||||
/// Create array of msg/Mode messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* flexiv_msgs__msg__Mode__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_flexiv_msgs
|
||||
flexiv_msgs__msg__Mode__Sequence *
|
||||
flexiv_msgs__msg__Mode__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/Mode messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__Mode__Sequence__fini()
|
||||
* on the array,
|
||||
* and frees the memory of the array.
|
||||
* \param[in,out] array The initialized array pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__Mode__Sequence__destroy(flexiv_msgs__msg__Mode__Sequence * array);
|
||||
|
||||
/// Check for msg/Mode 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Mode__Sequence__are_equal(const flexiv_msgs__msg__Mode__Sequence * lhs, const flexiv_msgs__msg__Mode__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/Mode 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__Mode__Sequence__copy(
|
||||
const flexiv_msgs__msg__Mode__Sequence * input,
|
||||
flexiv_msgs__msg__Mode__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__msg__Mode(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__msg__Mode(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, msg, Mode)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__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 flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/msg/detail/mode__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::msg::Mode & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::msg::Mode & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::msg::Mode & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_Mode(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, msg, Mode)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__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 flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, msg, Mode)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__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 flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__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, flexiv_msgs, msg, Mode)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
@@ -0,0 +1,112 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__STRUCT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__STRUCT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
/// Constant 'MODE_UNKNOWN'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_UNKNOWN = -1
|
||||
};
|
||||
|
||||
/// Constant 'MODE_IDLE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_IDLE = 0
|
||||
};
|
||||
|
||||
/// Constant 'MODE_RT_JOINT_TORQUE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_RT_JOINT_TORQUE = 1
|
||||
};
|
||||
|
||||
/// Constant 'MODE_RT_JOINT_IMPEDANCE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_RT_JOINT_IMPEDANCE = 2
|
||||
};
|
||||
|
||||
/// Constant 'MODE_NRT_JOINT_IMPEDANCE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_NRT_JOINT_IMPEDANCE = 3
|
||||
};
|
||||
|
||||
/// Constant 'MODE_RT_JOINT_POSITION'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_RT_JOINT_POSITION = 4
|
||||
};
|
||||
|
||||
/// Constant 'MODE_NRT_JOINT_POSITION'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_NRT_JOINT_POSITION = 5
|
||||
};
|
||||
|
||||
/// Constant 'MODE_NRT_PLAN_EXECUTION'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_NRT_PLAN_EXECUTION = 6
|
||||
};
|
||||
|
||||
/// Constant 'MODE_NRT_PRIMITIVE_EXECUTION'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_NRT_PRIMITIVE_EXECUTION = 7
|
||||
};
|
||||
|
||||
/// Constant 'MODE_RT_CARTESIAN_MOTION_FORCE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_RT_CARTESIAN_MOTION_FORCE = 8
|
||||
};
|
||||
|
||||
/// Constant 'MODE_NRT_CARTESIAN_MOTION_FORCE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_NRT_CARTESIAN_MOTION_FORCE = 9
|
||||
};
|
||||
|
||||
/// Constant 'MODE_NRT_SUPER_PRIMITIVE'.
|
||||
enum
|
||||
{
|
||||
flexiv_msgs__msg__Mode__MODE_NRT_SUPER_PRIMITIVE = 10
|
||||
};
|
||||
|
||||
/// Struct defined in msg/Mode in the package flexiv_msgs.
|
||||
typedef struct flexiv_msgs__msg__Mode
|
||||
{
|
||||
int8_t mode;
|
||||
} flexiv_msgs__msg__Mode;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__msg__Mode.
|
||||
typedef struct flexiv_msgs__msg__Mode__Sequence
|
||||
{
|
||||
flexiv_msgs__msg__Mode * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__msg__Mode__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__STRUCT_H_
|
||||
@@ -0,0 +1,216 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__STRUCT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__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__flexiv_msgs__msg__Mode __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__flexiv_msgs__msg__Mode __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct Mode_
|
||||
{
|
||||
using Type = Mode_<ContainerAllocator>;
|
||||
|
||||
explicit Mode_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->mode = 0;
|
||||
}
|
||||
}
|
||||
|
||||
explicit Mode_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
{
|
||||
(void)_alloc;
|
||||
if (rosidl_runtime_cpp::MessageInitialization::ALL == _init ||
|
||||
rosidl_runtime_cpp::MessageInitialization::ZERO == _init)
|
||||
{
|
||||
this->mode = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _mode_type =
|
||||
int8_t;
|
||||
_mode_type mode;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__mode(
|
||||
const int8_t & _arg)
|
||||
{
|
||||
this->mode = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
static constexpr int8_t MODE_UNKNOWN =
|
||||
-1;
|
||||
static constexpr int8_t MODE_IDLE =
|
||||
0;
|
||||
static constexpr int8_t MODE_RT_JOINT_TORQUE =
|
||||
1;
|
||||
static constexpr int8_t MODE_RT_JOINT_IMPEDANCE =
|
||||
2;
|
||||
static constexpr int8_t MODE_NRT_JOINT_IMPEDANCE =
|
||||
3;
|
||||
static constexpr int8_t MODE_RT_JOINT_POSITION =
|
||||
4;
|
||||
static constexpr int8_t MODE_NRT_JOINT_POSITION =
|
||||
5;
|
||||
static constexpr int8_t MODE_NRT_PLAN_EXECUTION =
|
||||
6;
|
||||
static constexpr int8_t MODE_NRT_PRIMITIVE_EXECUTION =
|
||||
7;
|
||||
static constexpr int8_t MODE_RT_CARTESIAN_MOTION_FORCE =
|
||||
8;
|
||||
static constexpr int8_t MODE_NRT_CARTESIAN_MOTION_FORCE =
|
||||
9;
|
||||
static constexpr int8_t MODE_NRT_SUPER_PRIMITIVE =
|
||||
10;
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
flexiv_msgs::msg::Mode_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const flexiv_msgs::msg::Mode_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::Mode_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::Mode_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::Mode_<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__flexiv_msgs__msg__Mode
|
||||
std::shared_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__flexiv_msgs__msg__Mode
|
||||
std::shared_ptr<flexiv_msgs::msg::Mode_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const Mode_ & other) const
|
||||
{
|
||||
if (this->mode != other.mode) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const Mode_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct Mode_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using Mode =
|
||||
flexiv_msgs::msg::Mode_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_UNKNOWN;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_IDLE;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_RT_JOINT_TORQUE;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_RT_JOINT_IMPEDANCE;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_NRT_JOINT_IMPEDANCE;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_RT_JOINT_POSITION;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_NRT_JOINT_POSITION;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_NRT_PLAN_EXECUTION;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_NRT_PRIMITIVE_EXECUTION;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_RT_CARTESIAN_MOTION_FORCE;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_NRT_CARTESIAN_MOTION_FORCE;
|
||||
#endif // __cplusplus < 201703L
|
||||
#if __cplusplus < 201703L
|
||||
// static constexpr member variable definitions are only needed in C++14 and below, deprecated in C++17
|
||||
template<typename ContainerAllocator>
|
||||
constexpr int8_t Mode_<ContainerAllocator>::MODE_NRT_SUPER_PRIMITIVE;
|
||||
#endif // __cplusplus < 201703L
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__STRUCT_HPP_
|
||||
@@ -0,0 +1,109 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__TRAITS_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/mode__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const Mode & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: mode
|
||||
{
|
||||
out << "mode: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.mode, out);
|
||||
}
|
||||
out << "}";
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline void to_block_style_yaml(
|
||||
const Mode & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
// member: mode
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "mode: ";
|
||||
rosidl_generator_traits::value_to_yaml(msg.mode, out);
|
||||
out << "\n";
|
||||
}
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline std::string to_yaml(const Mode & 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 flexiv_msgs
|
||||
|
||||
namespace rosidl_generator_traits
|
||||
{
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_block_style_yaml() instead")]]
|
||||
inline void to_yaml(
|
||||
const flexiv_msgs::msg::Mode & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
flexiv_msgs::msg::to_block_style_yaml(msg, out, indentation);
|
||||
}
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_yaml() instead")]]
|
||||
inline std::string to_yaml(const flexiv_msgs::msg::Mode & msg)
|
||||
{
|
||||
return flexiv_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<flexiv_msgs::msg::Mode>()
|
||||
{
|
||||
return "flexiv_msgs::msg::Mode";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<flexiv_msgs::msg::Mode>()
|
||||
{
|
||||
return "flexiv_msgs/msg/Mode";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<flexiv_msgs::msg::Mode>
|
||||
: std::integral_constant<bool, true> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<flexiv_msgs::msg::Mode>
|
||||
: std::integral_constant<bool, true> {};
|
||||
|
||||
template<>
|
||||
struct is_message<flexiv_msgs::msg::Mode>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__TRAITS_HPP_
|
||||
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
Mode
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__TYPE_SUPPORT_H_
|
||||
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__MODE__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__MODE__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
Mode
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__MODE__TYPE_SUPPORT_HPP_
|
||||
+360
@@ -0,0 +1,360 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__BUILDER_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/robot_states__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_RobotStates_ext_wrench_in_world_raw
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_ext_wrench_in_world_raw(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::flexiv_msgs::msg::RobotStates ext_wrench_in_world_raw(::flexiv_msgs::msg::RobotStates::_ext_wrench_in_world_raw_type arg)
|
||||
{
|
||||
msg_.ext_wrench_in_world_raw = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_ext_wrench_in_tcp_raw
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_ext_wrench_in_tcp_raw(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_ext_wrench_in_world_raw ext_wrench_in_tcp_raw(::flexiv_msgs::msg::RobotStates::_ext_wrench_in_tcp_raw_type arg)
|
||||
{
|
||||
msg_.ext_wrench_in_tcp_raw = std::move(arg);
|
||||
return Init_RobotStates_ext_wrench_in_world_raw(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_ext_wrench_in_world
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_ext_wrench_in_world(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_ext_wrench_in_tcp_raw ext_wrench_in_world(::flexiv_msgs::msg::RobotStates::_ext_wrench_in_world_type arg)
|
||||
{
|
||||
msg_.ext_wrench_in_world = std::move(arg);
|
||||
return Init_RobotStates_ext_wrench_in_tcp_raw(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_ext_wrench_in_tcp
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_ext_wrench_in_tcp(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_ext_wrench_in_world ext_wrench_in_tcp(::flexiv_msgs::msg::RobotStates::_ext_wrench_in_tcp_type arg)
|
||||
{
|
||||
msg_.ext_wrench_in_tcp = std::move(arg);
|
||||
return Init_RobotStates_ext_wrench_in_world(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_ft_sensor_raw
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_ft_sensor_raw(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_ext_wrench_in_tcp ft_sensor_raw(::flexiv_msgs::msg::RobotStates::_ft_sensor_raw_type arg)
|
||||
{
|
||||
msg_.ft_sensor_raw = std::move(arg);
|
||||
return Init_RobotStates_ext_wrench_in_tcp(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_flange_pose
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_flange_pose(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_ft_sensor_raw flange_pose(::flexiv_msgs::msg::RobotStates::_flange_pose_type arg)
|
||||
{
|
||||
msg_.flange_pose = std::move(arg);
|
||||
return Init_RobotStates_ft_sensor_raw(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tcp_vel
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tcp_vel(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_flange_pose tcp_vel(::flexiv_msgs::msg::RobotStates::_tcp_vel_type arg)
|
||||
{
|
||||
msg_.tcp_vel = std::move(arg);
|
||||
return Init_RobotStates_flange_pose(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tcp_pose
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tcp_pose(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tcp_vel tcp_pose(::flexiv_msgs::msg::RobotStates::_tcp_pose_type arg)
|
||||
{
|
||||
msg_.tcp_pose = std::move(arg);
|
||||
return Init_RobotStates_tcp_vel(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_temperature
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_temperature(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tcp_pose temperature(::flexiv_msgs::msg::RobotStates::_temperature_type arg)
|
||||
{
|
||||
msg_.temperature = std::move(arg);
|
||||
return Init_RobotStates_tcp_pose(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tau_interact
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tau_interact(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_temperature tau_interact(::flexiv_msgs::msg::RobotStates::_tau_interact_type arg)
|
||||
{
|
||||
msg_.tau_interact = std::move(arg);
|
||||
return Init_RobotStates_temperature(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tau_ext
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tau_ext(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tau_interact tau_ext(::flexiv_msgs::msg::RobotStates::_tau_ext_type arg)
|
||||
{
|
||||
msg_.tau_ext = std::move(arg);
|
||||
return Init_RobotStates_tau_interact(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tau_dot
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tau_dot(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tau_ext tau_dot(::flexiv_msgs::msg::RobotStates::_tau_dot_type arg)
|
||||
{
|
||||
msg_.tau_dot = std::move(arg);
|
||||
return Init_RobotStates_tau_ext(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tau_des
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tau_des(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tau_dot tau_des(::flexiv_msgs::msg::RobotStates::_tau_des_type arg)
|
||||
{
|
||||
msg_.tau_des = std::move(arg);
|
||||
return Init_RobotStates_tau_dot(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_tau
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_tau(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tau_des tau(::flexiv_msgs::msg::RobotStates::_tau_type arg)
|
||||
{
|
||||
msg_.tau = std::move(arg);
|
||||
return Init_RobotStates_tau_des(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_dtheta
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_dtheta(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_tau dtheta(::flexiv_msgs::msg::RobotStates::_dtheta_type arg)
|
||||
{
|
||||
msg_.dtheta = std::move(arg);
|
||||
return Init_RobotStates_tau(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_dq
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_dq(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_dtheta dq(::flexiv_msgs::msg::RobotStates::_dq_type arg)
|
||||
{
|
||||
msg_.dq = std::move(arg);
|
||||
return Init_RobotStates_dtheta(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_theta
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_theta(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_dq theta(::flexiv_msgs::msg::RobotStates::_theta_type arg)
|
||||
{
|
||||
msg_.theta = std::move(arg);
|
||||
return Init_RobotStates_dq(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_q
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_q(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_theta q(::flexiv_msgs::msg::RobotStates::_q_type arg)
|
||||
{
|
||||
msg_.q = std::move(arg);
|
||||
return Init_RobotStates_theta(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_robot_timestamp
|
||||
{
|
||||
public:
|
||||
explicit Init_RobotStates_robot_timestamp(::flexiv_msgs::msg::RobotStates & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
Init_RobotStates_q robot_timestamp(::flexiv_msgs::msg::RobotStates::_robot_timestamp_type arg)
|
||||
{
|
||||
msg_.robot_timestamp = std::move(arg);
|
||||
return Init_RobotStates_q(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
class Init_RobotStates_header
|
||||
{
|
||||
public:
|
||||
Init_RobotStates_header()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_RobotStates_robot_timestamp header(::flexiv_msgs::msg::RobotStates::_header_type arg)
|
||||
{
|
||||
msg_.header = std::move(arg);
|
||||
return Init_RobotStates_robot_timestamp(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::flexiv_msgs::msg::RobotStates msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace msg
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::flexiv_msgs::msg::RobotStates>()
|
||||
{
|
||||
return flexiv_msgs::msg::builder::Init_RobotStates_header();
|
||||
}
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__BUILDER_HPP_
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
// generated from rosidl_generator_c/resource/idl__functions.h.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__FUNCTIONS_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__FUNCTIONS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "rosidl_runtime_c/visibility_control.h"
|
||||
#include "flexiv_msgs/msg/rosidl_generator_c__visibility_control.h"
|
||||
|
||||
#include "flexiv_msgs/msg/detail/robot_states__struct.h"
|
||||
|
||||
/// Initialize msg/RobotStates 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(
|
||||
* flexiv_msgs__msg__RobotStates
|
||||
* )) before or use
|
||||
* flexiv_msgs__msg__RobotStates__create()
|
||||
* to allocate and initialize the message.
|
||||
* \return true if initialization was successful, otherwise false
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__RobotStates__init(flexiv_msgs__msg__RobotStates * msg);
|
||||
|
||||
/// Finalize msg/RobotStates message.
|
||||
/**
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__RobotStates__fini(flexiv_msgs__msg__RobotStates * msg);
|
||||
|
||||
/// Create msg/RobotStates message.
|
||||
/**
|
||||
* It allocates the memory for the message, sets the memory to zero, and
|
||||
* calls
|
||||
* flexiv_msgs__msg__RobotStates__init().
|
||||
* \return The pointer to the initialized message if successful,
|
||||
* otherwise NULL
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
flexiv_msgs__msg__RobotStates *
|
||||
flexiv_msgs__msg__RobotStates__create();
|
||||
|
||||
/// Destroy msg/RobotStates message.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__RobotStates__fini()
|
||||
* and frees the memory of the message.
|
||||
* \param[in,out] msg The allocated message pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__RobotStates__destroy(flexiv_msgs__msg__RobotStates * msg);
|
||||
|
||||
/// Check for msg/RobotStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__RobotStates__are_equal(const flexiv_msgs__msg__RobotStates * lhs, const flexiv_msgs__msg__RobotStates * rhs);
|
||||
|
||||
/// Copy a msg/RobotStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__RobotStates__copy(
|
||||
const flexiv_msgs__msg__RobotStates * input,
|
||||
flexiv_msgs__msg__RobotStates * output);
|
||||
|
||||
/// Initialize array of msg/RobotStates messages.
|
||||
/**
|
||||
* It allocates the memory for the number of elements and calls
|
||||
* flexiv_msgs__msg__RobotStates__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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__RobotStates__Sequence__init(flexiv_msgs__msg__RobotStates__Sequence * array, size_t size);
|
||||
|
||||
/// Finalize array of msg/RobotStates messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__RobotStates__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_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__RobotStates__Sequence__fini(flexiv_msgs__msg__RobotStates__Sequence * array);
|
||||
|
||||
/// Create array of msg/RobotStates messages.
|
||||
/**
|
||||
* It allocates the memory for the array and calls
|
||||
* flexiv_msgs__msg__RobotStates__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_flexiv_msgs
|
||||
flexiv_msgs__msg__RobotStates__Sequence *
|
||||
flexiv_msgs__msg__RobotStates__Sequence__create(size_t size);
|
||||
|
||||
/// Destroy array of msg/RobotStates messages.
|
||||
/**
|
||||
* It calls
|
||||
* flexiv_msgs__msg__RobotStates__Sequence__fini()
|
||||
* on the array,
|
||||
* and frees the memory of the array.
|
||||
* \param[in,out] array The initialized array pointer.
|
||||
*/
|
||||
ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
void
|
||||
flexiv_msgs__msg__RobotStates__Sequence__destroy(flexiv_msgs__msg__RobotStates__Sequence * array);
|
||||
|
||||
/// Check for msg/RobotStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__RobotStates__Sequence__are_equal(const flexiv_msgs__msg__RobotStates__Sequence * lhs, const flexiv_msgs__msg__RobotStates__Sequence * rhs);
|
||||
|
||||
/// Copy an array of msg/RobotStates 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_flexiv_msgs
|
||||
bool
|
||||
flexiv_msgs__msg__RobotStates__Sequence__copy(
|
||||
const flexiv_msgs__msg__RobotStates__Sequence * input,
|
||||
flexiv_msgs__msg__RobotStates__Sequence * output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__FUNCTIONS_H_
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t get_serialized_size_flexiv_msgs__msg__RobotStates(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
size_t max_serialized_size_flexiv_msgs__msg__RobotStates(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, flexiv_msgs, msg, RobotStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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 flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "flexiv_msgs/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "flexiv_msgs/msg/detail/robot_states__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 flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_serialize(
|
||||
const flexiv_msgs::msg::RobotStates & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
flexiv_msgs::msg::RobotStates & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
get_serialized_size(
|
||||
const flexiv_msgs::msg::RobotStates & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
max_serialized_size_RobotStates(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, flexiv_msgs, msg, RobotStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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 flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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 "flexiv_msgs/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, flexiv_msgs, msg, RobotStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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 flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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, flexiv_msgs, msg, RobotStates)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__STRUCT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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 'robot_timestamp'
|
||||
#include "builtin_interfaces/msg/detail/time__struct.h"
|
||||
// Member 'q'
|
||||
// Member 'theta'
|
||||
// Member 'dq'
|
||||
// Member 'dtheta'
|
||||
// Member 'tau'
|
||||
// Member 'tau_des'
|
||||
// Member 'tau_dot'
|
||||
// Member 'tau_ext'
|
||||
// Member 'tau_interact'
|
||||
// Member 'temperature'
|
||||
#include "rosidl_runtime_c/primitives_sequence.h"
|
||||
// Member 'tcp_pose'
|
||||
// Member 'flange_pose'
|
||||
#include "geometry_msgs/msg/detail/pose_stamped__struct.h"
|
||||
// Member 'tcp_vel'
|
||||
#include "geometry_msgs/msg/detail/accel_stamped__struct.h"
|
||||
// Member 'ft_sensor_raw'
|
||||
// Member 'ext_wrench_in_tcp'
|
||||
// Member 'ext_wrench_in_world'
|
||||
// Member 'ext_wrench_in_tcp_raw'
|
||||
// Member 'ext_wrench_in_world_raw'
|
||||
#include "geometry_msgs/msg/detail/wrench_stamped__struct.h"
|
||||
|
||||
/// Struct defined in msg/RobotStates in the package flexiv_msgs.
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
typedef struct flexiv_msgs__msg__RobotStates
|
||||
{
|
||||
std_msgs__msg__Header header;
|
||||
/// Robot system timestamp
|
||||
builtin_interfaces__msg__Time robot_timestamp;
|
||||
/// Measured joint positions using link-side encoder
|
||||
rosidl_runtime_c__double__Sequence q;
|
||||
/// Measured joint positions using motor-side encoder
|
||||
rosidl_runtime_c__double__Sequence theta;
|
||||
/// Measured joint velocities using link-side encoder
|
||||
rosidl_runtime_c__double__Sequence dq;
|
||||
/// Measured joint velocities using motor-side encoder
|
||||
rosidl_runtime_c__double__Sequence dtheta;
|
||||
/// Measured joint torques
|
||||
rosidl_runtime_c__double__Sequence tau;
|
||||
/// Desired joint torques
|
||||
rosidl_runtime_c__double__Sequence tau_des;
|
||||
/// Numerical derivative of measured joint torques
|
||||
rosidl_runtime_c__double__Sequence tau_dot;
|
||||
/// Estimated external joint torques
|
||||
rosidl_runtime_c__double__Sequence tau_ext;
|
||||
/// Estimated interaction joint torques
|
||||
rosidl_runtime_c__double__Sequence tau_interact;
|
||||
/// Measured joint temperatures
|
||||
rosidl_runtime_c__double__Sequence temperature;
|
||||
/// Measured TCP pose expressed in world frame
|
||||
geometry_msgs__msg__PoseStamped tcp_pose;
|
||||
/// Measured TCP velocity expressed in world frame
|
||||
geometry_msgs__msg__AccelStamped tcp_vel;
|
||||
/// Measured flange pose expressed in world frame
|
||||
geometry_msgs__msg__PoseStamped flange_pose;
|
||||
/// Force-torque (FT) sensor raw reading in flange frame
|
||||
geometry_msgs__msg__WrenchStamped ft_sensor_raw;
|
||||
/// Estimated external wrench applied on TCP and expressed in TCP frame
|
||||
geometry_msgs__msg__WrenchStamped ext_wrench_in_tcp;
|
||||
/// Estimated external wrench applied on TCP and expressed in world frame
|
||||
geometry_msgs__msg__WrenchStamped ext_wrench_in_world;
|
||||
/// Unfiltered external wrench applied on TCP and expressed in TCP frame
|
||||
geometry_msgs__msg__WrenchStamped ext_wrench_in_tcp_raw;
|
||||
/// Unfiltered external wrench applied on TCP and expressed in world frame
|
||||
geometry_msgs__msg__WrenchStamped ext_wrench_in_world_raw;
|
||||
} flexiv_msgs__msg__RobotStates;
|
||||
|
||||
// Struct for a sequence of flexiv_msgs__msg__RobotStates.
|
||||
typedef struct flexiv_msgs__msg__RobotStates__Sequence
|
||||
{
|
||||
flexiv_msgs__msg__RobotStates * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} flexiv_msgs__msg__RobotStates__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__STRUCT_H_
|
||||
+388
@@ -0,0 +1,388 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__STRUCT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__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 'robot_timestamp'
|
||||
#include "builtin_interfaces/msg/detail/time__struct.hpp"
|
||||
// Member 'tcp_pose'
|
||||
// Member 'flange_pose'
|
||||
#include "geometry_msgs/msg/detail/pose_stamped__struct.hpp"
|
||||
// Member 'tcp_vel'
|
||||
#include "geometry_msgs/msg/detail/accel_stamped__struct.hpp"
|
||||
// Member 'ft_sensor_raw'
|
||||
// Member 'ext_wrench_in_tcp'
|
||||
// Member 'ext_wrench_in_world'
|
||||
// Member 'ext_wrench_in_tcp_raw'
|
||||
// Member 'ext_wrench_in_world_raw'
|
||||
#include "geometry_msgs/msg/detail/wrench_stamped__struct.hpp"
|
||||
|
||||
#ifndef _WIN32
|
||||
# define DEPRECATED__flexiv_msgs__msg__RobotStates __attribute__((deprecated))
|
||||
#else
|
||||
# define DEPRECATED__flexiv_msgs__msg__RobotStates __declspec(deprecated)
|
||||
#endif
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
// message struct
|
||||
template<class ContainerAllocator>
|
||||
struct RobotStates_
|
||||
{
|
||||
using Type = RobotStates_<ContainerAllocator>;
|
||||
|
||||
explicit RobotStates_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
: header(_init),
|
||||
robot_timestamp(_init),
|
||||
tcp_pose(_init),
|
||||
tcp_vel(_init),
|
||||
flange_pose(_init),
|
||||
ft_sensor_raw(_init),
|
||||
ext_wrench_in_tcp(_init),
|
||||
ext_wrench_in_world(_init),
|
||||
ext_wrench_in_tcp_raw(_init),
|
||||
ext_wrench_in_world_raw(_init)
|
||||
{
|
||||
(void)_init;
|
||||
}
|
||||
|
||||
explicit RobotStates_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL)
|
||||
: header(_alloc, _init),
|
||||
robot_timestamp(_alloc, _init),
|
||||
tcp_pose(_alloc, _init),
|
||||
tcp_vel(_alloc, _init),
|
||||
flange_pose(_alloc, _init),
|
||||
ft_sensor_raw(_alloc, _init),
|
||||
ext_wrench_in_tcp(_alloc, _init),
|
||||
ext_wrench_in_world(_alloc, _init),
|
||||
ext_wrench_in_tcp_raw(_alloc, _init),
|
||||
ext_wrench_in_world_raw(_alloc, _init)
|
||||
{
|
||||
(void)_init;
|
||||
}
|
||||
|
||||
// field types and members
|
||||
using _header_type =
|
||||
std_msgs::msg::Header_<ContainerAllocator>;
|
||||
_header_type header;
|
||||
using _robot_timestamp_type =
|
||||
builtin_interfaces::msg::Time_<ContainerAllocator>;
|
||||
_robot_timestamp_type robot_timestamp;
|
||||
using _q_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_q_type q;
|
||||
using _theta_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_theta_type theta;
|
||||
using _dq_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_dq_type dq;
|
||||
using _dtheta_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_dtheta_type dtheta;
|
||||
using _tau_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_tau_type tau;
|
||||
using _tau_des_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_tau_des_type tau_des;
|
||||
using _tau_dot_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_tau_dot_type tau_dot;
|
||||
using _tau_ext_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_tau_ext_type tau_ext;
|
||||
using _tau_interact_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_tau_interact_type tau_interact;
|
||||
using _temperature_type =
|
||||
std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>>;
|
||||
_temperature_type temperature;
|
||||
using _tcp_pose_type =
|
||||
geometry_msgs::msg::PoseStamped_<ContainerAllocator>;
|
||||
_tcp_pose_type tcp_pose;
|
||||
using _tcp_vel_type =
|
||||
geometry_msgs::msg::AccelStamped_<ContainerAllocator>;
|
||||
_tcp_vel_type tcp_vel;
|
||||
using _flange_pose_type =
|
||||
geometry_msgs::msg::PoseStamped_<ContainerAllocator>;
|
||||
_flange_pose_type flange_pose;
|
||||
using _ft_sensor_raw_type =
|
||||
geometry_msgs::msg::WrenchStamped_<ContainerAllocator>;
|
||||
_ft_sensor_raw_type ft_sensor_raw;
|
||||
using _ext_wrench_in_tcp_type =
|
||||
geometry_msgs::msg::WrenchStamped_<ContainerAllocator>;
|
||||
_ext_wrench_in_tcp_type ext_wrench_in_tcp;
|
||||
using _ext_wrench_in_world_type =
|
||||
geometry_msgs::msg::WrenchStamped_<ContainerAllocator>;
|
||||
_ext_wrench_in_world_type ext_wrench_in_world;
|
||||
using _ext_wrench_in_tcp_raw_type =
|
||||
geometry_msgs::msg::WrenchStamped_<ContainerAllocator>;
|
||||
_ext_wrench_in_tcp_raw_type ext_wrench_in_tcp_raw;
|
||||
using _ext_wrench_in_world_raw_type =
|
||||
geometry_msgs::msg::WrenchStamped_<ContainerAllocator>;
|
||||
_ext_wrench_in_world_raw_type ext_wrench_in_world_raw;
|
||||
|
||||
// setters for named parameter idiom
|
||||
Type & set__header(
|
||||
const std_msgs::msg::Header_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->header = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__robot_timestamp(
|
||||
const builtin_interfaces::msg::Time_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->robot_timestamp = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__q(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->q = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__theta(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->theta = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__dq(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->dq = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__dtheta(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->dtheta = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tau(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->tau = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tau_des(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->tau_des = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tau_dot(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->tau_dot = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tau_ext(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->tau_ext = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tau_interact(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->tau_interact = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__temperature(
|
||||
const std::vector<double, typename std::allocator_traits<ContainerAllocator>::template rebind_alloc<double>> & _arg)
|
||||
{
|
||||
this->temperature = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tcp_pose(
|
||||
const geometry_msgs::msg::PoseStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->tcp_pose = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__tcp_vel(
|
||||
const geometry_msgs::msg::AccelStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->tcp_vel = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__flange_pose(
|
||||
const geometry_msgs::msg::PoseStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->flange_pose = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__ft_sensor_raw(
|
||||
const geometry_msgs::msg::WrenchStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->ft_sensor_raw = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__ext_wrench_in_tcp(
|
||||
const geometry_msgs::msg::WrenchStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->ext_wrench_in_tcp = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__ext_wrench_in_world(
|
||||
const geometry_msgs::msg::WrenchStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->ext_wrench_in_world = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__ext_wrench_in_tcp_raw(
|
||||
const geometry_msgs::msg::WrenchStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->ext_wrench_in_tcp_raw = _arg;
|
||||
return *this;
|
||||
}
|
||||
Type & set__ext_wrench_in_world_raw(
|
||||
const geometry_msgs::msg::WrenchStamped_<ContainerAllocator> & _arg)
|
||||
{
|
||||
this->ext_wrench_in_world_raw = _arg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// constant declarations
|
||||
|
||||
// pointer types
|
||||
using RawPtr =
|
||||
flexiv_msgs::msg::RobotStates_<ContainerAllocator> *;
|
||||
using ConstRawPtr =
|
||||
const flexiv_msgs::msg::RobotStates_<ContainerAllocator> *;
|
||||
using SharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator>>;
|
||||
using ConstSharedPtr =
|
||||
std::shared_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator> const>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::RobotStates_<ContainerAllocator>>>
|
||||
using UniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator>, Deleter>;
|
||||
|
||||
using UniquePtr = UniquePtrWithDeleter<>;
|
||||
|
||||
template<typename Deleter = std::default_delete<
|
||||
flexiv_msgs::msg::RobotStates_<ContainerAllocator>>>
|
||||
using ConstUniquePtrWithDeleter =
|
||||
std::unique_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator> const, Deleter>;
|
||||
using ConstUniquePtr = ConstUniquePtrWithDeleter<>;
|
||||
|
||||
using WeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator>>;
|
||||
using ConstWeakPtr =
|
||||
std::weak_ptr<flexiv_msgs::msg::RobotStates_<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__flexiv_msgs__msg__RobotStates
|
||||
std::shared_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator>>
|
||||
Ptr;
|
||||
typedef DEPRECATED__flexiv_msgs__msg__RobotStates
|
||||
std::shared_ptr<flexiv_msgs::msg::RobotStates_<ContainerAllocator> const>
|
||||
ConstPtr;
|
||||
|
||||
// comparison operators
|
||||
bool operator==(const RobotStates_ & other) const
|
||||
{
|
||||
if (this->header != other.header) {
|
||||
return false;
|
||||
}
|
||||
if (this->robot_timestamp != other.robot_timestamp) {
|
||||
return false;
|
||||
}
|
||||
if (this->q != other.q) {
|
||||
return false;
|
||||
}
|
||||
if (this->theta != other.theta) {
|
||||
return false;
|
||||
}
|
||||
if (this->dq != other.dq) {
|
||||
return false;
|
||||
}
|
||||
if (this->dtheta != other.dtheta) {
|
||||
return false;
|
||||
}
|
||||
if (this->tau != other.tau) {
|
||||
return false;
|
||||
}
|
||||
if (this->tau_des != other.tau_des) {
|
||||
return false;
|
||||
}
|
||||
if (this->tau_dot != other.tau_dot) {
|
||||
return false;
|
||||
}
|
||||
if (this->tau_ext != other.tau_ext) {
|
||||
return false;
|
||||
}
|
||||
if (this->tau_interact != other.tau_interact) {
|
||||
return false;
|
||||
}
|
||||
if (this->temperature != other.temperature) {
|
||||
return false;
|
||||
}
|
||||
if (this->tcp_pose != other.tcp_pose) {
|
||||
return false;
|
||||
}
|
||||
if (this->tcp_vel != other.tcp_vel) {
|
||||
return false;
|
||||
}
|
||||
if (this->flange_pose != other.flange_pose) {
|
||||
return false;
|
||||
}
|
||||
if (this->ft_sensor_raw != other.ft_sensor_raw) {
|
||||
return false;
|
||||
}
|
||||
if (this->ext_wrench_in_tcp != other.ext_wrench_in_tcp) {
|
||||
return false;
|
||||
}
|
||||
if (this->ext_wrench_in_world != other.ext_wrench_in_world) {
|
||||
return false;
|
||||
}
|
||||
if (this->ext_wrench_in_tcp_raw != other.ext_wrench_in_tcp_raw) {
|
||||
return false;
|
||||
}
|
||||
if (this->ext_wrench_in_world_raw != other.ext_wrench_in_world_raw) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
bool operator!=(const RobotStates_ & other) const
|
||||
{
|
||||
return !this->operator==(other);
|
||||
}
|
||||
}; // struct RobotStates_
|
||||
|
||||
// alias to use template instance with default allocator
|
||||
using RobotStates =
|
||||
flexiv_msgs::msg::RobotStates_<std::allocator<void>>;
|
||||
|
||||
// constant definitions
|
||||
|
||||
} // namespace msg
|
||||
|
||||
} // namespace flexiv_msgs
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__STRUCT_HPP_
|
||||
+649
@@ -0,0 +1,649 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TRAITS_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TRAITS_HPP_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "flexiv_msgs/msg/detail/robot_states__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/traits.hpp"
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'header'
|
||||
#include "std_msgs/msg/detail/header__traits.hpp"
|
||||
// Member 'robot_timestamp'
|
||||
#include "builtin_interfaces/msg/detail/time__traits.hpp"
|
||||
// Member 'tcp_pose'
|
||||
// Member 'flange_pose'
|
||||
#include "geometry_msgs/msg/detail/pose_stamped__traits.hpp"
|
||||
// Member 'tcp_vel'
|
||||
#include "geometry_msgs/msg/detail/accel_stamped__traits.hpp"
|
||||
// Member 'ft_sensor_raw'
|
||||
// Member 'ext_wrench_in_tcp'
|
||||
// Member 'ext_wrench_in_world'
|
||||
// Member 'ext_wrench_in_tcp_raw'
|
||||
// Member 'ext_wrench_in_world_raw'
|
||||
#include "geometry_msgs/msg/detail/wrench_stamped__traits.hpp"
|
||||
|
||||
namespace flexiv_msgs
|
||||
{
|
||||
|
||||
namespace msg
|
||||
{
|
||||
|
||||
inline void to_flow_style_yaml(
|
||||
const RobotStates & msg,
|
||||
std::ostream & out)
|
||||
{
|
||||
out << "{";
|
||||
// member: header
|
||||
{
|
||||
out << "header: ";
|
||||
to_flow_style_yaml(msg.header, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: robot_timestamp
|
||||
{
|
||||
out << "robot_timestamp: ";
|
||||
to_flow_style_yaml(msg.robot_timestamp, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: q
|
||||
{
|
||||
if (msg.q.size() == 0) {
|
||||
out << "q: []";
|
||||
} else {
|
||||
out << "q: [";
|
||||
size_t pending_items = msg.q.size();
|
||||
for (auto item : msg.q) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: theta
|
||||
{
|
||||
if (msg.theta.size() == 0) {
|
||||
out << "theta: []";
|
||||
} else {
|
||||
out << "theta: [";
|
||||
size_t pending_items = msg.theta.size();
|
||||
for (auto item : msg.theta) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: dq
|
||||
{
|
||||
if (msg.dq.size() == 0) {
|
||||
out << "dq: []";
|
||||
} else {
|
||||
out << "dq: [";
|
||||
size_t pending_items = msg.dq.size();
|
||||
for (auto item : msg.dq) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: dtheta
|
||||
{
|
||||
if (msg.dtheta.size() == 0) {
|
||||
out << "dtheta: []";
|
||||
} else {
|
||||
out << "dtheta: [";
|
||||
size_t pending_items = msg.dtheta.size();
|
||||
for (auto item : msg.dtheta) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tau
|
||||
{
|
||||
if (msg.tau.size() == 0) {
|
||||
out << "tau: []";
|
||||
} else {
|
||||
out << "tau: [";
|
||||
size_t pending_items = msg.tau.size();
|
||||
for (auto item : msg.tau) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tau_des
|
||||
{
|
||||
if (msg.tau_des.size() == 0) {
|
||||
out << "tau_des: []";
|
||||
} else {
|
||||
out << "tau_des: [";
|
||||
size_t pending_items = msg.tau_des.size();
|
||||
for (auto item : msg.tau_des) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tau_dot
|
||||
{
|
||||
if (msg.tau_dot.size() == 0) {
|
||||
out << "tau_dot: []";
|
||||
} else {
|
||||
out << "tau_dot: [";
|
||||
size_t pending_items = msg.tau_dot.size();
|
||||
for (auto item : msg.tau_dot) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tau_ext
|
||||
{
|
||||
if (msg.tau_ext.size() == 0) {
|
||||
out << "tau_ext: []";
|
||||
} else {
|
||||
out << "tau_ext: [";
|
||||
size_t pending_items = msg.tau_ext.size();
|
||||
for (auto item : msg.tau_ext) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tau_interact
|
||||
{
|
||||
if (msg.tau_interact.size() == 0) {
|
||||
out << "tau_interact: []";
|
||||
} else {
|
||||
out << "tau_interact: [";
|
||||
size_t pending_items = msg.tau_interact.size();
|
||||
for (auto item : msg.tau_interact) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: temperature
|
||||
{
|
||||
if (msg.temperature.size() == 0) {
|
||||
out << "temperature: []";
|
||||
} else {
|
||||
out << "temperature: [";
|
||||
size_t pending_items = msg.temperature.size();
|
||||
for (auto item : msg.temperature) {
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
if (--pending_items > 0) {
|
||||
out << ", ";
|
||||
}
|
||||
}
|
||||
out << "]";
|
||||
}
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tcp_pose
|
||||
{
|
||||
out << "tcp_pose: ";
|
||||
to_flow_style_yaml(msg.tcp_pose, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: tcp_vel
|
||||
{
|
||||
out << "tcp_vel: ";
|
||||
to_flow_style_yaml(msg.tcp_vel, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: flange_pose
|
||||
{
|
||||
out << "flange_pose: ";
|
||||
to_flow_style_yaml(msg.flange_pose, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: ft_sensor_raw
|
||||
{
|
||||
out << "ft_sensor_raw: ";
|
||||
to_flow_style_yaml(msg.ft_sensor_raw, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_tcp
|
||||
{
|
||||
out << "ext_wrench_in_tcp: ";
|
||||
to_flow_style_yaml(msg.ext_wrench_in_tcp, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_world
|
||||
{
|
||||
out << "ext_wrench_in_world: ";
|
||||
to_flow_style_yaml(msg.ext_wrench_in_world, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_tcp_raw
|
||||
{
|
||||
out << "ext_wrench_in_tcp_raw: ";
|
||||
to_flow_style_yaml(msg.ext_wrench_in_tcp_raw, out);
|
||||
out << ", ";
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_world_raw
|
||||
{
|
||||
out << "ext_wrench_in_world_raw: ";
|
||||
to_flow_style_yaml(msg.ext_wrench_in_world_raw, out);
|
||||
}
|
||||
out << "}";
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline void to_block_style_yaml(
|
||||
const RobotStates & 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: robot_timestamp
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "robot_timestamp:\n";
|
||||
to_block_style_yaml(msg.robot_timestamp, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: q
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.q.size() == 0) {
|
||||
out << "q: []\n";
|
||||
} else {
|
||||
out << "q:\n";
|
||||
for (auto item : msg.q) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: theta
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.theta.size() == 0) {
|
||||
out << "theta: []\n";
|
||||
} else {
|
||||
out << "theta:\n";
|
||||
for (auto item : msg.theta) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: dq
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.dq.size() == 0) {
|
||||
out << "dq: []\n";
|
||||
} else {
|
||||
out << "dq:\n";
|
||||
for (auto item : msg.dq) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: dtheta
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.dtheta.size() == 0) {
|
||||
out << "dtheta: []\n";
|
||||
} else {
|
||||
out << "dtheta:\n";
|
||||
for (auto item : msg.dtheta) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: tau
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.tau.size() == 0) {
|
||||
out << "tau: []\n";
|
||||
} else {
|
||||
out << "tau:\n";
|
||||
for (auto item : msg.tau) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: tau_des
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.tau_des.size() == 0) {
|
||||
out << "tau_des: []\n";
|
||||
} else {
|
||||
out << "tau_des:\n";
|
||||
for (auto item : msg.tau_des) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: tau_dot
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.tau_dot.size() == 0) {
|
||||
out << "tau_dot: []\n";
|
||||
} else {
|
||||
out << "tau_dot:\n";
|
||||
for (auto item : msg.tau_dot) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: tau_ext
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.tau_ext.size() == 0) {
|
||||
out << "tau_ext: []\n";
|
||||
} else {
|
||||
out << "tau_ext:\n";
|
||||
for (auto item : msg.tau_ext) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: tau_interact
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.tau_interact.size() == 0) {
|
||||
out << "tau_interact: []\n";
|
||||
} else {
|
||||
out << "tau_interact:\n";
|
||||
for (auto item : msg.tau_interact) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: temperature
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
if (msg.temperature.size() == 0) {
|
||||
out << "temperature: []\n";
|
||||
} else {
|
||||
out << "temperature:\n";
|
||||
for (auto item : msg.temperature) {
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "- ";
|
||||
rosidl_generator_traits::value_to_yaml(item, out);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// member: tcp_pose
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "tcp_pose:\n";
|
||||
to_block_style_yaml(msg.tcp_pose, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: tcp_vel
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "tcp_vel:\n";
|
||||
to_block_style_yaml(msg.tcp_vel, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: flange_pose
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "flange_pose:\n";
|
||||
to_block_style_yaml(msg.flange_pose, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: ft_sensor_raw
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "ft_sensor_raw:\n";
|
||||
to_block_style_yaml(msg.ft_sensor_raw, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_tcp
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "ext_wrench_in_tcp:\n";
|
||||
to_block_style_yaml(msg.ext_wrench_in_tcp, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_world
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "ext_wrench_in_world:\n";
|
||||
to_block_style_yaml(msg.ext_wrench_in_world, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_tcp_raw
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "ext_wrench_in_tcp_raw:\n";
|
||||
to_block_style_yaml(msg.ext_wrench_in_tcp_raw, out, indentation + 2);
|
||||
}
|
||||
|
||||
// member: ext_wrench_in_world_raw
|
||||
{
|
||||
if (indentation > 0) {
|
||||
out << std::string(indentation, ' ');
|
||||
}
|
||||
out << "ext_wrench_in_world_raw:\n";
|
||||
to_block_style_yaml(msg.ext_wrench_in_world_raw, out, indentation + 2);
|
||||
}
|
||||
} // NOLINT(readability/fn_size)
|
||||
|
||||
inline std::string to_yaml(const RobotStates & 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 flexiv_msgs
|
||||
|
||||
namespace rosidl_generator_traits
|
||||
{
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_block_style_yaml() instead")]]
|
||||
inline void to_yaml(
|
||||
const flexiv_msgs::msg::RobotStates & msg,
|
||||
std::ostream & out, size_t indentation = 0)
|
||||
{
|
||||
flexiv_msgs::msg::to_block_style_yaml(msg, out, indentation);
|
||||
}
|
||||
|
||||
[[deprecated("use flexiv_msgs::msg::to_yaml() instead")]]
|
||||
inline std::string to_yaml(const flexiv_msgs::msg::RobotStates & msg)
|
||||
{
|
||||
return flexiv_msgs::msg::to_yaml(msg);
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * data_type<flexiv_msgs::msg::RobotStates>()
|
||||
{
|
||||
return "flexiv_msgs::msg::RobotStates";
|
||||
}
|
||||
|
||||
template<>
|
||||
inline const char * name<flexiv_msgs::msg::RobotStates>()
|
||||
{
|
||||
return "flexiv_msgs/msg/RobotStates";
|
||||
}
|
||||
|
||||
template<>
|
||||
struct has_fixed_size<flexiv_msgs::msg::RobotStates>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct has_bounded_size<flexiv_msgs::msg::RobotStates>
|
||||
: std::integral_constant<bool, false> {};
|
||||
|
||||
template<>
|
||||
struct is_message<flexiv_msgs::msg::RobotStates>
|
||||
: std::true_type {};
|
||||
|
||||
} // namespace rosidl_generator_traits
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TRAITS_HPP_
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TYPE_SUPPORT_H_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
RobotStates
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TYPE_SUPPORT_H_
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TYPE_SUPPORT_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "flexiv_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_flexiv_msgs
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
flexiv_msgs,
|
||||
msg,
|
||||
RobotStates
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DETAIL__ROBOT_STATES__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:msg/Digital.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DIGITAL_H_
|
||||
#define FLEXIV_MSGS__MSG__DIGITAL_H_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.h"
|
||||
#include "flexiv_msgs/msg/detail/digital__functions.h"
|
||||
#include "flexiv_msgs/msg/detail/digital__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DIGITAL_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__DIGITAL_HPP_
|
||||
#define FLEXIV_MSGS__MSG__DIGITAL_HPP_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/digital__struct.hpp"
|
||||
#include "flexiv_msgs/msg/detail/digital__builder.hpp"
|
||||
#include "flexiv_msgs/msg/detail/digital__traits.hpp"
|
||||
#include "flexiv_msgs/msg/detail/digital__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__DIGITAL_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:msg/GPIOStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__GPIO_STATES_H_
|
||||
#define FLEXIV_MSGS__MSG__GPIO_STATES_H_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__struct.h"
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__functions.h"
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__GPIO_STATES_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__GPIO_STATES_HPP_
|
||||
#define FLEXIV_MSGS__MSG__GPIO_STATES_HPP_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__struct.hpp"
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__builder.hpp"
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__traits.hpp"
|
||||
#include "flexiv_msgs/msg/detail/gpio_states__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__GPIO_STATES_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:msg/JointPosVel.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__JOINT_POS_VEL_H_
|
||||
#define FLEXIV_MSGS__MSG__JOINT_POS_VEL_H_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__struct.h"
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__functions.h"
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__JOINT_POS_VEL_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__JOINT_POS_VEL_HPP_
|
||||
#define FLEXIV_MSGS__MSG__JOINT_POS_VEL_HPP_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__struct.hpp"
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__builder.hpp"
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__traits.hpp"
|
||||
#include "flexiv_msgs/msg/detail/joint_pos_vel__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__JOINT_POS_VEL_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:msg/Mode.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__MODE_H_
|
||||
#define FLEXIV_MSGS__MSG__MODE_H_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/mode__struct.h"
|
||||
#include "flexiv_msgs/msg/detail/mode__functions.h"
|
||||
#include "flexiv_msgs/msg/detail/mode__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__MODE_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__MODE_HPP_
|
||||
#define FLEXIV_MSGS__MSG__MODE_HPP_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/mode__struct.hpp"
|
||||
#include "flexiv_msgs/msg/detail/mode__builder.hpp"
|
||||
#include "flexiv_msgs/msg/detail/mode__traits.hpp"
|
||||
#include "flexiv_msgs/msg/detail/mode__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__MODE_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from flexiv_msgs:msg/RobotStates.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROBOT_STATES_H_
|
||||
#define FLEXIV_MSGS__MSG__ROBOT_STATES_H_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/robot_states__struct.h"
|
||||
#include "flexiv_msgs/msg/detail/robot_states__functions.h"
|
||||
#include "flexiv_msgs/msg/detail/robot_states__type_support.h"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROBOT_STATES_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROBOT_STATES_HPP_
|
||||
#define FLEXIV_MSGS__MSG__ROBOT_STATES_HPP_
|
||||
|
||||
#include "flexiv_msgs/msg/detail/robot_states__struct.hpp"
|
||||
#include "flexiv_msgs/msg/detail/robot_states__builder.hpp"
|
||||
#include "flexiv_msgs/msg/detail/robot_states__traits.hpp"
|
||||
#include "flexiv_msgs/msg/detail/robot_states__type_support.hpp"
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROBOT_STATES_HPP_
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
// generated from rosidl_generator_c/resource/rosidl_generator_c__visibility_control.h.in
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
#define FLEXIV_MSGS__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
|
||||
// https://gcc.gnu.org/wiki/Visibility
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef __GNUC__
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_flexiv_msgs __attribute__ ((dllexport))
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_flexiv_msgs __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_flexiv_msgs __declspec(dllexport)
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_flexiv_msgs __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_GENERATOR_C_BUILDING_DLL_flexiv_msgs
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs ROSIDL_GENERATOR_C_EXPORT_flexiv_msgs
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs ROSIDL_GENERATOR_C_IMPORT_flexiv_msgs
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_flexiv_msgs
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_flexiv_msgs
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
// generated from rosidl_generator_cpp/resource/rosidl_generator_cpp__visibility_control.hpp.in
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_
|
||||
#define FLEXIV_MSGS__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
|
||||
// https://gcc.gnu.org/wiki/Visibility
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef __GNUC__
|
||||
#define ROSIDL_GENERATOR_CPP_EXPORT_flexiv_msgs __attribute__ ((dllexport))
|
||||
#define ROSIDL_GENERATOR_CPP_IMPORT_flexiv_msgs __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_EXPORT_flexiv_msgs __declspec(dllexport)
|
||||
#define ROSIDL_GENERATOR_CPP_IMPORT_flexiv_msgs __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_GENERATOR_CPP_BUILDING_DLL_flexiv_msgs
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_flexiv_msgs ROSIDL_GENERATOR_CPP_EXPORT_flexiv_msgs
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_flexiv_msgs ROSIDL_GENERATOR_CPP_IMPORT_flexiv_msgs
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_EXPORT_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_GENERATOR_CPP_IMPORT_flexiv_msgs
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_flexiv_msgs
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
// generated from
|
||||
// rosidl_typesupport_fastrtps_c/resource/rosidl_typesupport_fastrtps_c__visibility_control.h.in
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_
|
||||
#define FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_
|
||||
|
||||
#if __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
|
||||
// https://gcc.gnu.org/wiki/Visibility
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef __GNUC__
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_flexiv_msgs __attribute__ ((dllexport))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_flexiv_msgs __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_flexiv_msgs __declspec(dllexport)
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_flexiv_msgs __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_TYPESUPPORT_FASTRTPS_C_BUILDING_DLL_flexiv_msgs
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_flexiv_msgs
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_flexiv_msgs
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_flexiv_msgs
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_flexiv_msgs
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
// generated from
|
||||
// rosidl_typesupport_fastrtps_cpp/resource/rosidl_typesupport_fastrtps_cpp__visibility_control.h.in
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_
|
||||
#define FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_
|
||||
|
||||
#if __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
|
||||
// https://gcc.gnu.org/wiki/Visibility
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef __GNUC__
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_flexiv_msgs __attribute__ ((dllexport))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_flexiv_msgs __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_flexiv_msgs __declspec(dllexport)
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_flexiv_msgs __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_TYPESUPPORT_FASTRTPS_CPP_BUILDING_DLL_flexiv_msgs
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_flexiv_msgs
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_flexiv_msgs
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_flexiv_msgs
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_flexiv_msgs
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
// generated from
|
||||
// rosidl_typesupport_introspection_c/resource/rosidl_typesupport_introspection_c__visibility_control.h.in
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_
|
||||
#define FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
|
||||
// https://gcc.gnu.org/wiki/Visibility
|
||||
|
||||
#if defined _WIN32 || defined __CYGWIN__
|
||||
#ifdef __GNUC__
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_flexiv_msgs __attribute__ ((dllexport))
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_flexiv_msgs __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_flexiv_msgs __declspec(dllexport)
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_flexiv_msgs __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_TYPESUPPORT_INTROSPECTION_C_BUILDING_DLL_flexiv_msgs
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_flexiv_msgs
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_flexiv_msgs
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_flexiv_msgs
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_flexiv_msgs
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // FLEXIV_MSGS__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user