更新
This commit is contained in:
0
install/drone_interfaces/.catkin
Normal file
0
install/drone_interfaces/.catkin
Normal file
@@ -0,0 +1,446 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__BUILDER_HPP_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__BUILDER_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include "drone_interfaces/action/detail/execute_mission__struct.hpp"
|
||||
#include "rosidl_runtime_cpp/message_initialization.hpp"
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_Goal_py_tree_json
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_Goal_py_tree_json()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_Goal py_tree_json(::drone_interfaces::action::ExecuteMission_Goal::_py_tree_json_type arg)
|
||||
{
|
||||
msg_.py_tree_json = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_Goal msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_Goal>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_Goal_py_tree_json();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_Result_message
|
||||
{
|
||||
public:
|
||||
explicit Init_ExecuteMission_Result_message(::drone_interfaces::action::ExecuteMission_Result & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_Result message(::drone_interfaces::action::ExecuteMission_Result::_message_type arg)
|
||||
{
|
||||
msg_.message = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_Result msg_;
|
||||
};
|
||||
|
||||
class Init_ExecuteMission_Result_success
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_Result_success()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_ExecuteMission_Result_message success(::drone_interfaces::action::ExecuteMission_Result::_success_type arg)
|
||||
{
|
||||
msg_.success = std::move(arg);
|
||||
return Init_ExecuteMission_Result_message(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_Result msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_Result>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_Result_success();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_Feedback_status
|
||||
{
|
||||
public:
|
||||
explicit Init_ExecuteMission_Feedback_status(::drone_interfaces::action::ExecuteMission_Feedback & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_Feedback status(::drone_interfaces::action::ExecuteMission_Feedback::_status_type arg)
|
||||
{
|
||||
msg_.status = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_Feedback msg_;
|
||||
};
|
||||
|
||||
class Init_ExecuteMission_Feedback_node_id
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_Feedback_node_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_ExecuteMission_Feedback_status node_id(::drone_interfaces::action::ExecuteMission_Feedback::_node_id_type arg)
|
||||
{
|
||||
msg_.node_id = std::move(arg);
|
||||
return Init_ExecuteMission_Feedback_status(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_Feedback msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_Feedback>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_Feedback_node_id();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_SendGoal_Request_goal
|
||||
{
|
||||
public:
|
||||
explicit Init_ExecuteMission_SendGoal_Request_goal(::drone_interfaces::action::ExecuteMission_SendGoal_Request & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_SendGoal_Request goal(::drone_interfaces::action::ExecuteMission_SendGoal_Request::_goal_type arg)
|
||||
{
|
||||
msg_.goal = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_SendGoal_Request msg_;
|
||||
};
|
||||
|
||||
class Init_ExecuteMission_SendGoal_Request_goal_id
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_SendGoal_Request_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_ExecuteMission_SendGoal_Request_goal goal_id(::drone_interfaces::action::ExecuteMission_SendGoal_Request::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return Init_ExecuteMission_SendGoal_Request_goal(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_SendGoal_Request msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_SendGoal_Request>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_SendGoal_Request_goal_id();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_SendGoal_Response_stamp
|
||||
{
|
||||
public:
|
||||
explicit Init_ExecuteMission_SendGoal_Response_stamp(::drone_interfaces::action::ExecuteMission_SendGoal_Response & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_SendGoal_Response stamp(::drone_interfaces::action::ExecuteMission_SendGoal_Response::_stamp_type arg)
|
||||
{
|
||||
msg_.stamp = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_SendGoal_Response msg_;
|
||||
};
|
||||
|
||||
class Init_ExecuteMission_SendGoal_Response_accepted
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_SendGoal_Response_accepted()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_ExecuteMission_SendGoal_Response_stamp accepted(::drone_interfaces::action::ExecuteMission_SendGoal_Response::_accepted_type arg)
|
||||
{
|
||||
msg_.accepted = std::move(arg);
|
||||
return Init_ExecuteMission_SendGoal_Response_stamp(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_SendGoal_Response msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_SendGoal_Response>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_SendGoal_Response_accepted();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_GetResult_Request_goal_id
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_GetResult_Request_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_GetResult_Request goal_id(::drone_interfaces::action::ExecuteMission_GetResult_Request::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_GetResult_Request msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_GetResult_Request>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_GetResult_Request_goal_id();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_GetResult_Response_result
|
||||
{
|
||||
public:
|
||||
explicit Init_ExecuteMission_GetResult_Response_result(::drone_interfaces::action::ExecuteMission_GetResult_Response & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_GetResult_Response result(::drone_interfaces::action::ExecuteMission_GetResult_Response::_result_type arg)
|
||||
{
|
||||
msg_.result = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_GetResult_Response msg_;
|
||||
};
|
||||
|
||||
class Init_ExecuteMission_GetResult_Response_status
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_GetResult_Response_status()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_ExecuteMission_GetResult_Response_result status(::drone_interfaces::action::ExecuteMission_GetResult_Response::_status_type arg)
|
||||
{
|
||||
msg_.status = std::move(arg);
|
||||
return Init_ExecuteMission_GetResult_Response_result(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_GetResult_Response msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_GetResult_Response>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_GetResult_Response_status();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
|
||||
namespace drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace builder
|
||||
{
|
||||
|
||||
class Init_ExecuteMission_FeedbackMessage_feedback
|
||||
{
|
||||
public:
|
||||
explicit Init_ExecuteMission_FeedbackMessage_feedback(::drone_interfaces::action::ExecuteMission_FeedbackMessage & msg)
|
||||
: msg_(msg)
|
||||
{}
|
||||
::drone_interfaces::action::ExecuteMission_FeedbackMessage feedback(::drone_interfaces::action::ExecuteMission_FeedbackMessage::_feedback_type arg)
|
||||
{
|
||||
msg_.feedback = std::move(arg);
|
||||
return std::move(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_FeedbackMessage msg_;
|
||||
};
|
||||
|
||||
class Init_ExecuteMission_FeedbackMessage_goal_id
|
||||
{
|
||||
public:
|
||||
Init_ExecuteMission_FeedbackMessage_goal_id()
|
||||
: msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP)
|
||||
{}
|
||||
Init_ExecuteMission_FeedbackMessage_feedback goal_id(::drone_interfaces::action::ExecuteMission_FeedbackMessage::_goal_id_type arg)
|
||||
{
|
||||
msg_.goal_id = std::move(arg);
|
||||
return Init_ExecuteMission_FeedbackMessage_feedback(msg_);
|
||||
}
|
||||
|
||||
private:
|
||||
::drone_interfaces::action::ExecuteMission_FeedbackMessage msg_;
|
||||
};
|
||||
|
||||
} // namespace builder
|
||||
|
||||
} // namespace action
|
||||
|
||||
template<typename MessageType>
|
||||
auto build();
|
||||
|
||||
template<>
|
||||
inline
|
||||
auto build<::drone_interfaces::action::ExecuteMission_FeedbackMessage>()
|
||||
{
|
||||
return drone_interfaces::action::builder::Init_ExecuteMission_FeedbackMessage_goal_id();
|
||||
}
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__BUILDER_HPP_
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,307 @@
|
||||
// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_Goal(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_Goal(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_Result(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_Result(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_Feedback(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_Feedback(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_SendGoal_Request(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_SendGoal_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_SendGoal_Response(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_SendGoal_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_GetResult_Request(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_GetResult_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_GetResult_Response(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_GetResult_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t get_serialized_size_drone_interfaces__action__ExecuteMission_FeedbackMessage(
|
||||
const void * untyped_ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
size_t max_serialized_size_drone_interfaces__action__ExecuteMission_FeedbackMessage(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, drone_interfaces, action, ExecuteMission_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_
|
||||
@@ -0,0 +1,656 @@
|
||||
// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
#include "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_Goal & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_Goal & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_Goal & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_Goal(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_Result & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_Result & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_Result & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_Result(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_Feedback & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_Feedback & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_Feedback & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_Feedback(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_SendGoal_Request & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_SendGoal_Request & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_SendGoal_Request & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_SendGoal_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_SendGoal_Response & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_SendGoal_Response & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_SendGoal_Response & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_SendGoal_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_GetResult_Request & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_GetResult_Request & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_GetResult_Request & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_GetResult_Request(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_GetResult_Response & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_GetResult_Response & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_GetResult_Response & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_GetResult_Response(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__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 drone_interfaces
|
||||
{
|
||||
|
||||
namespace action
|
||||
{
|
||||
|
||||
namespace typesupport_fastrtps_cpp
|
||||
{
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_serialize(
|
||||
const drone_interfaces::action::ExecuteMission_FeedbackMessage & ros_message,
|
||||
eprosima::fastcdr::Cdr & cdr);
|
||||
|
||||
bool
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
cdr_deserialize(
|
||||
eprosima::fastcdr::Cdr & cdr,
|
||||
drone_interfaces::action::ExecuteMission_FeedbackMessage & ros_message);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
get_serialized_size(
|
||||
const drone_interfaces::action::ExecuteMission_FeedbackMessage & ros_message,
|
||||
size_t current_alignment);
|
||||
|
||||
size_t
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
max_serialized_size_ExecuteMission_FeedbackMessage(
|
||||
bool & full_bounded,
|
||||
bool & is_plain,
|
||||
size_t current_alignment);
|
||||
|
||||
} // namespace typesupport_fastrtps_cpp
|
||||
|
||||
} // namespace action
|
||||
|
||||
} // namespace drone_interfaces
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, drone_interfaces, action, ExecuteMission_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
|
||||
@@ -0,0 +1,124 @@
|
||||
// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Response)();
|
||||
|
||||
#include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_interface/macros.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_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 "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_
|
||||
@@ -0,0 +1,213 @@
|
||||
// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_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, drone_interfaces, action, ExecuteMission_FeedbackMessage)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_
|
||||
@@ -0,0 +1,222 @@
|
||||
// generated from rosidl_generator_c/resource/idl__struct.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__STRUCT_H_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__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 'py_tree_json'
|
||||
#include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Goal
|
||||
{
|
||||
rosidl_runtime_c__String py_tree_json;
|
||||
} drone_interfaces__action__ExecuteMission_Goal;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_Goal.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Goal__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Goal * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_Goal__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'message'
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Result
|
||||
{
|
||||
bool success;
|
||||
rosidl_runtime_c__String message;
|
||||
} drone_interfaces__action__ExecuteMission_Result;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_Result.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Result__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Result * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_Result__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'node_id'
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Feedback
|
||||
{
|
||||
rosidl_runtime_c__String node_id;
|
||||
/// 0: RUNNING, 1: SUCCESS, 2: FAILURE
|
||||
int32_t status;
|
||||
} drone_interfaces__action__ExecuteMission_Feedback;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_Feedback.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_Feedback__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Feedback * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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 "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
drone_interfaces__action__ExecuteMission_Goal goal;
|
||||
} drone_interfaces__action__ExecuteMission_SendGoal_Request;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_SendGoal_Request.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Request__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Response
|
||||
{
|
||||
bool accepted;
|
||||
builtin_interfaces__msg__Time stamp;
|
||||
} drone_interfaces__action__ExecuteMission_SendGoal_Response;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_SendGoal_Response.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_SendGoal_Response__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Request
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
} drone_interfaces__action__ExecuteMission_GetResult_Request;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_GetResult_Request.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Request__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_GetResult_Request__Sequence;
|
||||
|
||||
|
||||
// Constants defined in the message
|
||||
|
||||
// Include directives for member types
|
||||
// Member 'result'
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Response
|
||||
{
|
||||
int8_t status;
|
||||
drone_interfaces__action__ExecuteMission_Result result;
|
||||
} drone_interfaces__action__ExecuteMission_GetResult_Response;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_GetResult_Response.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_GetResult_Response__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_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 "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
/// Struct defined in action/ExecuteMission in the package drone_interfaces.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_FeedbackMessage
|
||||
{
|
||||
unique_identifier_msgs__msg__UUID goal_id;
|
||||
drone_interfaces__action__ExecuteMission_Feedback feedback;
|
||||
} drone_interfaces__action__ExecuteMission_FeedbackMessage;
|
||||
|
||||
// Struct for a sequence of drone_interfaces__action__ExecuteMission_FeedbackMessage.
|
||||
typedef struct drone_interfaces__action__ExecuteMission_FeedbackMessage__Sequence
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage * data;
|
||||
/// The number of valid items in data
|
||||
size_t size;
|
||||
/// The number of allocated items in data
|
||||
size_t capacity;
|
||||
} drone_interfaces__action__ExecuteMission_FeedbackMessage__Sequence;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__STRUCT_H_
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,992 @@
|
||||
// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#include <stddef.h>
|
||||
#include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
#include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
#include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
#include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
#include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `py_tree_json`
|
||||
#include "rosidl_runtime_c/string_functions.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_Goal__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Goal__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_member_array[1] = {
|
||||
{
|
||||
"py_tree_json", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_Goal, py_tree_json), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_Goal", // message name
|
||||
1, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_Goal),
|
||||
drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_Goal)() {
|
||||
if (!drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_Goal__rosidl_typesupport_introspection_c__ExecuteMission_Goal_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `message`
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string_functions.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_Result__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Result__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_member_array[2] = {
|
||||
{
|
||||
"success", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_Result, success), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
},
|
||||
{
|
||||
"message", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_Result, message), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_Result", // message name
|
||||
2, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_Result),
|
||||
drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_Result)() {
|
||||
if (!drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_Result__rosidl_typesupport_introspection_c__ExecuteMission_Result_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `node_id`
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string_functions.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_Feedback__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_Feedback__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_member_array[2] = {
|
||||
{
|
||||
"node_id", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_STRING, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_Feedback, node_id), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
},
|
||||
{
|
||||
"status", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_INT32, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_Feedback, status), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_Feedback", // message name
|
||||
2, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_Feedback),
|
||||
drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_Feedback)() {
|
||||
if (!drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_Feedback__rosidl_typesupport_introspection_c__ExecuteMission_Feedback_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `goal_id`
|
||||
#include "unique_identifier_msgs/msg/uuid.h"
|
||||
// Member `goal_id`
|
||||
#include "unique_identifier_msgs/msg/detail/uuid__rosidl_typesupport_introspection_c.h"
|
||||
// Member `goal`
|
||||
#include "drone_interfaces/action/execute_mission.h"
|
||||
// Member `goal`
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_member_array[2] = {
|
||||
{
|
||||
"goal_id", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_SendGoal_Request, goal_id), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
},
|
||||
{
|
||||
"goal", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_SendGoal_Request, goal), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_SendGoal_Request", // message name
|
||||
2, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_SendGoal_Request),
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Request)() {
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_member_array[0].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, unique_identifier_msgs, msg, UUID)();
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_member_array[1].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_Goal)();
|
||||
if (!drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_SendGoal_Request__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `stamp`
|
||||
#include "builtin_interfaces/msg/time.h"
|
||||
// Member `stamp`
|
||||
#include "builtin_interfaces/msg/detail/time__rosidl_typesupport_introspection_c.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_member_array[2] = {
|
||||
{
|
||||
"accepted", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_BOOLEAN, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_SendGoal_Response, accepted), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
},
|
||||
{
|
||||
"stamp", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_SendGoal_Response, stamp), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_SendGoal_Response", // message name
|
||||
2, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_SendGoal_Response),
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Response)() {
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_member_array[1].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, builtin_interfaces, msg, Time)();
|
||||
if (!drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_SendGoal_Response__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
#include "rosidl_typesupport_introspection_c/service_introspection.h"
|
||||
|
||||
// this is intentionally not const to allow initialization later to prevent an initialization race
|
||||
static rosidl_typesupport_introspection_c__ServiceMembers drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_members = {
|
||||
"drone_interfaces__action", // service namespace
|
||||
"ExecuteMission_SendGoal", // service name
|
||||
// these two fields are initialized below on the first access
|
||||
NULL, // request message
|
||||
// drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Request_message_type_support_handle,
|
||||
NULL // response message
|
||||
// drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_Response_message_type_support_handle
|
||||
};
|
||||
|
||||
static rosidl_service_type_support_t drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_members,
|
||||
get_service_typesupport_handle_function,
|
||||
};
|
||||
|
||||
// Forward declaration of request/response type support functions
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Request)();
|
||||
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Response)();
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal)() {
|
||||
if (!drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
rosidl_typesupport_introspection_c__ServiceMembers * service_members =
|
||||
(rosidl_typesupport_introspection_c__ServiceMembers *)drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_type_support_handle.data;
|
||||
|
||||
if (!service_members->request_members_) {
|
||||
service_members->request_members_ =
|
||||
(const rosidl_typesupport_introspection_c__MessageMembers *)
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Request)()->data;
|
||||
}
|
||||
if (!service_members->response_members_) {
|
||||
service_members->response_members_ =
|
||||
(const rosidl_typesupport_introspection_c__MessageMembers *)
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_SendGoal_Response)()->data;
|
||||
}
|
||||
|
||||
return &drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_SendGoal_service_type_support_handle;
|
||||
}
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `goal_id`
|
||||
// already included above
|
||||
// #include "unique_identifier_msgs/msg/uuid.h"
|
||||
// Member `goal_id`
|
||||
// already included above
|
||||
// #include "unique_identifier_msgs/msg/detail/uuid__rosidl_typesupport_introspection_c.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_member_array[1] = {
|
||||
{
|
||||
"goal_id", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_GetResult_Request, goal_id), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_GetResult_Request", // message name
|
||||
1, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_GetResult_Request),
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult_Request)() {
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_member_array[0].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, unique_identifier_msgs, msg, UUID)();
|
||||
if (!drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_GetResult_Request__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `result`
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/execute_mission.h"
|
||||
// Member `result`
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_member_array[2] = {
|
||||
{
|
||||
"status", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_INT8, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_GetResult_Response, status), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
},
|
||||
{
|
||||
"result", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_GetResult_Response, result), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_GetResult_Response", // message name
|
||||
2, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_GetResult_Response),
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult_Response)() {
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_member_array[1].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_Result)();
|
||||
if (!drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_GetResult_Response__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/service_type_support_struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/service_introspection.h"
|
||||
|
||||
// this is intentionally not const to allow initialization later to prevent an initialization race
|
||||
static rosidl_typesupport_introspection_c__ServiceMembers drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_members = {
|
||||
"drone_interfaces__action", // service namespace
|
||||
"ExecuteMission_GetResult", // service name
|
||||
// these two fields are initialized below on the first access
|
||||
NULL, // request message
|
||||
// drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Request_message_type_support_handle,
|
||||
NULL // response message
|
||||
// drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_Response_message_type_support_handle
|
||||
};
|
||||
|
||||
static rosidl_service_type_support_t drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_members,
|
||||
get_service_typesupport_handle_function,
|
||||
};
|
||||
|
||||
// Forward declaration of request/response type support functions
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult_Request)();
|
||||
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult_Response)();
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult)() {
|
||||
if (!drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
rosidl_typesupport_introspection_c__ServiceMembers * service_members =
|
||||
(rosidl_typesupport_introspection_c__ServiceMembers *)drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_type_support_handle.data;
|
||||
|
||||
if (!service_members->request_members_) {
|
||||
service_members->request_members_ =
|
||||
(const rosidl_typesupport_introspection_c__MessageMembers *)
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult_Request)()->data;
|
||||
}
|
||||
if (!service_members->response_members_) {
|
||||
service_members->response_members_ =
|
||||
(const rosidl_typesupport_introspection_c__MessageMembers *)
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_GetResult_Response)()->data;
|
||||
}
|
||||
|
||||
return &drone_interfaces__action__detail__execute_mission__rosidl_typesupport_introspection_c__ExecuteMission_GetResult_service_type_support_handle;
|
||||
}
|
||||
|
||||
// already included above
|
||||
// #include <stddef.h>
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/field_types.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/identifier.h"
|
||||
// already included above
|
||||
// #include "rosidl_typesupport_introspection_c/message_introspection.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
|
||||
|
||||
// Include directives for member types
|
||||
// Member `goal_id`
|
||||
// already included above
|
||||
// #include "unique_identifier_msgs/msg/uuid.h"
|
||||
// Member `goal_id`
|
||||
// already included above
|
||||
// #include "unique_identifier_msgs/msg/detail/uuid__rosidl_typesupport_introspection_c.h"
|
||||
// Member `feedback`
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/execute_mission.h"
|
||||
// Member `feedback`
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__rosidl_typesupport_introspection_c.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_init_function(
|
||||
void * message_memory, enum rosidl_runtime_c__message_initialization _init)
|
||||
{
|
||||
// TODO(karsten1987): initializers are not yet implemented for typesupport c
|
||||
// see https://github.com/ros2/ros2/issues/397
|
||||
(void) _init;
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__init(message_memory);
|
||||
}
|
||||
|
||||
void drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_fini_function(void * message_memory)
|
||||
{
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__fini(message_memory);
|
||||
}
|
||||
|
||||
static rosidl_typesupport_introspection_c__MessageMember drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_member_array[2] = {
|
||||
{
|
||||
"goal_id", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_FeedbackMessage, goal_id), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
},
|
||||
{
|
||||
"feedback", // name
|
||||
rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type
|
||||
0, // upper bound of string
|
||||
NULL, // members of sub message (initialized later)
|
||||
false, // is array
|
||||
0, // array size
|
||||
false, // is upper bound
|
||||
offsetof(drone_interfaces__action__ExecuteMission_FeedbackMessage, feedback), // bytes offset in struct
|
||||
NULL, // default value
|
||||
NULL, // size() function pointer
|
||||
NULL, // get_const(index) function pointer
|
||||
NULL, // get(index) function pointer
|
||||
NULL, // fetch(index, &value) function pointer
|
||||
NULL, // assign(index, value) function pointer
|
||||
NULL // resize(index) function pointer
|
||||
}
|
||||
};
|
||||
|
||||
static const rosidl_typesupport_introspection_c__MessageMembers drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_members = {
|
||||
"drone_interfaces__action", // message namespace
|
||||
"ExecuteMission_FeedbackMessage", // message name
|
||||
2, // number of fields
|
||||
sizeof(drone_interfaces__action__ExecuteMission_FeedbackMessage),
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_member_array, // message members
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_init_function, // function to initialize message memory (memory has to be allocated)
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_fini_function // function to terminate message instance (will not free memory)
|
||||
};
|
||||
|
||||
// this is not const since it must be initialized on first access
|
||||
// since C does not allow non-integral compile-time constants
|
||||
static rosidl_message_type_support_t drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_type_support_handle = {
|
||||
0,
|
||||
&drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_members,
|
||||
get_message_typesupport_handle_function,
|
||||
};
|
||||
|
||||
ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_FeedbackMessage)() {
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_member_array[0].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, unique_identifier_msgs, msg, UUID)();
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_member_array[1].members_ =
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, drone_interfaces, action, ExecuteMission_Feedback)();
|
||||
if (!drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_type_support_handle.typesupport_identifier) {
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_type_support_handle.typesupport_identifier =
|
||||
rosidl_typesupport_introspection_c__identifier;
|
||||
}
|
||||
return &drone_interfaces__action__ExecuteMission_FeedbackMessage__rosidl_typesupport_introspection_c__ExecuteMission_FeedbackMessage_message_type_support_handle;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,161 @@
|
||||
// generated from rosidl_generator_c/resource/idl__type_support.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_H_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_H_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "drone_interfaces/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_drone_interfaces
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission
|
||||
)();
|
||||
|
||||
#include "rosidl_runtime_c/message_type_support_struct.h"
|
||||
|
||||
// Forward declare the get type support functions for this type.
|
||||
ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_c,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_FeedbackMessage
|
||||
)();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_H_
|
||||
@@ -0,0 +1,231 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_HPP_
|
||||
#define DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_HPP_
|
||||
|
||||
#include "rosidl_typesupport_interface/macros.h"
|
||||
|
||||
#include "drone_interfaces/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_drone_interfaces
|
||||
const rosidl_action_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission
|
||||
)();
|
||||
#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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_service_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_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_drone_interfaces
|
||||
const rosidl_message_type_support_t *
|
||||
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(
|
||||
rosidl_typesupport_cpp,
|
||||
drone_interfaces,
|
||||
action,
|
||||
ExecuteMission_FeedbackMessage
|
||||
)();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__DETAIL__EXECUTE_MISSION__TYPE_SUPPORT_HPP_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_c/resource/idl.h.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__EXECUTE_MISSION_H_
|
||||
#define DRONE_INTERFACES__ACTION__EXECUTE_MISSION_H_
|
||||
|
||||
#include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__type_support.h"
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__EXECUTE_MISSION_H_
|
||||
@@ -0,0 +1,12 @@
|
||||
// generated from rosidl_generator_cpp/resource/idl.hpp.em
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
#ifndef DRONE_INTERFACES__ACTION__EXECUTE_MISSION_HPP_
|
||||
#define DRONE_INTERFACES__ACTION__EXECUTE_MISSION_HPP_
|
||||
|
||||
#include "drone_interfaces/action/detail/execute_mission__struct.hpp"
|
||||
#include "drone_interfaces/action/detail/execute_mission__builder.hpp"
|
||||
#include "drone_interfaces/action/detail/execute_mission__traits.hpp"
|
||||
#include "drone_interfaces/action/detail/execute_mission__type_support.hpp"
|
||||
|
||||
#endif // DRONE_INTERFACES__ACTION__EXECUTE_MISSION_HPP_
|
||||
@@ -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 DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
#define DRONE_INTERFACES__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_drone_interfaces __attribute__ ((dllexport))
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_drone_interfaces __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_drone_interfaces __declspec(dllexport)
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_drone_interfaces __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_GENERATOR_C_BUILDING_DLL_drone_interfaces
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces ROSIDL_GENERATOR_C_EXPORT_drone_interfaces
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces ROSIDL_GENERATOR_C_IMPORT_drone_interfaces
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_EXPORT_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_GENERATOR_C_IMPORT_drone_interfaces
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_C_PUBLIC_drone_interfaces
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_
|
||||
@@ -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 DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_
|
||||
#define DRONE_INTERFACES__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_drone_interfaces __attribute__ ((dllexport))
|
||||
#define ROSIDL_GENERATOR_CPP_IMPORT_drone_interfaces __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_EXPORT_drone_interfaces __declspec(dllexport)
|
||||
#define ROSIDL_GENERATOR_CPP_IMPORT_drone_interfaces __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_GENERATOR_CPP_BUILDING_DLL_drone_interfaces
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_drone_interfaces ROSIDL_GENERATOR_CPP_EXPORT_drone_interfaces
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_drone_interfaces ROSIDL_GENERATOR_CPP_IMPORT_drone_interfaces
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_EXPORT_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_GENERATOR_CPP_IMPORT_drone_interfaces
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_GENERATOR_CPP_PUBLIC_drone_interfaces
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_
|
||||
@@ -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 DRONE_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_
|
||||
#define DRONE_INTERFACES__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_drone_interfaces __attribute__ ((dllexport))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_drone_interfaces __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_drone_interfaces __declspec(dllexport)
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_drone_interfaces __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_TYPESUPPORT_FASTRTPS_C_BUILDING_DLL_drone_interfaces
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_drone_interfaces
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_drone_interfaces
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_drone_interfaces
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_drone_interfaces
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_
|
||||
@@ -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 DRONE_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_
|
||||
#define DRONE_INTERFACES__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_drone_interfaces __attribute__ ((dllexport))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_drone_interfaces __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_drone_interfaces __declspec(dllexport)
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_drone_interfaces __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_TYPESUPPORT_FASTRTPS_CPP_BUILDING_DLL_drone_interfaces
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_drone_interfaces
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_drone_interfaces
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_drone_interfaces
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_drone_interfaces
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_
|
||||
@@ -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 DRONE_INTERFACES__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_
|
||||
#define DRONE_INTERFACES__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_drone_interfaces __attribute__ ((dllexport))
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_drone_interfaces __attribute__ ((dllimport))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces __declspec(dllexport)
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_drone_interfaces __declspec(dllimport)
|
||||
#endif
|
||||
#ifdef ROSIDL_TYPESUPPORT_INTROSPECTION_C_BUILDING_DLL_drone_interfaces
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_drone_interfaces
|
||||
#endif
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_drone_interfaces
|
||||
#if __GNUC__ >= 4
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces __attribute__ ((visibility("default")))
|
||||
#else
|
||||
#define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_drone_interfaces
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // DRONE_INTERFACES__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: drone_interfaces
|
||||
Version: 0.0.0
|
||||
@@ -0,0 +1,6 @@
|
||||
setup.py
|
||||
drone_interfaces/__init__.py
|
||||
drone_interfaces.egg-info/PKG-INFO
|
||||
drone_interfaces.egg-info/SOURCES.txt
|
||||
drone_interfaces.egg-info/dependency_links.txt
|
||||
drone_interfaces.egg-info/top_level.txt
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
drone_interfaces
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
from drone_interfaces.action._execute_mission import ExecuteMission # noqa: F401
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,989 @@
|
||||
// generated from rosidl_generator_py/resource/_idl_support.c.em
|
||||
// with input from drone_interfaces:action/ExecuteMission.idl
|
||||
// generated code does not contain a copyright notice
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include <Python.h>
|
||||
#include <stdbool.h>
|
||||
#ifndef _WIN32
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#endif
|
||||
#include "numpy/ndarrayobject.h"
|
||||
#ifndef _WIN32
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
#include "rosidl_runtime_c/visibility_control.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
#include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
#include "rosidl_runtime_c/string.h"
|
||||
#include "rosidl_runtime_c/string_functions.h"
|
||||
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__goal__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[61];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_Goal", full_classname_dest, 60) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_Goal * ros_message = _ros_message;
|
||||
{ // py_tree_json
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "py_tree_json");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyUnicode_Check(field));
|
||||
PyObject * encoded_field = PyUnicode_AsUTF8String(field);
|
||||
if (!encoded_field) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
rosidl_runtime_c__String__assign(&ros_message->py_tree_json, PyBytes_AS_STRING(encoded_field));
|
||||
Py_DECREF(encoded_field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__goal__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_Goal */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_Goal");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_Goal * ros_message = (drone_interfaces__action__ExecuteMission_Goal *)raw_ros_message;
|
||||
{ // py_tree_json
|
||||
PyObject * field = NULL;
|
||||
field = PyUnicode_DecodeUTF8(
|
||||
ros_message->py_tree_json.data,
|
||||
strlen(ros_message->py_tree_json.data),
|
||||
"replace");
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "py_tree_json", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string_functions.h"
|
||||
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__result__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[63];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_Result", full_classname_dest, 62) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_Result * ros_message = _ros_message;
|
||||
{ // success
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "success");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyBool_Check(field));
|
||||
ros_message->success = (Py_True == field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
{ // message
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "message");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyUnicode_Check(field));
|
||||
PyObject * encoded_field = PyUnicode_AsUTF8String(field);
|
||||
if (!encoded_field) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
rosidl_runtime_c__String__assign(&ros_message->message, PyBytes_AS_STRING(encoded_field));
|
||||
Py_DECREF(encoded_field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__result__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_Result */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_Result");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_Result * ros_message = (drone_interfaces__action__ExecuteMission_Result *)raw_ros_message;
|
||||
{ // success
|
||||
PyObject * field = NULL;
|
||||
field = PyBool_FromLong(ros_message->success ? 1 : 0);
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "success", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
{ // message
|
||||
PyObject * field = NULL;
|
||||
field = PyUnicode_DecodeUTF8(
|
||||
ros_message->message.data,
|
||||
strlen(ros_message->message.data),
|
||||
"replace");
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "message", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/string_functions.h"
|
||||
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__feedback__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[65];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_Feedback", full_classname_dest, 64) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_Feedback * ros_message = _ros_message;
|
||||
{ // node_id
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "node_id");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyUnicode_Check(field));
|
||||
PyObject * encoded_field = PyUnicode_AsUTF8String(field);
|
||||
if (!encoded_field) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
rosidl_runtime_c__String__assign(&ros_message->node_id, PyBytes_AS_STRING(encoded_field));
|
||||
Py_DECREF(encoded_field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
{ // status
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "status");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyLong_Check(field));
|
||||
ros_message->status = (int32_t)PyLong_AsLong(field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__feedback__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_Feedback */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_Feedback");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_Feedback * ros_message = (drone_interfaces__action__ExecuteMission_Feedback *)raw_ros_message;
|
||||
{ // node_id
|
||||
PyObject * field = NULL;
|
||||
field = PyUnicode_DecodeUTF8(
|
||||
ros_message->node_id.data,
|
||||
strlen(ros_message->node_id.data),
|
||||
"replace");
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "node_id", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
{ // status
|
||||
PyObject * field = NULL;
|
||||
field = PyLong_FromLong(ros_message->status);
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "status", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
bool unique_identifier_msgs__msg__uuid__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
PyObject * unique_identifier_msgs__msg__uuid__convert_to_py(void * raw_ros_message);
|
||||
bool drone_interfaces__action__execute_mission__goal__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
PyObject * drone_interfaces__action__execute_mission__goal__convert_to_py(void * raw_ros_message);
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__send_goal__request__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[73];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_SendGoal_Request", full_classname_dest, 72) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request * ros_message = _ros_message;
|
||||
{ // goal_id
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "goal_id");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!unique_identifier_msgs__msg__uuid__convert_from_py(field, &ros_message->goal_id)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
{ // goal
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "goal");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!drone_interfaces__action__execute_mission__goal__convert_from_py(field, &ros_message->goal)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__send_goal__request__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_SendGoal_Request */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_SendGoal_Request");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Request * ros_message = (drone_interfaces__action__ExecuteMission_SendGoal_Request *)raw_ros_message;
|
||||
{ // goal_id
|
||||
PyObject * field = NULL;
|
||||
field = unique_identifier_msgs__msg__uuid__convert_to_py(&ros_message->goal_id);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "goal_id", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
{ // goal
|
||||
PyObject * field = NULL;
|
||||
field = drone_interfaces__action__execute_mission__goal__convert_to_py(&ros_message->goal);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "goal", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
bool builtin_interfaces__msg__time__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
PyObject * builtin_interfaces__msg__time__convert_to_py(void * raw_ros_message);
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__send_goal__response__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[74];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_SendGoal_Response", full_classname_dest, 73) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response * ros_message = _ros_message;
|
||||
{ // accepted
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "accepted");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyBool_Check(field));
|
||||
ros_message->accepted = (Py_True == field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
{ // stamp
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "stamp");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!builtin_interfaces__msg__time__convert_from_py(field, &ros_message->stamp)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__send_goal__response__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_SendGoal_Response */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_SendGoal_Response");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_SendGoal_Response * ros_message = (drone_interfaces__action__ExecuteMission_SendGoal_Response *)raw_ros_message;
|
||||
{ // accepted
|
||||
PyObject * field = NULL;
|
||||
field = PyBool_FromLong(ros_message->accepted ? 1 : 0);
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "accepted", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
{ // stamp
|
||||
PyObject * field = NULL;
|
||||
field = builtin_interfaces__msg__time__convert_to_py(&ros_message->stamp);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "stamp", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
bool unique_identifier_msgs__msg__uuid__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
PyObject * unique_identifier_msgs__msg__uuid__convert_to_py(void * raw_ros_message);
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__get_result__request__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[74];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_GetResult_Request", full_classname_dest, 73) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request * ros_message = _ros_message;
|
||||
{ // goal_id
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "goal_id");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!unique_identifier_msgs__msg__uuid__convert_from_py(field, &ros_message->goal_id)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__get_result__request__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_GetResult_Request */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_GetResult_Request");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Request * ros_message = (drone_interfaces__action__ExecuteMission_GetResult_Request *)raw_ros_message;
|
||||
{ // goal_id
|
||||
PyObject * field = NULL;
|
||||
field = unique_identifier_msgs__msg__uuid__convert_to_py(&ros_message->goal_id);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "goal_id", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
bool drone_interfaces__action__execute_mission__result__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
PyObject * drone_interfaces__action__execute_mission__result__convert_to_py(void * raw_ros_message);
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__get_result__response__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[75];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_GetResult_Response", full_classname_dest, 74) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response * ros_message = _ros_message;
|
||||
{ // status
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "status");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
assert(PyLong_Check(field));
|
||||
ros_message->status = (int8_t)PyLong_AsLong(field);
|
||||
Py_DECREF(field);
|
||||
}
|
||||
{ // result
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "result");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!drone_interfaces__action__execute_mission__result__convert_from_py(field, &ros_message->result)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__get_result__response__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_GetResult_Response */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_GetResult_Response");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_GetResult_Response * ros_message = (drone_interfaces__action__ExecuteMission_GetResult_Response *)raw_ros_message;
|
||||
{ // status
|
||||
PyObject * field = NULL;
|
||||
field = PyLong_FromLong(ros_message->status);
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "status", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
{ // result
|
||||
PyObject * field = NULL;
|
||||
field = drone_interfaces__action__execute_mission__result__convert_to_py(&ros_message->result);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "result", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
// already included above
|
||||
// #include <Python.h>
|
||||
// already included above
|
||||
// #include <stdbool.h>
|
||||
// already included above
|
||||
// #include "numpy/ndarrayobject.h"
|
||||
// already included above
|
||||
// #include "rosidl_runtime_c/visibility_control.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__struct.h"
|
||||
// already included above
|
||||
// #include "drone_interfaces/action/detail/execute_mission__functions.h"
|
||||
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
bool unique_identifier_msgs__msg__uuid__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
ROSIDL_GENERATOR_C_IMPORT
|
||||
PyObject * unique_identifier_msgs__msg__uuid__convert_to_py(void * raw_ros_message);
|
||||
bool drone_interfaces__action__execute_mission__feedback__convert_from_py(PyObject * _pymsg, void * _ros_message);
|
||||
PyObject * drone_interfaces__action__execute_mission__feedback__convert_to_py(void * raw_ros_message);
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
bool drone_interfaces__action__execute_mission__feedback_message__convert_from_py(PyObject * _pymsg, void * _ros_message)
|
||||
{
|
||||
// check that the passed message is of the expected Python class
|
||||
{
|
||||
char full_classname_dest[72];
|
||||
{
|
||||
char * class_name = NULL;
|
||||
char * module_name = NULL;
|
||||
{
|
||||
PyObject * class_attr = PyObject_GetAttrString(_pymsg, "__class__");
|
||||
if (class_attr) {
|
||||
PyObject * name_attr = PyObject_GetAttrString(class_attr, "__name__");
|
||||
if (name_attr) {
|
||||
class_name = (char *)PyUnicode_1BYTE_DATA(name_attr);
|
||||
Py_DECREF(name_attr);
|
||||
}
|
||||
PyObject * module_attr = PyObject_GetAttrString(class_attr, "__module__");
|
||||
if (module_attr) {
|
||||
module_name = (char *)PyUnicode_1BYTE_DATA(module_attr);
|
||||
Py_DECREF(module_attr);
|
||||
}
|
||||
Py_DECREF(class_attr);
|
||||
}
|
||||
}
|
||||
if (!class_name || !module_name) {
|
||||
return false;
|
||||
}
|
||||
snprintf(full_classname_dest, sizeof(full_classname_dest), "%s.%s", module_name, class_name);
|
||||
}
|
||||
assert(strncmp("drone_interfaces.action._execute_mission.ExecuteMission_FeedbackMessage", full_classname_dest, 71) == 0);
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage * ros_message = _ros_message;
|
||||
{ // goal_id
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "goal_id");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!unique_identifier_msgs__msg__uuid__convert_from_py(field, &ros_message->goal_id)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
{ // feedback
|
||||
PyObject * field = PyObject_GetAttrString(_pymsg, "feedback");
|
||||
if (!field) {
|
||||
return false;
|
||||
}
|
||||
if (!drone_interfaces__action__execute_mission__feedback__convert_from_py(field, &ros_message->feedback)) {
|
||||
Py_DECREF(field);
|
||||
return false;
|
||||
}
|
||||
Py_DECREF(field);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ROSIDL_GENERATOR_C_EXPORT
|
||||
PyObject * drone_interfaces__action__execute_mission__feedback_message__convert_to_py(void * raw_ros_message)
|
||||
{
|
||||
/* NOTE(esteve): Call constructor of ExecuteMission_FeedbackMessage */
|
||||
PyObject * _pymessage = NULL;
|
||||
{
|
||||
PyObject * pymessage_module = PyImport_ImportModule("drone_interfaces.action._execute_mission");
|
||||
assert(pymessage_module);
|
||||
PyObject * pymessage_class = PyObject_GetAttrString(pymessage_module, "ExecuteMission_FeedbackMessage");
|
||||
assert(pymessage_class);
|
||||
Py_DECREF(pymessage_module);
|
||||
_pymessage = PyObject_CallObject(pymessage_class, NULL);
|
||||
Py_DECREF(pymessage_class);
|
||||
if (!_pymessage) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
drone_interfaces__action__ExecuteMission_FeedbackMessage * ros_message = (drone_interfaces__action__ExecuteMission_FeedbackMessage *)raw_ros_message;
|
||||
{ // goal_id
|
||||
PyObject * field = NULL;
|
||||
field = unique_identifier_msgs__msg__uuid__convert_to_py(&ros_message->goal_id);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "goal_id", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
{ // feedback
|
||||
PyObject * field = NULL;
|
||||
field = drone_interfaces__action__execute_mission__feedback__convert_to_py(&ros_message->feedback);
|
||||
if (!field) {
|
||||
return NULL;
|
||||
}
|
||||
{
|
||||
int rc = PyObject_SetAttrString(_pymessage, "feedback", field);
|
||||
Py_DECREF(field);
|
||||
if (rc) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ownership of _pymessage is transferred to the caller
|
||||
return _pymessage;
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
rosidl_default_runtime
|
||||
@@ -0,0 +1 @@
|
||||
/opt/ros/humble
|
||||
@@ -0,0 +1,2 @@
|
||||
action/ExecuteMission.action
|
||||
action/ExecuteMission.idl
|
||||
@@ -0,0 +1 @@
|
||||
rosidl_default_runtime
|
||||
@@ -0,0 +1,10 @@
|
||||
# Goal definition
|
||||
string py_tree_json
|
||||
---
|
||||
# Result definition
|
||||
bool success
|
||||
string message
|
||||
---
|
||||
# Feedback definition
|
||||
string node_id
|
||||
int32 status # 0: RUNNING, 1: SUCCESS, 2: FAILURE
|
||||
@@ -0,0 +1,30 @@
|
||||
// generated from rosidl_adapter/resource/action.idl.em
|
||||
// with input from drone_interfaces/action/ExecuteMission.action
|
||||
// generated code does not contain a copyright notice
|
||||
|
||||
|
||||
module drone_interfaces {
|
||||
module action {
|
||||
@verbatim (language="comment", text=
|
||||
"Goal definition")
|
||||
struct ExecuteMission_Goal {
|
||||
string py_tree_json;
|
||||
};
|
||||
@verbatim (language="comment", text=
|
||||
"Result definition")
|
||||
struct ExecuteMission_Result {
|
||||
boolean success;
|
||||
|
||||
string message;
|
||||
};
|
||||
@verbatim (language="comment", text=
|
||||
"Feedback definition")
|
||||
struct ExecuteMission_Feedback {
|
||||
string node_id;
|
||||
|
||||
@verbatim (language="comment", text=
|
||||
"0: RUNNING, 1: SUCCESS, 2: FAILURE")
|
||||
int32 status;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,92 @@
|
||||
# generated from ament_cmake_export_dependencies/cmake/ament_cmake_export_dependencies-extras.cmake.in
|
||||
|
||||
set(_exported_dependencies "action_msgs;rosidl_runtime_c;rosidl_typesupport_interface;rcutils;fastrtps_cmake_module;fastcdr;rosidl_runtime_c;rosidl_runtime_cpp;rosidl_typesupport_fastrtps_c;rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_interface;rosidl_runtime_c;rosidl_typesupport_c;rosidl_typesupport_interface;rosidl_runtime_cpp;fastrtps_cmake_module;fastcdr;rmw;rosidl_runtime_c;rosidl_runtime_cpp;rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_interface;rosidl_runtime_c;rosidl_runtime_cpp;rosidl_typesupport_c;rosidl_typesupport_cpp;rosidl_typesupport_interface")
|
||||
|
||||
find_package(ament_cmake_libraries QUIET REQUIRED)
|
||||
|
||||
# find_package() all dependencies
|
||||
# and append their DEFINITIONS INCLUDE_DIRS, LIBRARIES, and LINK_FLAGS
|
||||
# variables to drone_interfaces_DEFINITIONS, drone_interfaces_INCLUDE_DIRS,
|
||||
# drone_interfaces_LIBRARIES, and drone_interfaces_LINK_FLAGS.
|
||||
# Additionally collect the direct dependency names in
|
||||
# drone_interfaces_DEPENDENCIES as well as the recursive dependency names
|
||||
# in drone_interfaces_RECURSIVE_DEPENDENCIES.
|
||||
if(NOT _exported_dependencies STREQUAL "")
|
||||
find_package(ament_cmake_core QUIET REQUIRED)
|
||||
set(drone_interfaces_DEPENDENCIES ${_exported_dependencies})
|
||||
set(drone_interfaces_RECURSIVE_DEPENDENCIES ${_exported_dependencies})
|
||||
set(_libraries)
|
||||
foreach(_dep ${_exported_dependencies})
|
||||
if(NOT ${_dep}_FOUND)
|
||||
find_package("${_dep}" QUIET REQUIRED)
|
||||
endif()
|
||||
# if a package provides modern CMake interface targets use them
|
||||
# exclusively assuming the classic CMake variables only exist for
|
||||
# backward compatibility
|
||||
set(use_modern_cmake FALSE)
|
||||
if(NOT "${${_dep}_TARGETS}" STREQUAL "")
|
||||
foreach(_target ${${_dep}_TARGETS})
|
||||
# only use actual targets
|
||||
# in case a package uses this variable for other content
|
||||
if(TARGET "${_target}")
|
||||
get_target_property(_include_dirs ${_target} INTERFACE_INCLUDE_DIRECTORIES)
|
||||
if(_include_dirs)
|
||||
list_append_unique(drone_interfaces_INCLUDE_DIRS "${_include_dirs}")
|
||||
endif()
|
||||
|
||||
get_target_property(_imported_configurations ${_target} IMPORTED_CONFIGURATIONS)
|
||||
if(_imported_configurations)
|
||||
string(TOUPPER "${_imported_configurations}" _imported_configurations)
|
||||
if(DEBUG_CONFIGURATIONS)
|
||||
string(TOUPPER "${DEBUG_CONFIGURATIONS}" _debug_configurations_uppercase)
|
||||
else()
|
||||
set(_debug_configurations_uppercase "DEBUG")
|
||||
endif()
|
||||
foreach(_imported_config ${_imported_configurations})
|
||||
get_target_property(_imported_implib ${_target} IMPORTED_IMPLIB_${_imported_config})
|
||||
if(_imported_implib)
|
||||
set(_imported_implib_config "optimized")
|
||||
if(${_imported_config} IN_LIST _debug_configurations_uppercase)
|
||||
set(_imported_implib_config "debug")
|
||||
endif()
|
||||
list(APPEND _libraries ${_imported_implib_config} ${_imported_implib})
|
||||
else()
|
||||
get_target_property(_imported_location ${_target} IMPORTED_LOCATION_${_imported_config})
|
||||
if(_imported_location)
|
||||
list(APPEND _libraries "${_imported_location}")
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
get_target_property(_link_libraries ${_target} INTERFACE_LINK_LIBRARIES)
|
||||
if(_link_libraries)
|
||||
list(APPEND _libraries "${_link_libraries}")
|
||||
endif()
|
||||
set(use_modern_cmake TRUE)
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
if(NOT use_modern_cmake)
|
||||
if(${_dep}_DEFINITIONS)
|
||||
list_append_unique(drone_interfaces_DEFINITIONS "${${_dep}_DEFINITIONS}")
|
||||
endif()
|
||||
if(${_dep}_INCLUDE_DIRS)
|
||||
list_append_unique(drone_interfaces_INCLUDE_DIRS "${${_dep}_INCLUDE_DIRS}")
|
||||
endif()
|
||||
if(${_dep}_LIBRARIES)
|
||||
list(APPEND _libraries "${${_dep}_LIBRARIES}")
|
||||
endif()
|
||||
if(${_dep}_LINK_FLAGS)
|
||||
list_append_unique(drone_interfaces_LINK_FLAGS "${${_dep}_LINK_FLAGS}")
|
||||
endif()
|
||||
if(${_dep}_RECURSIVE_DEPENDENCIES)
|
||||
list_append_unique(drone_interfaces_RECURSIVE_DEPENDENCIES "${${_dep}_RECURSIVE_DEPENDENCIES}")
|
||||
endif()
|
||||
endif()
|
||||
if(_libraries)
|
||||
ament_libraries_deduplicate(_libraries "${_libraries}")
|
||||
list(APPEND drone_interfaces_LIBRARIES "${_libraries}")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
@@ -0,0 +1,16 @@
|
||||
# generated from ament_cmake_export_include_directories/cmake/ament_cmake_export_include_directories-extras.cmake.in
|
||||
|
||||
set(_exported_include_dirs "${drone_interfaces_DIR}/../../../include/drone_interfaces")
|
||||
|
||||
# append include directories to drone_interfaces_INCLUDE_DIRS
|
||||
# warn about not existing paths
|
||||
if(NOT _exported_include_dirs STREQUAL "")
|
||||
find_package(ament_cmake_core QUIET REQUIRED)
|
||||
foreach(_exported_include_dir ${_exported_include_dirs})
|
||||
if(NOT IS_DIRECTORY "${_exported_include_dir}")
|
||||
message(WARNING "Package 'drone_interfaces' exports the include directory '${_exported_include_dir}' which doesn't exist")
|
||||
endif()
|
||||
normalize_path(_exported_include_dir "${_exported_include_dir}")
|
||||
list(APPEND drone_interfaces_INCLUDE_DIRS "${_exported_include_dir}")
|
||||
endforeach()
|
||||
endif()
|
||||
@@ -0,0 +1,141 @@
|
||||
# generated from ament_cmake_export_libraries/cmake/template/ament_cmake_export_libraries.cmake.in
|
||||
|
||||
set(_exported_libraries "drone_interfaces__rosidl_generator_c;drone_interfaces__rosidl_typesupport_c;drone_interfaces__rosidl_typesupport_cpp")
|
||||
set(_exported_library_names "")
|
||||
|
||||
# populate drone_interfaces_LIBRARIES
|
||||
if(NOT _exported_libraries STREQUAL "")
|
||||
# loop over libraries, either target names or absolute paths
|
||||
list(LENGTH _exported_libraries _length)
|
||||
set(_i 0)
|
||||
while(_i LESS _length)
|
||||
list(GET _exported_libraries ${_i} _arg)
|
||||
|
||||
# pass linker flags along
|
||||
if("${_arg}" MATCHES "^-" AND NOT "${_arg}" MATCHES "^-[l|framework]")
|
||||
list(APPEND drone_interfaces_LIBRARIES "${_arg}")
|
||||
math(EXPR _i "${_i} + 1")
|
||||
continue()
|
||||
endif()
|
||||
|
||||
if("${_arg}" MATCHES "^(debug|optimized|general)$")
|
||||
# remember build configuration keyword
|
||||
# and get following library
|
||||
set(_cfg "${_arg}")
|
||||
math(EXPR _i "${_i} + 1")
|
||||
if(_i EQUAL _length)
|
||||
message(FATAL_ERROR "Package 'drone_interfaces' passes the build configuration keyword '${_cfg}' as the last exported library")
|
||||
endif()
|
||||
list(GET _exported_libraries ${_i} _library)
|
||||
else()
|
||||
# the value is a library without a build configuration keyword
|
||||
set(_cfg "")
|
||||
set(_library "${_arg}")
|
||||
endif()
|
||||
math(EXPR _i "${_i} + 1")
|
||||
|
||||
if(NOT IS_ABSOLUTE "${_library}")
|
||||
# search for library target relative to this CMake file
|
||||
set(_lib "NOTFOUND")
|
||||
find_library(
|
||||
_lib NAMES "${_library}"
|
||||
PATHS "${drone_interfaces_DIR}/../../../lib"
|
||||
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
|
||||
if(NOT _lib)
|
||||
# warn about not existing library and ignore it
|
||||
message(FATAL_ERROR "Package 'drone_interfaces' exports the library '${_library}' which couldn't be found")
|
||||
elseif(NOT IS_ABSOLUTE "${_lib}")
|
||||
# the found library must be an absolute path
|
||||
message(FATAL_ERROR "Package 'drone_interfaces' found the library '${_library}' at '${_lib}' which is not an absolute path")
|
||||
elseif(NOT EXISTS "${_lib}")
|
||||
# the found library must exist
|
||||
message(FATAL_ERROR "Package 'drone_interfaces' found the library '${_lib}' which doesn't exist")
|
||||
else()
|
||||
list(APPEND drone_interfaces_LIBRARIES ${_cfg} "${_lib}")
|
||||
endif()
|
||||
|
||||
else()
|
||||
if(NOT EXISTS "${_library}")
|
||||
# the found library must exist
|
||||
message(WARNING "Package 'drone_interfaces' exports the library '${_library}' which doesn't exist")
|
||||
else()
|
||||
list(APPEND drone_interfaces_LIBRARIES ${_cfg} "${_library}")
|
||||
endif()
|
||||
endif()
|
||||
endwhile()
|
||||
endif()
|
||||
|
||||
# find_library() library names with optional LIBRARY_DIRS
|
||||
# and add the libraries to drone_interfaces_LIBRARIES
|
||||
if(NOT _exported_library_names STREQUAL "")
|
||||
# loop over library names
|
||||
# but remember related build configuration keyword if available
|
||||
list(LENGTH _exported_library_names _length)
|
||||
set(_i 0)
|
||||
while(_i LESS _length)
|
||||
list(GET _exported_library_names ${_i} _arg)
|
||||
# pass linker flags along
|
||||
if("${_arg}" MATCHES "^-" AND NOT "${_arg}" MATCHES "^-[l|framework]")
|
||||
list(APPEND drone_interfaces_LIBRARIES "${_arg}")
|
||||
math(EXPR _i "${_i} + 1")
|
||||
continue()
|
||||
endif()
|
||||
|
||||
if("${_arg}" MATCHES "^(debug|optimized|general)$")
|
||||
# remember build configuration keyword
|
||||
# and get following library name
|
||||
set(_cfg "${_arg}")
|
||||
math(EXPR _i "${_i} + 1")
|
||||
if(_i EQUAL _length)
|
||||
message(FATAL_ERROR "Package 'drone_interfaces' passes the build configuration keyword '${_cfg}' as the last exported target")
|
||||
endif()
|
||||
list(GET _exported_library_names ${_i} _library)
|
||||
else()
|
||||
# the value is a library target without a build configuration keyword
|
||||
set(_cfg "")
|
||||
set(_library "${_arg}")
|
||||
endif()
|
||||
math(EXPR _i "${_i} + 1")
|
||||
|
||||
# extract optional LIBRARY_DIRS from library name
|
||||
string(REPLACE ":" ";" _library_dirs "${_library}")
|
||||
list(GET _library_dirs 0 _library_name)
|
||||
list(REMOVE_AT _library_dirs 0)
|
||||
|
||||
set(_lib "NOTFOUND")
|
||||
if(NOT _library_dirs)
|
||||
# search for library in the common locations
|
||||
find_library(
|
||||
_lib
|
||||
NAMES "${_library_name}"
|
||||
)
|
||||
if(NOT _lib)
|
||||
# warn about not existing library and later ignore it
|
||||
message(WARNING "Package 'drone_interfaces' exports library '${_library_name}' which couldn't be found")
|
||||
endif()
|
||||
else()
|
||||
# search for library in the specified directories
|
||||
find_library(
|
||||
_lib
|
||||
NAMES "${_library_name}"
|
||||
PATHS ${_library_dirs}
|
||||
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
if(NOT _lib)
|
||||
# warn about not existing library and later ignore it
|
||||
message(WARNING
|
||||
"Package 'drone_interfaces' exports library '${_library_name}' with LIBRARY_DIRS '${_library_dirs}' which couldn't be found")
|
||||
endif()
|
||||
endif()
|
||||
if(_lib)
|
||||
list(APPEND drone_interfaces_LIBRARIES ${_cfg} "${_lib}")
|
||||
endif()
|
||||
endwhile()
|
||||
endif()
|
||||
|
||||
# TODO(dirk-thomas) deduplicate drone_interfaces_LIBRARIES
|
||||
# while maintaining library order
|
||||
# as well as build configuration keywords
|
||||
# as well as linker flags
|
||||
@@ -0,0 +1,27 @@
|
||||
# generated from ament_cmake_export_targets/cmake/ament_cmake_export_targets-extras.cmake.in
|
||||
|
||||
set(_exported_targets "export_drone_interfaces__rosidl_generator_c;export_drone_interfaces__rosidl_typesupport_fastrtps_c;drone_interfaces__rosidl_typesupport_introspection_c;drone_interfaces__rosidl_typesupport_c;export_drone_interfaces__rosidl_generator_cpp;export_drone_interfaces__rosidl_typesupport_fastrtps_cpp;drone_interfaces__rosidl_typesupport_introspection_cpp;drone_interfaces__rosidl_typesupport_cpp;export_drone_interfaces__rosidl_generator_py")
|
||||
|
||||
# include all exported targets
|
||||
if(NOT _exported_targets STREQUAL "")
|
||||
foreach(_target ${_exported_targets})
|
||||
set(_export_file "${drone_interfaces_DIR}/${_target}Export.cmake")
|
||||
include("${_export_file}")
|
||||
|
||||
# extract the target names associated with the export
|
||||
set(_regex "foreach\\((_cmake)?_expected_?[Tt]arget (IN ITEMS )?(.+)\\)")
|
||||
file(
|
||||
STRINGS "${_export_file}" _foreach_targets
|
||||
REGEX "${_regex}")
|
||||
list(LENGTH _foreach_targets _matches)
|
||||
if(NOT _matches EQUAL 1)
|
||||
message(FATAL_ERROR
|
||||
"Failed to find exported target names in '${_export_file}'")
|
||||
endif()
|
||||
string(REGEX REPLACE "${_regex}" "\\3" _targets "${_foreach_targets}")
|
||||
string(REPLACE " " ";" _targets "${_targets}")
|
||||
list(LENGTH _targets _length)
|
||||
|
||||
list(APPEND drone_interfaces_TARGETS ${_targets})
|
||||
endforeach()
|
||||
endif()
|
||||
@@ -0,0 +1,14 @@
|
||||
# generated from ament/cmake/core/templates/nameConfig-version.cmake.in
|
||||
set(PACKAGE_VERSION "0.0.0")
|
||||
|
||||
set(PACKAGE_VERSION_EXACT False)
|
||||
set(PACKAGE_VERSION_COMPATIBLE False)
|
||||
|
||||
if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}")
|
||||
set(PACKAGE_VERSION_EXACT True)
|
||||
set(PACKAGE_VERSION_COMPATIBLE True)
|
||||
endif()
|
||||
|
||||
if("${PACKAGE_FIND_VERSION}" VERSION_LESS "${PACKAGE_VERSION}")
|
||||
set(PACKAGE_VERSION_COMPATIBLE True)
|
||||
endif()
|
||||
@@ -0,0 +1,42 @@
|
||||
# generated from ament/cmake/core/templates/nameConfig.cmake.in
|
||||
|
||||
# prevent multiple inclusion
|
||||
if(_drone_interfaces_CONFIG_INCLUDED)
|
||||
# ensure to keep the found flag the same
|
||||
if(NOT DEFINED drone_interfaces_FOUND)
|
||||
# explicitly set it to FALSE, otherwise CMake will set it to TRUE
|
||||
set(drone_interfaces_FOUND FALSE)
|
||||
elseif(NOT drone_interfaces_FOUND)
|
||||
# use separate condition to avoid uninitialized variable warning
|
||||
set(drone_interfaces_FOUND FALSE)
|
||||
endif()
|
||||
return()
|
||||
endif()
|
||||
set(_drone_interfaces_CONFIG_INCLUDED TRUE)
|
||||
|
||||
# output package information
|
||||
if(NOT drone_interfaces_FIND_QUIETLY)
|
||||
message(STATUS "Found drone_interfaces: 0.0.0 (${drone_interfaces_DIR})")
|
||||
endif()
|
||||
|
||||
# warn when using a deprecated package
|
||||
if(NOT "" STREQUAL "")
|
||||
set(_msg "Package 'drone_interfaces' is deprecated")
|
||||
# append custom deprecation text if available
|
||||
if(NOT "" STREQUAL "TRUE")
|
||||
set(_msg "${_msg} ()")
|
||||
endif()
|
||||
# optionally quiet the deprecation message
|
||||
if(NOT ${drone_interfaces_DEPRECATED_QUIET})
|
||||
message(DEPRECATION "${_msg}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# flag package as ament-based to distinguish it after being find_package()-ed
|
||||
set(drone_interfaces_FOUND_AMENT_PACKAGE TRUE)
|
||||
|
||||
# include all config extra files
|
||||
set(_extras "rosidl_cmake-extras.cmake;ament_cmake_export_dependencies-extras.cmake;ament_cmake_export_include_directories-extras.cmake;ament_cmake_export_libraries-extras.cmake;ament_cmake_export_targets-extras.cmake;rosidl_cmake_export_typesupport_targets-extras.cmake;rosidl_cmake_export_typesupport_libraries-extras.cmake")
|
||||
foreach(_extra ${_extras})
|
||||
include("${drone_interfaces_DIR}/${_extra}")
|
||||
endforeach()
|
||||
@@ -0,0 +1,20 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_typesupport_c" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_typesupport_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_c PROPERTIES
|
||||
IMPORTED_LINK_DEPENDENT_LIBRARIES_NOCONFIG "rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_c::rosidl_typesupport_c"
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_c.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_typesupport_c.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_typesupport_c )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_typesupport_c "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_c.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,114 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_typesupport_c)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_typesupport_c
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_typesupport_c SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_c PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_c;action_msgs::action_msgs__rosidl_typesupport_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_c;unique_identifier_msgs::unique_identifier_msgs__rosidl_typesupport_c"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/drone_interfaces__rosidl_typesupport_cExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_c" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,20 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_typesupport_cpp" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_typesupport_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_cpp PROPERTIES
|
||||
IMPORTED_LINK_DEPENDENT_LIBRARIES_NOCONFIG "rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_cpp::rosidl_typesupport_cpp;rosidl_typesupport_c::rosidl_typesupport_c"
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_cpp.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_typesupport_cpp.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_typesupport_cpp )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_typesupport_cpp "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_cpp.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,114 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_typesupport_cpp)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_typesupport_cpp
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_typesupport_cpp SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_cpp PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_cpp;action_msgs::action_msgs__rosidl_typesupport_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_cpp;unique_identifier_msgs::unique_identifier_msgs__rosidl_typesupport_cpp"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/drone_interfaces__rosidl_typesupport_cppExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_cpp" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,19 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c PROPERTIES
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_introspection_c.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_typesupport_introspection_c.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_introspection_c.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_c PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/drone_interfaces"
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_c;rosidl_typesupport_introspection_c::rosidl_typesupport_introspection_c;action_msgs::action_msgs__rosidl_typesupport_introspection_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_c;unique_identifier_msgs::unique_identifier_msgs__rosidl_typesupport_introspection_c"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/drone_interfaces__rosidl_typesupport_introspection_cExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_c" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,19 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp PROPERTIES
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_introspection_cpp.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_typesupport_introspection_cpp.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_introspection_cpp.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_introspection_cpp PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/drone_interfaces"
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_cpp;rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_introspection_cpp::rosidl_typesupport_introspection_cpp;action_msgs::action_msgs__rosidl_typesupport_introspection_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_cpp;unique_identifier_msgs::unique_identifier_msgs__rosidl_typesupport_introspection_cpp"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/drone_interfaces__rosidl_typesupport_introspection_cppExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_cpp" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,19 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_generator_c" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_generator_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_generator_c PROPERTIES
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_generator_c.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_generator_c.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_generator_c )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_generator_c "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_generator_c.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,99 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_generator_c)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_generator_c
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_generator_c SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_generator_c PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/drone_interfaces"
|
||||
INTERFACE_LINK_LIBRARIES "action_msgs::action_msgs__rosidl_generator_c;builtin_interfaces::builtin_interfaces__rosidl_generator_c;unique_identifier_msgs::unique_identifier_msgs__rosidl_generator_c;rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_interface::rosidl_typesupport_interface;rcutils::rcutils"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/export_drone_interfaces__rosidl_generator_cExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# This file does not depend on other imported targets which have
|
||||
# been exported from the same project but in a separate export set.
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,99 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_generator_cpp)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_generator_cpp
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_generator_cpp INTERFACE IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_generator_cpp PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/drone_interfaces"
|
||||
INTERFACE_LINK_LIBRARIES "action_msgs::action_msgs__rosidl_generator_cpp;builtin_interfaces::builtin_interfaces__rosidl_generator_cpp;unique_identifier_msgs::unique_identifier_msgs__rosidl_generator_cpp;rosidl_runtime_cpp::rosidl_runtime_cpp"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.0.0)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/export_drone_interfaces__rosidl_generator_cppExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# This file does not depend on other imported targets which have
|
||||
# been exported from the same project but in a separate export set.
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,19 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_generator_py" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_generator_py APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_generator_py PROPERTIES
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_generator_py.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_generator_py.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_generator_py )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_generator_py "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_generator_py.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_generator_py)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_generator_py
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_generator_py SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_generator_py PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "/home/huangfukk/miniconda3/envs/backend/lib/python3.10/site-packages/numpy/_core/include"
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_c;/home/huangfukk/miniconda3/envs/backend/lib/libpython3.10.so;drone_interfaces::drone_interfaces__rosidl_typesupport_c;action_msgs::action_msgs__rosidl_generator_py;builtin_interfaces::builtin_interfaces__rosidl_generator_py;unique_identifier_msgs::unique_identifier_msgs__rosidl_generator_py"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/export_drone_interfaces__rosidl_generator_pyExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_c" "drone_interfaces::drone_interfaces__rosidl_typesupport_c" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,19 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c PROPERTIES
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_fastrtps_c.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_typesupport_fastrtps_c.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_fastrtps_c.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_c PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/drone_interfaces"
|
||||
INTERFACE_LINK_LIBRARIES "fastcdr;rosidl_runtime_c::rosidl_runtime_c;rosidl_runtime_cpp::rosidl_runtime_cpp;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_fastrtps_c::rosidl_typesupport_fastrtps_c;drone_interfaces::drone_interfaces__rosidl_generator_c;action_msgs::action_msgs__rosidl_typesupport_fastrtps_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_c;unique_identifier_msgs::unique_identifier_msgs__rosidl_typesupport_fastrtps_c"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/export_drone_interfaces__rosidl_typesupport_fastrtps_cExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_c" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,19 @@
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Import target "drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp" for configuration ""
|
||||
set_property(TARGET drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp PROPERTIES
|
||||
IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_fastrtps_cpp.so"
|
||||
IMPORTED_SONAME_NOCONFIG "libdrone_interfaces__rosidl_typesupport_fastrtps_cpp.so"
|
||||
)
|
||||
|
||||
list(APPEND _IMPORT_CHECK_TARGETS drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp )
|
||||
list(APPEND _IMPORT_CHECK_FILES_FOR_drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp "${_IMPORT_PREFIX}/lib/libdrone_interfaces__rosidl_typesupport_fastrtps_cpp.so" )
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
@@ -0,0 +1,115 @@
|
||||
# Generated by CMake
|
||||
|
||||
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
||||
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
||||
endif()
|
||||
cmake_policy(PUSH)
|
||||
cmake_policy(VERSION 2.6...3.20)
|
||||
#----------------------------------------------------------------
|
||||
# Generated CMake target import file.
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Commands may need to know the format version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||
|
||||
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
||||
set(_targetsDefined)
|
||||
set(_targetsNotDefined)
|
||||
set(_expectedTargets)
|
||||
foreach(_expectedTarget drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp)
|
||||
list(APPEND _expectedTargets ${_expectedTarget})
|
||||
if(NOT TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||
endif()
|
||||
if(TARGET ${_expectedTarget})
|
||||
list(APPEND _targetsDefined ${_expectedTarget})
|
||||
endif()
|
||||
endforeach()
|
||||
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
return()
|
||||
endif()
|
||||
if(NOT "${_targetsDefined}" STREQUAL "")
|
||||
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
||||
endif()
|
||||
unset(_targetsDefined)
|
||||
unset(_targetsNotDefined)
|
||||
unset(_expectedTargets)
|
||||
|
||||
|
||||
# Compute the installation prefix relative to this file.
|
||||
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
||||
if(_IMPORT_PREFIX STREQUAL "/")
|
||||
set(_IMPORT_PREFIX "")
|
||||
endif()
|
||||
|
||||
# Create imported target drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_typesupport_fastrtps_cpp PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/drone_interfaces"
|
||||
INTERFACE_LINK_LIBRARIES "fastcdr;rmw::rmw;rosidl_runtime_c::rosidl_runtime_c;rosidl_runtime_cpp::rosidl_runtime_cpp;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;action_msgs::action_msgs__rosidl_typesupport_fastrtps_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_cpp;unique_identifier_msgs::unique_identifier_msgs__rosidl_typesupport_fastrtps_cpp;drone_interfaces::drone_interfaces__rosidl_generator_cpp"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||
endif()
|
||||
|
||||
# Load information for each installed configuration.
|
||||
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
file(GLOB CONFIG_FILES "${_DIR}/export_drone_interfaces__rosidl_typesupport_fastrtps_cppExport-*.cmake")
|
||||
foreach(f ${CONFIG_FILES})
|
||||
include(${f})
|
||||
endforeach()
|
||||
|
||||
# Cleanup temporary variables.
|
||||
set(_IMPORT_PREFIX)
|
||||
|
||||
# Loop over all imported files and verify that they actually exist
|
||||
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
||||
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
||||
if(NOT EXISTS "${file}" )
|
||||
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
||||
\"${file}\"
|
||||
but this file does not exist. Possible reasons include:
|
||||
* The file was deleted, renamed, or moved to another location.
|
||||
* An install or uninstall procedure did not complete successfully.
|
||||
* The installation package was faulty and contained
|
||||
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||
but not all the files it references.
|
||||
")
|
||||
endif()
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
||||
endforeach()
|
||||
unset(_IMPORT_CHECK_TARGETS)
|
||||
|
||||
# Make sure the targets which have been exported in some other
|
||||
# export set exist.
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
foreach(_target "drone_interfaces::drone_interfaces__rosidl_generator_cpp" )
|
||||
if(NOT TARGET "${_target}" )
|
||||
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
if(CMAKE_FIND_PACKAGE_NAME)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
||||
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
else()
|
||||
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
||||
endif()
|
||||
endif()
|
||||
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
||||
|
||||
# Commands beyond this point should not need to know the version.
|
||||
set(CMAKE_IMPORT_FILE_VERSION)
|
||||
cmake_policy(POP)
|
||||
@@ -0,0 +1,4 @@
|
||||
# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in
|
||||
|
||||
set(drone_interfaces_IDL_FILES "action/ExecuteMission.idl")
|
||||
set(drone_interfaces_INTERFACE_FILES "action/ExecuteMission.action")
|
||||
@@ -0,0 +1,49 @@
|
||||
# generated from
|
||||
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_libraries.cmake.in
|
||||
|
||||
set(_exported_typesupport_libraries
|
||||
"__rosidl_typesupport_fastrtps_c:drone_interfaces__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_fastrtps_cpp:drone_interfaces__rosidl_typesupport_fastrtps_cpp")
|
||||
|
||||
# populate drone_interfaces_LIBRARIES_<suffix>
|
||||
if(NOT _exported_typesupport_libraries STREQUAL "")
|
||||
# loop over typesupport libraries
|
||||
foreach(_tuple ${_exported_typesupport_libraries})
|
||||
string(REPLACE ":" ";" _tuple "${_tuple}")
|
||||
list(GET _tuple 0 _suffix)
|
||||
list(GET _tuple 1 _library)
|
||||
|
||||
if(NOT IS_ABSOLUTE "${_library}")
|
||||
# search for library target relative to this CMake file
|
||||
set(_lib "NOTFOUND")
|
||||
find_library(
|
||||
_lib NAMES "${_library}"
|
||||
PATHS "${drone_interfaces_DIR}/../../../lib"
|
||||
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
|
||||
if(NOT _lib)
|
||||
# the library wasn't found
|
||||
message(FATAL_ERROR
|
||||
"Package 'drone_interfaces' exports the typesupport library '${_library}' which couldn't be found")
|
||||
elseif(NOT IS_ABSOLUTE "${_lib}")
|
||||
# the found library must be an absolute path
|
||||
message(FATAL_ERROR
|
||||
"Package 'drone_interfaces' found the typesupport library '${_library}' at '${_lib}' "
|
||||
"which is not an absolute path")
|
||||
elseif(NOT EXISTS "${_lib}")
|
||||
# the found library must exist
|
||||
message(FATAL_ERROR "Package 'drone_interfaces' found the typesupport library '${_lib}' which doesn't exist")
|
||||
else()
|
||||
list(APPEND drone_interfaces_LIBRARIES${_suffix} ${_cfg} "${_lib}")
|
||||
endif()
|
||||
|
||||
else()
|
||||
if(NOT EXISTS "${_library}")
|
||||
# the found library must exist
|
||||
message(WARNING "Package 'drone_interfaces' exports the typesupport library '${_library}' which doesn't exist")
|
||||
else()
|
||||
list(APPEND drone_interfaces_LIBRARIES${_suffix} "${_library}")
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
@@ -0,0 +1,23 @@
|
||||
# generated from
|
||||
# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in
|
||||
|
||||
set(_exported_typesupport_targets
|
||||
"__rosidl_generator_c:drone_interfaces__rosidl_generator_c;__rosidl_typesupport_fastrtps_c:drone_interfaces__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_introspection_c:drone_interfaces__rosidl_typesupport_introspection_c;__rosidl_typesupport_c:drone_interfaces__rosidl_typesupport_c;__rosidl_generator_cpp:drone_interfaces__rosidl_generator_cpp;__rosidl_typesupport_fastrtps_cpp:drone_interfaces__rosidl_typesupport_fastrtps_cpp;__rosidl_typesupport_introspection_cpp:drone_interfaces__rosidl_typesupport_introspection_cpp;__rosidl_typesupport_cpp:drone_interfaces__rosidl_typesupport_cpp;__rosidl_generator_py:drone_interfaces__rosidl_generator_py")
|
||||
|
||||
# populate drone_interfaces_TARGETS_<suffix>
|
||||
if(NOT _exported_typesupport_targets STREQUAL "")
|
||||
# loop over typesupport targets
|
||||
foreach(_tuple ${_exported_typesupport_targets})
|
||||
string(REPLACE ":" ";" _tuple "${_tuple}")
|
||||
list(GET _tuple 0 _suffix)
|
||||
list(GET _tuple 1 _target)
|
||||
|
||||
set(_target "drone_interfaces::${_target}")
|
||||
if(NOT TARGET "${_target}")
|
||||
# the exported target must exist
|
||||
message(WARNING "Package 'drone_interfaces' exports the typesupport target '${_target}' which doesn't exist")
|
||||
else()
|
||||
list(APPEND drone_interfaces_TARGETS${_suffix} "${_target}")
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;AMENT_PREFIX_PATH;
|
||||
@@ -0,0 +1,4 @@
|
||||
# copied from
|
||||
# ament_cmake_core/cmake/environment_hooks/environment/ament_prefix_path.sh
|
||||
|
||||
ament_prepend_unique_value AMENT_PREFIX_PATH "$AMENT_CURRENT_PREFIX"
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;LD_LIBRARY_PATH;lib
|
||||
@@ -0,0 +1,16 @@
|
||||
# copied from ament_package/template/environment_hook/library_path.sh
|
||||
|
||||
# detect if running on Darwin platform
|
||||
_UNAME=`uname -s`
|
||||
_IS_DARWIN=0
|
||||
if [ "$_UNAME" = "Darwin" ]; then
|
||||
_IS_DARWIN=1
|
||||
fi
|
||||
unset _UNAME
|
||||
|
||||
if [ $_IS_DARWIN -eq 0 ]; then
|
||||
ament_prepend_unique_value LD_LIBRARY_PATH "$AMENT_CURRENT_PREFIX/lib"
|
||||
else
|
||||
ament_prepend_unique_value DYLD_LIBRARY_PATH "$AMENT_CURRENT_PREFIX/lib"
|
||||
fi
|
||||
unset _IS_DARWIN
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate-if-exists;PATH;bin
|
||||
@@ -0,0 +1,5 @@
|
||||
# copied from ament_cmake_core/cmake/environment_hooks/environment/path.sh
|
||||
|
||||
if [ -d "$AMENT_CURRENT_PREFIX/bin" ]; then
|
||||
ament_prepend_unique_value PATH "$AMENT_CURRENT_PREFIX/bin"
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;PYTHONPATH;lib/python3.10/site-packages
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from ament_package/template/environment_hook/pythonpath.sh.in
|
||||
|
||||
ament_prepend_unique_value PYTHONPATH "$AMENT_CURRENT_PREFIX/lib/python3.10/site-packages"
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;PYTHONPATH;lib/python3.10/site-packages
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em
|
||||
|
||||
colcon_prepend_unique_value PYTHONPATH "$env:COLCON_CURRENT_PREFIX\lib/python3.10/site-packages"
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_core/shell/template/hook_prepend_value.sh.em
|
||||
|
||||
_colcon_prepend_unique_value PYTHONPATH "$COLCON_CURRENT_PREFIX/lib/python3.10/site-packages"
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;CMAKE_PREFIX_PATH;
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em
|
||||
|
||||
colcon_prepend_unique_value CMAKE_PREFIX_PATH "$env:COLCON_CURRENT_PREFIX"
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_core/shell/template/hook_prepend_value.sh.em
|
||||
|
||||
_colcon_prepend_unique_value CMAKE_PREFIX_PATH "$COLCON_CURRENT_PREFIX"
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;LD_LIBRARY_PATH;lib
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em
|
||||
|
||||
colcon_prepend_unique_value LD_LIBRARY_PATH "$env:COLCON_CURRENT_PREFIX\lib"
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_core/shell/template/hook_prepend_value.sh.em
|
||||
|
||||
_colcon_prepend_unique_value LD_LIBRARY_PATH "$COLCON_CURRENT_PREFIX/lib"
|
||||
@@ -0,0 +1 @@
|
||||
prepend-non-duplicate;PKG_CONFIG_PATH;lib/pkgconfig
|
||||
@@ -0,0 +1,3 @@
|
||||
# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em
|
||||
|
||||
colcon_prepend_unique_value PKG_CONFIG_PATH "$env:COLCON_CURRENT_PREFIX\lib/pkgconfig"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user