diff --git a/Source/rclUE/Private/Msgs/ROSNotification.cpp b/Source/rclUE/Private/Msgs/ROSNotification.cpp new file mode 100755 index 000000000..c6ca56c1e --- /dev/null +++ b/Source/rclUE/Private/Msgs/ROSNotification.cpp @@ -0,0 +1,43 @@ +#include "Msgs/ROSNotification2D.h" + +void UROSNotification2DMsg::Init() +{ + guided_vr_interfaces__msg__Notification2D__init(&Notification2D_msg); +} + +void UROSNotification2DMsg::Fini() +{ + guided_vr_interfaces__msg__Notification2D__fini(&Notification2D_msg); +} + +const rosidl_message_type_support_t* UROSNotification2DMsg::GetTypeSupport() const +{ + return ROSIDL_GET_MSG_TYPE_SUPPORT(guided_vr_interfaces, msg, Notification2D); +} + +void UROSNotification2DMsg::SetMsg(const FROSNotification2D& Input) +{ + Input.SetROS2(Notification2D_msg); +} + +void UROSNotification2DMsg::GetMsg(FROSNotification2D& Output) const +{ + Output.SetFromROS2(Notification2D_msg); +} + +void* UROSNotification2DMsg::Get() +{ + return &Notification2D_msg; +} + +FString UROSNotification2DMsg::MsgToString() const +{ + // Provide a readable summary + return FString::Printf( + TEXT("Notification2D(Source=%s, Level=%d, Id=%d, PolygonPoints=%d)"), + *FString(Notification2D_msg.source.data.data), + Notification2D_msg.level.data, + Notification2D_msg.id, + static_cast(Notification2D_msg.polygon.size) + ); +} \ No newline at end of file diff --git a/Source/rclUE/Public/Msgs/ROSNotification2D.h b/Source/rclUE/Public/Msgs/ROSNotification2D.h new file mode 100755 index 000000000..050ecf9e1 --- /dev/null +++ b/Source/rclUE/Public/Msgs/ROSNotification2D.h @@ -0,0 +1,90 @@ +#pragma once + +#include "CoreMinimal.h" +#include "guided_vr_interfaces/msg/notification2_d.h" +#include "Msgs/ROS2GenericMsg.h" +#include "geometry_msgs/msg/point.h" +#include "rclcUtilities.h" +#include "ROS2Time.h" +#include "ROSNotification2D.generated.h" + +USTRUCT(BlueprintType) +struct RCLUE_API FROSNotification2D +{ + GENERATED_BODY() + + UPROPERTY(EditAnywhere, BlueprintReadWrite) + FString Source; + + UPROPERTY(EditAnywhere, BlueprintReadWrite) + FString Desc; + + UPROPERTY(EditAnywhere, BlueprintReadWrite) + uint8 Level; + + UPROPERTY(EditAnywhere, BlueprintReadWrite) + FROSTime Stamp; // Assume you have a Blueprintable wrapper for builtin_interfaces/Time + + UPROPERTY(EditAnywhere, BlueprintReadWrite) + int32 Id; + + UPROPERTY(EditAnywhere, BlueprintReadWrite) + TArray Polygon; + + void SetROS2(guided_vr_interfaces__msg__Notification2D& OutROSData) const + { + UROS2Utils::StringUEToROS(Source, OutROSData.source.data); + UROS2Utils::StringUEToROS(Source, OutROSData.desc.data); + OutROSData.level.data = Level; + Stamp.SetROS2(OutROSData.stamp); + OutROSData.id = Id; + // Convert Polygon array + size_t sz = Polygon.Num(); + if (OutROSData.polygon.size != sz) { + geometry_msgs__msg__Point__Sequence__fini(&OutROSData.polygon); + geometry_msgs__msg__Point__Sequence__init(&OutROSData.polygon, sz); + } + for (size_t i = 0; i < sz; ++i) { + OutROSData.polygon.data[i].x = Polygon[i].X; + OutROSData.polygon.data[i].y = Polygon[i].Y; + OutROSData.polygon.data[i].z = 0.0; + } + } + + void SetFromROS2(const guided_vr_interfaces__msg__Notification2D& InROSData) + { + Source = UROS2Utils::StringROSToUE(InROSData.source.data); + Desc = UROS2Utils::StringROSToUE(InROSData.desc.data); + Level = InROSData.level.data; + Stamp.SetFromROS2(InROSData.stamp); + Id = InROSData.id; + Polygon.Empty(); + for (size_t i = 0; i < InROSData.polygon.size; ++i) { + auto& pt = InROSData.polygon.data[i]; + Polygon.Add(FVector2D(pt.x, pt.y)); + } + } +}; + +UCLASS() +class RCLUE_API UROSNotification2DMsg : public UROS2GenericMsg +{ + GENERATED_BODY() + +public: + virtual void Init() override; + virtual void Fini() override; + virtual const rosidl_message_type_support_t* GetTypeSupport() const override; + + UFUNCTION(BlueprintCallable) + void SetMsg(const FROSNotification2D& Input); + + UFUNCTION(BlueprintCallable) + void GetMsg(FROSNotification2D& Output) const; + + virtual void* Get() override; + virtual FString MsgToString() const override; + +private: + guided_vr_interfaces__msg__Notification2D Notification2D_msg; +}; \ No newline at end of file diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__builder.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__builder.hpp new file mode 100644 index 000000000..cdf0151a0 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__builder.hpp @@ -0,0 +1,136 @@ +// generated from rosidl_generator_cpp/resource/idl__builder.hpp.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__BUILDER_HPP_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__BUILDER_HPP_ + +#include +#include + +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.hpp" +#include "rosidl_runtime_cpp/message_initialization.hpp" + + +namespace guided_vr_interfaces +{ + +namespace msg +{ + +namespace builder +{ + +class Init_Notification2D_polygon +{ +public: + explicit Init_Notification2D_polygon(::guided_vr_interfaces::msg::Notification2D & msg) + : msg_(msg) + {} + ::guided_vr_interfaces::msg::Notification2D polygon(::guided_vr_interfaces::msg::Notification2D::_polygon_type arg) + { + msg_.polygon = std::move(arg); + return std::move(msg_); + } + +private: + ::guided_vr_interfaces::msg::Notification2D msg_; +}; + +class Init_Notification2D_id +{ +public: + explicit Init_Notification2D_id(::guided_vr_interfaces::msg::Notification2D & msg) + : msg_(msg) + {} + Init_Notification2D_polygon id(::guided_vr_interfaces::msg::Notification2D::_id_type arg) + { + msg_.id = std::move(arg); + return Init_Notification2D_polygon(msg_); + } + +private: + ::guided_vr_interfaces::msg::Notification2D msg_; +}; + +class Init_Notification2D_stamp +{ +public: + explicit Init_Notification2D_stamp(::guided_vr_interfaces::msg::Notification2D & msg) + : msg_(msg) + {} + Init_Notification2D_id stamp(::guided_vr_interfaces::msg::Notification2D::_stamp_type arg) + { + msg_.stamp = std::move(arg); + return Init_Notification2D_id(msg_); + } + +private: + ::guided_vr_interfaces::msg::Notification2D msg_; +}; + +class Init_Notification2D_level +{ +public: + explicit Init_Notification2D_level(::guided_vr_interfaces::msg::Notification2D & msg) + : msg_(msg) + {} + Init_Notification2D_stamp level(::guided_vr_interfaces::msg::Notification2D::_level_type arg) + { + msg_.level = std::move(arg); + return Init_Notification2D_stamp(msg_); + } + +private: + ::guided_vr_interfaces::msg::Notification2D msg_; +}; + +class Init_Notification2D_desc +{ +public: + explicit Init_Notification2D_desc(::guided_vr_interfaces::msg::Notification2D & msg) + : msg_(msg) + {} + Init_Notification2D_level desc(::guided_vr_interfaces::msg::Notification2D::_desc_type arg) + { + msg_.desc = std::move(arg); + return Init_Notification2D_level(msg_); + } + +private: + ::guided_vr_interfaces::msg::Notification2D msg_; +}; + +class Init_Notification2D_source +{ +public: + Init_Notification2D_source() + : msg_(::rosidl_runtime_cpp::MessageInitialization::SKIP) + {} + Init_Notification2D_desc source(::guided_vr_interfaces::msg::Notification2D::_source_type arg) + { + msg_.source = std::move(arg); + return Init_Notification2D_desc(msg_); + } + +private: + ::guided_vr_interfaces::msg::Notification2D msg_; +}; + +} // namespace builder + +} // namespace msg + +template +auto build(); + +template<> +inline +auto build<::guided_vr_interfaces::msg::Notification2D>() +{ + return guided_vr_interfaces::msg::builder::Init_Notification2D_source(); +} + +} // namespace guided_vr_interfaces + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__BUILDER_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__functions.c b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__functions.c new file mode 100644 index 000000000..309538183 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__functions.c @@ -0,0 +1,342 @@ +// generated from rosidl_generator_c/resource/idl__functions.c.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice +#include "guided_vr_interfaces/msg/detail/notification2_d__functions.h" + +#include +#include +#include +#include + +#include "rcutils/allocator.h" + + +// Include directives for member types +// Member `source` +// Member `desc` +#include "std_msgs/msg/detail/string__functions.h" +// Member `level` +#include "std_msgs/msg/detail/u_int8__functions.h" +// Member `stamp` +#include "builtin_interfaces/msg/detail/time__functions.h" +// Member `polygon` +#include "geometry_msgs/msg/detail/point__functions.h" + +bool +guided_vr_interfaces__msg__Notification2D__init(guided_vr_interfaces__msg__Notification2D * msg) +{ + if (!msg) { + return false; + } + // source + if (!std_msgs__msg__String__init(&msg->source)) { + guided_vr_interfaces__msg__Notification2D__fini(msg); + return false; + } + // desc + if (!std_msgs__msg__String__init(&msg->desc)) { + guided_vr_interfaces__msg__Notification2D__fini(msg); + return false; + } + // level + if (!std_msgs__msg__UInt8__init(&msg->level)) { + guided_vr_interfaces__msg__Notification2D__fini(msg); + return false; + } + // stamp + if (!builtin_interfaces__msg__Time__init(&msg->stamp)) { + guided_vr_interfaces__msg__Notification2D__fini(msg); + return false; + } + // id + // polygon + if (!geometry_msgs__msg__Point__Sequence__init(&msg->polygon, 0)) { + guided_vr_interfaces__msg__Notification2D__fini(msg); + return false; + } + return true; +} + +void +guided_vr_interfaces__msg__Notification2D__fini(guided_vr_interfaces__msg__Notification2D * msg) +{ + if (!msg) { + return; + } + // source + std_msgs__msg__String__fini(&msg->source); + // desc + std_msgs__msg__String__fini(&msg->desc); + // level + std_msgs__msg__UInt8__fini(&msg->level); + // stamp + builtin_interfaces__msg__Time__fini(&msg->stamp); + // id + // polygon + geometry_msgs__msg__Point__Sequence__fini(&msg->polygon); +} + +bool +guided_vr_interfaces__msg__Notification2D__are_equal(const guided_vr_interfaces__msg__Notification2D * lhs, const guided_vr_interfaces__msg__Notification2D * rhs) +{ + if (!lhs || !rhs) { + return false; + } + // source + if (!std_msgs__msg__String__are_equal( + &(lhs->source), &(rhs->source))) + { + return false; + } + // desc + if (!std_msgs__msg__String__are_equal( + &(lhs->desc), &(rhs->desc))) + { + return false; + } + // level + if (!std_msgs__msg__UInt8__are_equal( + &(lhs->level), &(rhs->level))) + { + return false; + } + // stamp + if (!builtin_interfaces__msg__Time__are_equal( + &(lhs->stamp), &(rhs->stamp))) + { + return false; + } + // id + if (lhs->id != rhs->id) { + return false; + } + // polygon + if (!geometry_msgs__msg__Point__Sequence__are_equal( + &(lhs->polygon), &(rhs->polygon))) + { + return false; + } + return true; +} + +bool +guided_vr_interfaces__msg__Notification2D__copy( + const guided_vr_interfaces__msg__Notification2D * input, + guided_vr_interfaces__msg__Notification2D * output) +{ + if (!input || !output) { + return false; + } + // source + if (!std_msgs__msg__String__copy( + &(input->source), &(output->source))) + { + return false; + } + // desc + if (!std_msgs__msg__String__copy( + &(input->desc), &(output->desc))) + { + return false; + } + // level + if (!std_msgs__msg__UInt8__copy( + &(input->level), &(output->level))) + { + return false; + } + // stamp + if (!builtin_interfaces__msg__Time__copy( + &(input->stamp), &(output->stamp))) + { + return false; + } + // id + output->id = input->id; + // polygon + if (!geometry_msgs__msg__Point__Sequence__copy( + &(input->polygon), &(output->polygon))) + { + return false; + } + return true; +} + +guided_vr_interfaces__msg__Notification2D * +guided_vr_interfaces__msg__Notification2D__create() +{ + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + guided_vr_interfaces__msg__Notification2D * msg = (guided_vr_interfaces__msg__Notification2D *)allocator.allocate(sizeof(guided_vr_interfaces__msg__Notification2D), allocator.state); + if (!msg) { + return NULL; + } + memset(msg, 0, sizeof(guided_vr_interfaces__msg__Notification2D)); + bool success = guided_vr_interfaces__msg__Notification2D__init(msg); + if (!success) { + allocator.deallocate(msg, allocator.state); + return NULL; + } + return msg; +} + +void +guided_vr_interfaces__msg__Notification2D__destroy(guided_vr_interfaces__msg__Notification2D * msg) +{ + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + if (msg) { + guided_vr_interfaces__msg__Notification2D__fini(msg); + } + allocator.deallocate(msg, allocator.state); +} + + +bool +guided_vr_interfaces__msg__Notification2D__Sequence__init(guided_vr_interfaces__msg__Notification2D__Sequence * array, size_t size) +{ + if (!array) { + return false; + } + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + guided_vr_interfaces__msg__Notification2D * data = NULL; + + if (size) { + data = (guided_vr_interfaces__msg__Notification2D *)allocator.zero_allocate(size, sizeof(guided_vr_interfaces__msg__Notification2D), allocator.state); + if (!data) { + return false; + } + // initialize all array elements + size_t i; + for (i = 0; i < size; ++i) { + bool success = guided_vr_interfaces__msg__Notification2D__init(&data[i]); + if (!success) { + break; + } + } + if (i < size) { + // if initialization failed finalize the already initialized array elements + for (; i > 0; --i) { + guided_vr_interfaces__msg__Notification2D__fini(&data[i - 1]); + } + allocator.deallocate(data, allocator.state); + return false; + } + } + array->data = data; + array->size = size; + array->capacity = size; + return true; +} + +void +guided_vr_interfaces__msg__Notification2D__Sequence__fini(guided_vr_interfaces__msg__Notification2D__Sequence * array) +{ + if (!array) { + return; + } + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + + if (array->data) { + // ensure that data and capacity values are consistent + assert(array->capacity > 0); + // finalize all array elements + for (size_t i = 0; i < array->capacity; ++i) { + guided_vr_interfaces__msg__Notification2D__fini(&array->data[i]); + } + allocator.deallocate(array->data, allocator.state); + array->data = NULL; + array->size = 0; + array->capacity = 0; + } else { + // ensure that data, size, and capacity values are consistent + assert(0 == array->size); + assert(0 == array->capacity); + } +} + +guided_vr_interfaces__msg__Notification2D__Sequence * +guided_vr_interfaces__msg__Notification2D__Sequence__create(size_t size) +{ + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + guided_vr_interfaces__msg__Notification2D__Sequence * array = (guided_vr_interfaces__msg__Notification2D__Sequence *)allocator.allocate(sizeof(guided_vr_interfaces__msg__Notification2D__Sequence), allocator.state); + if (!array) { + return NULL; + } + bool success = guided_vr_interfaces__msg__Notification2D__Sequence__init(array, size); + if (!success) { + allocator.deallocate(array, allocator.state); + return NULL; + } + return array; +} + +void +guided_vr_interfaces__msg__Notification2D__Sequence__destroy(guided_vr_interfaces__msg__Notification2D__Sequence * array) +{ + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + if (array) { + guided_vr_interfaces__msg__Notification2D__Sequence__fini(array); + } + allocator.deallocate(array, allocator.state); +} + +bool +guided_vr_interfaces__msg__Notification2D__Sequence__are_equal(const guided_vr_interfaces__msg__Notification2D__Sequence * lhs, const guided_vr_interfaces__msg__Notification2D__Sequence * rhs) +{ + if (!lhs || !rhs) { + return false; + } + if (lhs->size != rhs->size) { + return false; + } + for (size_t i = 0; i < lhs->size; ++i) { + if (!guided_vr_interfaces__msg__Notification2D__are_equal(&(lhs->data[i]), &(rhs->data[i]))) { + return false; + } + } + return true; +} + +bool +guided_vr_interfaces__msg__Notification2D__Sequence__copy( + const guided_vr_interfaces__msg__Notification2D__Sequence * input, + guided_vr_interfaces__msg__Notification2D__Sequence * output) +{ + if (!input || !output) { + return false; + } + if (output->capacity < input->size) { + const size_t allocation_size = + input->size * sizeof(guided_vr_interfaces__msg__Notification2D); + rcutils_allocator_t allocator = rcutils_get_default_allocator(); + guided_vr_interfaces__msg__Notification2D * data = + (guided_vr_interfaces__msg__Notification2D *)allocator.reallocate( + output->data, allocation_size, allocator.state); + if (!data) { + return false; + } + // If reallocation succeeded, memory may or may not have been moved + // to fulfill the allocation request, invalidating output->data. + output->data = data; + for (size_t i = output->capacity; i < input->size; ++i) { + if (!guided_vr_interfaces__msg__Notification2D__init(&output->data[i])) { + // If initialization of any new item fails, roll back + // all previously initialized items. Existing items + // in output are to be left unmodified. + for (; i-- > output->capacity; ) { + guided_vr_interfaces__msg__Notification2D__fini(&output->data[i]); + } + return false; + } + } + output->capacity = input->size; + } + output->size = input->size; + for (size_t i = 0; i < input->size; ++i) { + if (!guided_vr_interfaces__msg__Notification2D__copy( + &(input->data[i]), &(output->data[i]))) + { + return false; + } + } + return true; +} diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__functions.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__functions.h new file mode 100644 index 000000000..9eddfc4f2 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__functions.h @@ -0,0 +1,177 @@ +// generated from rosidl_generator_c/resource/idl__functions.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__FUNCTIONS_H_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__FUNCTIONS_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +#include +#include + +#include "rosidl_runtime_c/visibility_control.h" +#include "guided_vr_interfaces/msg/rosidl_generator_c__visibility_control.h" + +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.h" + +/// Initialize msg/Notification2D message. +/** + * If the init function is called twice for the same message without + * calling fini inbetween previously allocated memory will be leaked. + * \param[in,out] msg The previously allocated message pointer. + * Fields without a default value will not be initialized by this function. + * You might want to call memset(msg, 0, sizeof( + * guided_vr_interfaces__msg__Notification2D + * )) before or use + * guided_vr_interfaces__msg__Notification2D__create() + * to allocate and initialize the message. + * \return true if initialization was successful, otherwise false + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +bool +guided_vr_interfaces__msg__Notification2D__init(guided_vr_interfaces__msg__Notification2D * msg); + +/// Finalize msg/Notification2D message. +/** + * \param[in,out] msg The allocated message pointer. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +void +guided_vr_interfaces__msg__Notification2D__fini(guided_vr_interfaces__msg__Notification2D * msg); + +/// Create msg/Notification2D message. +/** + * It allocates the memory for the message, sets the memory to zero, and + * calls + * guided_vr_interfaces__msg__Notification2D__init(). + * \return The pointer to the initialized message if successful, + * otherwise NULL + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +guided_vr_interfaces__msg__Notification2D * +guided_vr_interfaces__msg__Notification2D__create(); + +/// Destroy msg/Notification2D message. +/** + * It calls + * guided_vr_interfaces__msg__Notification2D__fini() + * and frees the memory of the message. + * \param[in,out] msg The allocated message pointer. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +void +guided_vr_interfaces__msg__Notification2D__destroy(guided_vr_interfaces__msg__Notification2D * msg); + +/// Check for msg/Notification2D message equality. +/** + * \param[in] lhs The message on the left hand size of the equality operator. + * \param[in] rhs The message on the right hand size of the equality operator. + * \return true if messages are equal, otherwise false. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +bool +guided_vr_interfaces__msg__Notification2D__are_equal(const guided_vr_interfaces__msg__Notification2D * lhs, const guided_vr_interfaces__msg__Notification2D * rhs); + +/// Copy a msg/Notification2D message. +/** + * This functions performs a deep copy, as opposed to the shallow copy that + * plain assignment yields. + * + * \param[in] input The source message pointer. + * \param[out] output The target message pointer, which must + * have been initialized before calling this function. + * \return true if successful, or false if either pointer is null + * or memory allocation fails. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +bool +guided_vr_interfaces__msg__Notification2D__copy( + const guided_vr_interfaces__msg__Notification2D * input, + guided_vr_interfaces__msg__Notification2D * output); + +/// Initialize array of msg/Notification2D messages. +/** + * It allocates the memory for the number of elements and calls + * guided_vr_interfaces__msg__Notification2D__init() + * for each element of the array. + * \param[in,out] array The allocated array pointer. + * \param[in] size The size / capacity of the array. + * \return true if initialization was successful, otherwise false + * If the array pointer is valid and the size is zero it is guaranteed + # to return true. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +bool +guided_vr_interfaces__msg__Notification2D__Sequence__init(guided_vr_interfaces__msg__Notification2D__Sequence * array, size_t size); + +/// Finalize array of msg/Notification2D messages. +/** + * It calls + * guided_vr_interfaces__msg__Notification2D__fini() + * for each element of the array and frees the memory for the number of + * elements. + * \param[in,out] array The initialized array pointer. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +void +guided_vr_interfaces__msg__Notification2D__Sequence__fini(guided_vr_interfaces__msg__Notification2D__Sequence * array); + +/// Create array of msg/Notification2D messages. +/** + * It allocates the memory for the array and calls + * guided_vr_interfaces__msg__Notification2D__Sequence__init(). + * \param[in] size The size / capacity of the array. + * \return The pointer to the initialized array if successful, otherwise NULL + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +guided_vr_interfaces__msg__Notification2D__Sequence * +guided_vr_interfaces__msg__Notification2D__Sequence__create(size_t size); + +/// Destroy array of msg/Notification2D messages. +/** + * It calls + * guided_vr_interfaces__msg__Notification2D__Sequence__fini() + * on the array, + * and frees the memory of the array. + * \param[in,out] array The initialized array pointer. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +void +guided_vr_interfaces__msg__Notification2D__Sequence__destroy(guided_vr_interfaces__msg__Notification2D__Sequence * array); + +/// Check for msg/Notification2D message array equality. +/** + * \param[in] lhs The message array on the left hand size of the equality operator. + * \param[in] rhs The message array on the right hand size of the equality operator. + * \return true if message arrays are equal in size and content, otherwise false. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +bool +guided_vr_interfaces__msg__Notification2D__Sequence__are_equal(const guided_vr_interfaces__msg__Notification2D__Sequence * lhs, const guided_vr_interfaces__msg__Notification2D__Sequence * rhs); + +/// Copy an array of msg/Notification2D messages. +/** + * This functions performs a deep copy, as opposed to the shallow copy that + * plain assignment yields. + * + * \param[in] input The source array pointer. + * \param[out] output The target array pointer, which must + * have been initialized before calling this function. + * \return true if successful, or false if either pointer + * is null or memory allocation fails. + */ +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +bool +guided_vr_interfaces__msg__Notification2D__Sequence__copy( + const guided_vr_interfaces__msg__Notification2D__Sequence * input, + guided_vr_interfaces__msg__Notification2D__Sequence * output); + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__FUNCTIONS_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_fastrtps_c.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_fastrtps_c.h new file mode 100644 index 000000000..e4b312f99 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_fastrtps_c.h @@ -0,0 +1,37 @@ +// generated from rosidl_typesupport_fastrtps_c/resource/idl__rosidl_typesupport_fastrtps_c.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ + + +#include +#include "rosidl_runtime_c/message_type_support_struct.h" +#include "rosidl_typesupport_interface/macros.h" +#include "guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces +size_t get_serialized_size_guided_vr_interfaces__msg__Notification2D( + const void * untyped_ros_message, + size_t current_alignment); + +ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces +size_t max_serialized_size_guided_vr_interfaces__msg__Notification2D( + bool & full_bounded, + bool & is_plain, + size_t current_alignment); + +ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces +const rosidl_message_type_support_t * +ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_c, guided_vr_interfaces, msg, Notification2D)(); + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_FASTRTPS_C_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_fastrtps_cpp.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_fastrtps_cpp.hpp new file mode 100644 index 000000000..44588e937 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_fastrtps_cpp.hpp @@ -0,0 +1,80 @@ +// generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ + +#include "rosidl_runtime_c/message_type_support_struct.h" +#include "rosidl_typesupport_interface/macros.h" +#include "guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h" +#include "guided_vr_interfaces/msg/detail/notification2_d__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 guided_vr_interfaces +{ + +namespace msg +{ + +namespace typesupport_fastrtps_cpp +{ + +bool +ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces +cdr_serialize( + const guided_vr_interfaces::msg::Notification2D & ros_message, + eprosima::fastcdr::Cdr & cdr); + +bool +ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces +cdr_deserialize( + eprosima::fastcdr::Cdr & cdr, + guided_vr_interfaces::msg::Notification2D & ros_message); + +size_t +ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces +get_serialized_size( + const guided_vr_interfaces::msg::Notification2D & ros_message, + size_t current_alignment); + +size_t +ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces +max_serialized_size_Notification2D( + bool & full_bounded, + bool & is_plain, + size_t current_alignment); + +} // namespace typesupport_fastrtps_cpp + +} // namespace msg + +} // namespace guided_vr_interfaces + +#ifdef __cplusplus +extern "C" +{ +#endif + +ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces +const rosidl_message_type_support_t * + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, guided_vr_interfaces, msg, Notification2D)(); + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_c.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_c.h new file mode 100644 index 000000000..55454b76c --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_c.h @@ -0,0 +1,26 @@ +// generated from rosidl_typesupport_introspection_c/resource/idl__rosidl_typesupport_introspection_c.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__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 "guided_vr_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h" + +ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_guided_vr_interfaces +const rosidl_message_type_support_t * +ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, guided_vr_interfaces, msg, Notification2D)(); + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_INTROSPECTION_C_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_cpp.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_cpp.hpp new file mode 100644 index 000000000..7373d3db4 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_cpp.hpp @@ -0,0 +1,27 @@ +// generated from rosidl_typesupport_introspection_cpp/resource/idl__rosidl_typesupport_introspection_cpp.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__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, guided_vr_interfaces, msg, Notification2D)(); + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__struct.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__struct.h new file mode 100644 index 000000000..0a8832949 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__struct.h @@ -0,0 +1,56 @@ +// generated from rosidl_generator_c/resource/idl__struct.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__STRUCT_H_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__STRUCT_H_ + +#ifdef __cplusplus +extern "C" +{ +#endif + +#include +#include +#include + + +// Constants defined in the message + +// Include directives for member types +// Member 'source' +// Member 'desc' +#include "std_msgs/msg/detail/string__struct.h" +// Member 'level' +#include "std_msgs/msg/detail/u_int8__struct.h" +// Member 'stamp' +#include "builtin_interfaces/msg/detail/time__struct.h" +// Member 'polygon' +#include "geometry_msgs/msg/detail/point__struct.h" + +/// Struct defined in msg/Notification2D in the package guided_vr_interfaces. +typedef struct guided_vr_interfaces__msg__Notification2D +{ + std_msgs__msg__String source; + std_msgs__msg__String desc; + std_msgs__msg__UInt8 level; + builtin_interfaces__msg__Time stamp; + uint32_t id; + geometry_msgs__msg__Point__Sequence polygon; +} guided_vr_interfaces__msg__Notification2D; + +// Struct for a sequence of guided_vr_interfaces__msg__Notification2D. +typedef struct guided_vr_interfaces__msg__Notification2D__Sequence +{ + guided_vr_interfaces__msg__Notification2D * data; + /// The number of valid items in data + size_t size; + /// The number of allocated items in data + size_t capacity; +} guided_vr_interfaces__msg__Notification2D__Sequence; + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__STRUCT_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__struct.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__struct.hpp new file mode 100644 index 000000000..7419edc5f --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__struct.hpp @@ -0,0 +1,209 @@ +// generated from rosidl_generator_cpp/resource/idl__struct.hpp.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__STRUCT_HPP_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__STRUCT_HPP_ + +#include +#include +#include +#include +#include + +#include "rosidl_runtime_cpp/bounded_vector.hpp" +#include "rosidl_runtime_cpp/message_initialization.hpp" + + +// Include directives for member types +// Member 'source' +// Member 'desc' +#include "std_msgs/msg/detail/string__struct.hpp" +// Member 'level' +#include "std_msgs/msg/detail/u_int8__struct.hpp" +// Member 'stamp' +#include "builtin_interfaces/msg/detail/time__struct.hpp" +// Member 'polygon' +#include "geometry_msgs/msg/detail/point__struct.hpp" + +#ifndef _WIN32 +# define DEPRECATED__guided_vr_interfaces__msg__Notification2D __attribute__((deprecated)) +#else +# define DEPRECATED__guided_vr_interfaces__msg__Notification2D __declspec(deprecated) +#endif + +namespace guided_vr_interfaces +{ + +namespace msg +{ + +// message struct +template +struct Notification2D_ +{ + using Type = Notification2D_; + + explicit Notification2D_(rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) + : source(_init), + desc(_init), + level(_init), + stamp(_init) + { + if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || + rosidl_runtime_cpp::MessageInitialization::ZERO == _init) + { + this->id = 0ul; + } + } + + explicit Notification2D_(const ContainerAllocator & _alloc, rosidl_runtime_cpp::MessageInitialization _init = rosidl_runtime_cpp::MessageInitialization::ALL) + : source(_alloc, _init), + desc(_alloc, _init), + level(_alloc, _init), + stamp(_alloc, _init) + { + if (rosidl_runtime_cpp::MessageInitialization::ALL == _init || + rosidl_runtime_cpp::MessageInitialization::ZERO == _init) + { + this->id = 0ul; + } + } + + // field types and members + using _source_type = + std_msgs::msg::String_; + _source_type source; + using _desc_type = + std_msgs::msg::String_; + _desc_type desc; + using _level_type = + std_msgs::msg::UInt8_; + _level_type level; + using _stamp_type = + builtin_interfaces::msg::Time_; + _stamp_type stamp; + using _id_type = + uint32_t; + _id_type id; + using _polygon_type = + std::vector, typename std::allocator_traits::template rebind_alloc>>; + _polygon_type polygon; + + // setters for named parameter idiom + Type & set__source( + const std_msgs::msg::String_ & _arg) + { + this->source = _arg; + return *this; + } + Type & set__desc( + const std_msgs::msg::String_ & _arg) + { + this->desc = _arg; + return *this; + } + Type & set__level( + const std_msgs::msg::UInt8_ & _arg) + { + this->level = _arg; + return *this; + } + Type & set__stamp( + const builtin_interfaces::msg::Time_ & _arg) + { + this->stamp = _arg; + return *this; + } + Type & set__id( + const uint32_t & _arg) + { + this->id = _arg; + return *this; + } + Type & set__polygon( + const std::vector, typename std::allocator_traits::template rebind_alloc>> & _arg) + { + this->polygon = _arg; + return *this; + } + + // constant declarations + + // pointer types + using RawPtr = + guided_vr_interfaces::msg::Notification2D_ *; + using ConstRawPtr = + const guided_vr_interfaces::msg::Notification2D_ *; + using SharedPtr = + std::shared_ptr>; + using ConstSharedPtr = + std::shared_ptr const>; + + template>> + using UniquePtrWithDeleter = + std::unique_ptr, Deleter>; + + using UniquePtr = UniquePtrWithDeleter<>; + + template>> + using ConstUniquePtrWithDeleter = + std::unique_ptr const, Deleter>; + using ConstUniquePtr = ConstUniquePtrWithDeleter<>; + + using WeakPtr = + std::weak_ptr>; + using ConstWeakPtr = + std::weak_ptr const>; + + // pointer types similar to ROS 1, use SharedPtr / ConstSharedPtr instead + // NOTE: Can't use 'using' here because GNU C++ can't parse attributes properly + typedef DEPRECATED__guided_vr_interfaces__msg__Notification2D + std::shared_ptr> + Ptr; + typedef DEPRECATED__guided_vr_interfaces__msg__Notification2D + std::shared_ptr const> + ConstPtr; + + // comparison operators + bool operator==(const Notification2D_ & other) const + { + if (this->source != other.source) { + return false; + } + if (this->desc != other.desc) { + return false; + } + if (this->level != other.level) { + return false; + } + if (this->stamp != other.stamp) { + return false; + } + if (this->id != other.id) { + return false; + } + if (this->polygon != other.polygon) { + return false; + } + return true; + } + bool operator!=(const Notification2D_ & other) const + { + return !this->operator==(other); + } +}; // struct Notification2D_ + +// alias to use template instance with default allocator +using Notification2D = + guided_vr_interfaces::msg::Notification2D_>; + +// constant definitions + +} // namespace msg + +} // namespace guided_vr_interfaces + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__STRUCT_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__traits.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__traits.hpp new file mode 100644 index 000000000..48eaad888 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__traits.hpp @@ -0,0 +1,221 @@ +// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TRAITS_HPP_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TRAITS_HPP_ + +#include + +#include +#include +#include + +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.hpp" +#include "rosidl_runtime_cpp/traits.hpp" + +// Include directives for member types +// Member 'source' +// Member 'desc' +#include "std_msgs/msg/detail/string__traits.hpp" +// Member 'level' +#include "std_msgs/msg/detail/u_int8__traits.hpp" +// Member 'stamp' +#include "builtin_interfaces/msg/detail/time__traits.hpp" +// Member 'polygon' +#include "geometry_msgs/msg/detail/point__traits.hpp" + +namespace guided_vr_interfaces +{ + +namespace msg +{ + +inline void to_flow_style_yaml( + const Notification2D & msg, + std::ostream & out) +{ + out << "{"; + // member: source + { + out << "source: "; + to_flow_style_yaml(msg.source, out); + out << ", "; + } + + // member: desc + { + out << "desc: "; + to_flow_style_yaml(msg.desc, out); + out << ", "; + } + + // member: level + { + out << "level: "; + to_flow_style_yaml(msg.level, out); + out << ", "; + } + + // member: stamp + { + out << "stamp: "; + to_flow_style_yaml(msg.stamp, out); + out << ", "; + } + + // member: id + { + out << "id: "; + rosidl_generator_traits::value_to_yaml(msg.id, out); + out << ", "; + } + + // member: polygon + { + if (msg.polygon.size() == 0) { + out << "polygon: []"; + } else { + out << "polygon: ["; + size_t pending_items = msg.polygon.size(); + for (auto item : msg.polygon) { + to_flow_style_yaml(item, out); + if (--pending_items > 0) { + out << ", "; + } + } + out << "]"; + } + } + out << "}"; +} // NOLINT(readability/fn_size) + +inline void to_block_style_yaml( + const Notification2D & msg, + std::ostream & out, size_t indentation = 0) +{ + // member: source + { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + out << "source:\n"; + to_block_style_yaml(msg.source, out, indentation + 2); + } + + // member: desc + { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + out << "desc:\n"; + to_block_style_yaml(msg.desc, out, indentation + 2); + } + + // member: level + { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + out << "level:\n"; + to_block_style_yaml(msg.level, out, indentation + 2); + } + + // member: stamp + { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + out << "stamp:\n"; + to_block_style_yaml(msg.stamp, out, indentation + 2); + } + + // member: id + { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + out << "id: "; + rosidl_generator_traits::value_to_yaml(msg.id, out); + out << "\n"; + } + + // member: polygon + { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + if (msg.polygon.size() == 0) { + out << "polygon: []\n"; + } else { + out << "polygon:\n"; + for (auto item : msg.polygon) { + if (indentation > 0) { + out << std::string(indentation, ' '); + } + out << "-\n"; + to_block_style_yaml(item, out, indentation + 2); + } + } + } +} // NOLINT(readability/fn_size) + +inline std::string to_yaml(const Notification2D & msg, bool use_flow_style = false) +{ + std::ostringstream out; + if (use_flow_style) { + to_flow_style_yaml(msg, out); + } else { + to_block_style_yaml(msg, out); + } + return out.str(); +} + +} // namespace msg + +} // namespace guided_vr_interfaces + +namespace rosidl_generator_traits +{ + +[[deprecated("use guided_vr_interfaces::msg::to_block_style_yaml() instead")]] +inline void to_yaml( + const guided_vr_interfaces::msg::Notification2D & msg, + std::ostream & out, size_t indentation = 0) +{ + guided_vr_interfaces::msg::to_block_style_yaml(msg, out, indentation); +} + +[[deprecated("use guided_vr_interfaces::msg::to_yaml() instead")]] +inline std::string to_yaml(const guided_vr_interfaces::msg::Notification2D & msg) +{ + return guided_vr_interfaces::msg::to_yaml(msg); +} + +template<> +inline const char * data_type() +{ + return "guided_vr_interfaces::msg::Notification2D"; +} + +template<> +inline const char * name() +{ + return "guided_vr_interfaces/msg/Notification2D"; +} + +template<> +struct has_fixed_size + : std::integral_constant {}; + +template<> +struct has_bounded_size + : std::integral_constant {}; + +template<> +struct is_message + : std::true_type {}; + +} // namespace rosidl_generator_traits + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TRAITS_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.c b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.c new file mode 100644 index 000000000..4f023759d --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.c @@ -0,0 +1,253 @@ +// generated from rosidl_typesupport_introspection_c/resource/idl__type_support.c.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#include +#include "guided_vr_interfaces/msg/detail/notification2_d__rosidl_typesupport_introspection_c.h" +#include "guided_vr_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 "guided_vr_interfaces/msg/detail/notification2_d__functions.h" +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.h" + + +// Include directives for member types +// Member `source` +// Member `desc` +#include "std_msgs/msg/string.h" +// Member `source` +// Member `desc` +#include "std_msgs/msg/detail/string__rosidl_typesupport_introspection_c.h" +// Member `level` +#include "std_msgs/msg/u_int8.h" +// Member `level` +#include "std_msgs/msg/detail/u_int8__rosidl_typesupport_introspection_c.h" +// Member `stamp` +#include "builtin_interfaces/msg/time.h" +// Member `stamp` +#include "builtin_interfaces/msg/detail/time__rosidl_typesupport_introspection_c.h" +// Member `polygon` +#include "geometry_msgs/msg/point.h" +// Member `polygon` +#include "geometry_msgs/msg/detail/point__rosidl_typesupport_introspection_c.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +void guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_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; + guided_vr_interfaces__msg__Notification2D__init(message_memory); +} + +void guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_fini_function(void * message_memory) +{ + guided_vr_interfaces__msg__Notification2D__fini(message_memory); +} + +size_t guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__size_function__Notification2D__polygon( + const void * untyped_member) +{ + const geometry_msgs__msg__Point__Sequence * member = + (const geometry_msgs__msg__Point__Sequence *)(untyped_member); + return member->size; +} + +const void * guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__get_const_function__Notification2D__polygon( + const void * untyped_member, size_t index) +{ + const geometry_msgs__msg__Point__Sequence * member = + (const geometry_msgs__msg__Point__Sequence *)(untyped_member); + return &member->data[index]; +} + +void * guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__get_function__Notification2D__polygon( + void * untyped_member, size_t index) +{ + geometry_msgs__msg__Point__Sequence * member = + (geometry_msgs__msg__Point__Sequence *)(untyped_member); + return &member->data[index]; +} + +void guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__fetch_function__Notification2D__polygon( + const void * untyped_member, size_t index, void * untyped_value) +{ + const geometry_msgs__msg__Point * item = + ((const geometry_msgs__msg__Point *) + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__get_const_function__Notification2D__polygon(untyped_member, index)); + geometry_msgs__msg__Point * value = + (geometry_msgs__msg__Point *)(untyped_value); + *value = *item; +} + +void guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__assign_function__Notification2D__polygon( + void * untyped_member, size_t index, const void * untyped_value) +{ + geometry_msgs__msg__Point * item = + ((geometry_msgs__msg__Point *) + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__get_function__Notification2D__polygon(untyped_member, index)); + const geometry_msgs__msg__Point * value = + (const geometry_msgs__msg__Point *)(untyped_value); + *item = *value; +} + +bool guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__resize_function__Notification2D__polygon( + void * untyped_member, size_t size) +{ + geometry_msgs__msg__Point__Sequence * member = + (geometry_msgs__msg__Point__Sequence *)(untyped_member); + geometry_msgs__msg__Point__Sequence__fini(member); + return geometry_msgs__msg__Point__Sequence__init(member, size); +} + +static rosidl_typesupport_introspection_c__MessageMember guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array[6] = { + { + "source", // 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(guided_vr_interfaces__msg__Notification2D, source), // 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 + }, + { + "desc", // 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(guided_vr_interfaces__msg__Notification2D, desc), // 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 + }, + { + "level", // 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(guided_vr_interfaces__msg__Notification2D, level), // 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(guided_vr_interfaces__msg__Notification2D, 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 + }, + { + "id", // name + rosidl_typesupport_introspection_c__ROS_TYPE_UINT32, // type + 0, // upper bound of string + NULL, // members of sub message + false, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces__msg__Notification2D, 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 + }, + { + "polygon", // name + rosidl_typesupport_introspection_c__ROS_TYPE_MESSAGE, // type + 0, // upper bound of string + NULL, // members of sub message (initialized later) + true, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces__msg__Notification2D, polygon), // bytes offset in struct + NULL, // default value + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__size_function__Notification2D__polygon, // size() function pointer + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__get_const_function__Notification2D__polygon, // get_const(index) function pointer + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__get_function__Notification2D__polygon, // get(index) function pointer + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__fetch_function__Notification2D__polygon, // fetch(index, &value) function pointer + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__assign_function__Notification2D__polygon, // assign(index, value) function pointer + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__resize_function__Notification2D__polygon // resize(index) function pointer + } +}; + +static const rosidl_typesupport_introspection_c__MessageMembers guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_members = { + "guided_vr_interfaces__msg", // message namespace + "Notification2D", // message name + 6, // number of fields + sizeof(guided_vr_interfaces__msg__Notification2D), + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array, // message members + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_init_function, // function to initialize message memory (memory has to be allocated) + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_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 guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_type_support_handle = { + 0, + &guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_members, + get_message_typesupport_handle_function, +}; + +ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_guided_vr_interfaces +const rosidl_message_type_support_t * +ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, guided_vr_interfaces, msg, Notification2D)() { + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array[0].members_ = + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, std_msgs, msg, String)(); + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array[1].members_ = + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, std_msgs, msg, String)(); + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array[2].members_ = + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, std_msgs, msg, UInt8)(); + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array[3].members_ = + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, builtin_interfaces, msg, Time)(); + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_member_array[5].members_ = + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_c, geometry_msgs, msg, Point)(); + if (!guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_type_support_handle.typesupport_identifier) { + guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_type_support_handle.typesupport_identifier = + rosidl_typesupport_introspection_c__identifier; + } + return &guided_vr_interfaces__msg__Notification2D__rosidl_typesupport_introspection_c__Notification2D_message_type_support_handle; +} +#ifdef __cplusplus +} +#endif diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.cpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.cpp new file mode 100644 index 000000000..b38f01498 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.cpp @@ -0,0 +1,239 @@ +// generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#include "array" +#include "cstddef" +#include "string" +#include "vector" +#include "rosidl_runtime_c/message_type_support_struct.h" +#include "rosidl_typesupport_cpp/message_type_support.hpp" +#include "rosidl_typesupport_interface/macros.h" +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.hpp" +#include "rosidl_typesupport_introspection_cpp/field_types.hpp" +#include "rosidl_typesupport_introspection_cpp/identifier.hpp" +#include "rosidl_typesupport_introspection_cpp/message_introspection.hpp" +#include "rosidl_typesupport_introspection_cpp/message_type_support_decl.hpp" +#include "rosidl_typesupport_introspection_cpp/visibility_control.h" + +namespace guided_vr_interfaces +{ + +namespace msg +{ + +namespace rosidl_typesupport_introspection_cpp +{ + +void Notification2D_init_function( + void * message_memory, rosidl_runtime_cpp::MessageInitialization _init) +{ + new (message_memory) guided_vr_interfaces::msg::Notification2D(_init); +} + +void Notification2D_fini_function(void * message_memory) +{ + auto typed_message = static_cast(message_memory); + typed_message->~Notification2D(); +} + +size_t size_function__Notification2D__polygon(const void * untyped_member) +{ + const auto * member = reinterpret_cast *>(untyped_member); + return member->size(); +} + +const void * get_const_function__Notification2D__polygon(const void * untyped_member, size_t index) +{ + const auto & member = + *reinterpret_cast *>(untyped_member); + return &member[index]; +} + +void * get_function__Notification2D__polygon(void * untyped_member, size_t index) +{ + auto & member = + *reinterpret_cast *>(untyped_member); + return &member[index]; +} + +void fetch_function__Notification2D__polygon( + const void * untyped_member, size_t index, void * untyped_value) +{ + const auto & item = *reinterpret_cast( + get_const_function__Notification2D__polygon(untyped_member, index)); + auto & value = *reinterpret_cast(untyped_value); + value = item; +} + +void assign_function__Notification2D__polygon( + void * untyped_member, size_t index, const void * untyped_value) +{ + auto & item = *reinterpret_cast( + get_function__Notification2D__polygon(untyped_member, index)); + const auto & value = *reinterpret_cast(untyped_value); + item = value; +} + +void resize_function__Notification2D__polygon(void * untyped_member, size_t size) +{ + auto * member = + reinterpret_cast *>(untyped_member); + member->resize(size); +} + +static const ::rosidl_typesupport_introspection_cpp::MessageMember Notification2D_message_member_array[6] = { + { + "source", // name + ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type + 0, // upper bound of string + ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message + false, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces::msg::Notification2D, source), // bytes offset in struct + nullptr, // default value + nullptr, // size() function pointer + nullptr, // get_const(index) function pointer + nullptr, // get(index) function pointer + nullptr, // fetch(index, &value) function pointer + nullptr, // assign(index, value) function pointer + nullptr // resize(index) function pointer + }, + { + "desc", // name + ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type + 0, // upper bound of string + ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message + false, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces::msg::Notification2D, desc), // bytes offset in struct + nullptr, // default value + nullptr, // size() function pointer + nullptr, // get_const(index) function pointer + nullptr, // get(index) function pointer + nullptr, // fetch(index, &value) function pointer + nullptr, // assign(index, value) function pointer + nullptr // resize(index) function pointer + }, + { + "level", // name + ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type + 0, // upper bound of string + ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message + false, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces::msg::Notification2D, level), // bytes offset in struct + nullptr, // default value + nullptr, // size() function pointer + nullptr, // get_const(index) function pointer + nullptr, // get(index) function pointer + nullptr, // fetch(index, &value) function pointer + nullptr, // assign(index, value) function pointer + nullptr // resize(index) function pointer + }, + { + "stamp", // name + ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type + 0, // upper bound of string + ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message + false, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces::msg::Notification2D, stamp), // bytes offset in struct + nullptr, // default value + nullptr, // size() function pointer + nullptr, // get_const(index) function pointer + nullptr, // get(index) function pointer + nullptr, // fetch(index, &value) function pointer + nullptr, // assign(index, value) function pointer + nullptr // resize(index) function pointer + }, + { + "id", // name + ::rosidl_typesupport_introspection_cpp::ROS_TYPE_UINT32, // type + 0, // upper bound of string + nullptr, // members of sub message + false, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces::msg::Notification2D, id), // bytes offset in struct + nullptr, // default value + nullptr, // size() function pointer + nullptr, // get_const(index) function pointer + nullptr, // get(index) function pointer + nullptr, // fetch(index, &value) function pointer + nullptr, // assign(index, value) function pointer + nullptr // resize(index) function pointer + }, + { + "polygon", // name + ::rosidl_typesupport_introspection_cpp::ROS_TYPE_MESSAGE, // type + 0, // upper bound of string + ::rosidl_typesupport_introspection_cpp::get_message_type_support_handle(), // members of sub message + true, // is array + 0, // array size + false, // is upper bound + offsetof(guided_vr_interfaces::msg::Notification2D, polygon), // bytes offset in struct + nullptr, // default value + size_function__Notification2D__polygon, // size() function pointer + get_const_function__Notification2D__polygon, // get_const(index) function pointer + get_function__Notification2D__polygon, // get(index) function pointer + fetch_function__Notification2D__polygon, // fetch(index, &value) function pointer + assign_function__Notification2D__polygon, // assign(index, value) function pointer + resize_function__Notification2D__polygon // resize(index) function pointer + } +}; + +static const ::rosidl_typesupport_introspection_cpp::MessageMembers Notification2D_message_members = { + "guided_vr_interfaces::msg", // message namespace + "Notification2D", // message name + 6, // number of fields + sizeof(guided_vr_interfaces::msg::Notification2D), + Notification2D_message_member_array, // message members + Notification2D_init_function, // function to initialize message memory (memory has to be allocated) + Notification2D_fini_function // function to terminate message instance (will not free memory) +}; + +static const rosidl_message_type_support_t Notification2D_message_type_support_handle = { + ::rosidl_typesupport_introspection_cpp::typesupport_identifier, + &Notification2D_message_members, + get_message_typesupport_handle_function, +}; + +} // namespace rosidl_typesupport_introspection_cpp + +} // namespace msg + +} // namespace guided_vr_interfaces + + +namespace rosidl_typesupport_introspection_cpp +{ + +template<> +ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC +const rosidl_message_type_support_t * +get_message_type_support_handle() +{ + return &::guided_vr_interfaces::msg::rosidl_typesupport_introspection_cpp::Notification2D_message_type_support_handle; +} + +} // namespace rosidl_typesupport_introspection_cpp + +#ifdef __cplusplus +extern "C" +{ +#endif + +ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_PUBLIC +const rosidl_message_type_support_t * +ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_introspection_cpp, guided_vr_interfaces, msg, Notification2D)() { + return &::guided_vr_interfaces::msg::rosidl_typesupport_introspection_cpp::Notification2D_message_type_support_handle; +} + +#ifdef __cplusplus +} +#endif diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.h new file mode 100644 index 000000000..caa9ba76b --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.h @@ -0,0 +1,33 @@ +// generated from rosidl_generator_c/resource/idl__type_support.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TYPE_SUPPORT_H_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TYPE_SUPPORT_H_ + +#include "rosidl_typesupport_interface/macros.h" + +#include "guided_vr_interfaces/msg/rosidl_generator_c__visibility_control.h" + +#ifdef __cplusplus +extern "C" +{ +#endif + +#include "rosidl_runtime_c/message_type_support_struct.h" + +// Forward declare the get type support functions for this type. +ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces +const rosidl_message_type_support_t * +ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( + rosidl_typesupport_c, + guided_vr_interfaces, + msg, + Notification2D +)(); + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TYPE_SUPPORT_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.hpp new file mode 100644 index 000000000..53c1a77e1 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/detail/notification2_d__type_support.hpp @@ -0,0 +1,31 @@ +// generated from rosidl_generator_cpp/resource/idl__type_support.hpp.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TYPE_SUPPORT_HPP_ +#define GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TYPE_SUPPORT_HPP_ + +#include "rosidl_typesupport_interface/macros.h" + +#include "guided_vr_interfaces/msg/rosidl_generator_cpp__visibility_control.hpp" + +#include "rosidl_typesupport_cpp/message_type_support.hpp" + +#ifdef __cplusplus +extern "C" +{ +#endif +// Forward declare the get type support functions for this type. +ROSIDL_GENERATOR_CPP_PUBLIC_guided_vr_interfaces +const rosidl_message_type_support_t * + ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( + rosidl_typesupport_cpp, + guided_vr_interfaces, + msg, + Notification2D +)(); +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__DETAIL__NOTIFICATION2_D__TYPE_SUPPORT_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/notification2_d.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/notification2_d.h new file mode 100644 index 000000000..a03f35405 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/notification2_d.h @@ -0,0 +1,12 @@ +// generated from rosidl_generator_c/resource/idl.h.em +// with input from guided_vr_interfaces:msg/Notification2D.idl +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__NOTIFICATION2_D_H_ +#define GUIDED_VR_INTERFACES__MSG__NOTIFICATION2_D_H_ + +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.h" +#include "guided_vr_interfaces/msg/detail/notification2_d__functions.h" +#include "guided_vr_interfaces/msg/detail/notification2_d__type_support.h" + +#endif // GUIDED_VR_INTERFACES__MSG__NOTIFICATION2_D_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/notification2_d.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/notification2_d.hpp new file mode 100644 index 000000000..e778c30a9 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/notification2_d.hpp @@ -0,0 +1,12 @@ +// generated from rosidl_generator_cpp/resource/idl.hpp.em +// generated code does not contain a copyright notice + +#ifndef GUIDED_VR_INTERFACES__MSG__NOTIFICATION2_D_HPP_ +#define GUIDED_VR_INTERFACES__MSG__NOTIFICATION2_D_HPP_ + +#include "guided_vr_interfaces/msg/detail/notification2_d__struct.hpp" +#include "guided_vr_interfaces/msg/detail/notification2_d__builder.hpp" +#include "guided_vr_interfaces/msg/detail/notification2_d__traits.hpp" +#include "guided_vr_interfaces/msg/detail/notification2_d__type_support.hpp" + +#endif // GUIDED_VR_INTERFACES__MSG__NOTIFICATION2_D_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_generator_c__visibility_control.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_generator_c__visibility_control.h new file mode 100644 index 000000000..cf911036f --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_generator_c__visibility_control.h @@ -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 GUIDED_VR_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_ +#define GUIDED_VR_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_guided_vr_interfaces __attribute__ ((dllexport)) + #define ROSIDL_GENERATOR_C_IMPORT_guided_vr_interfaces __attribute__ ((dllimport)) + #else + #define ROSIDL_GENERATOR_C_EXPORT_guided_vr_interfaces __declspec(dllexport) + #define ROSIDL_GENERATOR_C_IMPORT_guided_vr_interfaces __declspec(dllimport) + #endif + #ifdef ROSIDL_GENERATOR_C_BUILDING_DLL_guided_vr_interfaces + #define ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces ROSIDL_GENERATOR_C_EXPORT_guided_vr_interfaces + #else + #define ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces ROSIDL_GENERATOR_C_IMPORT_guided_vr_interfaces + #endif +#else + #define ROSIDL_GENERATOR_C_EXPORT_guided_vr_interfaces __attribute__ ((visibility("default"))) + #define ROSIDL_GENERATOR_C_IMPORT_guided_vr_interfaces + #if __GNUC__ >= 4 + #define ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces __attribute__ ((visibility("default"))) + #else + #define ROSIDL_GENERATOR_C_PUBLIC_guided_vr_interfaces + #endif +#endif + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__ROSIDL_GENERATOR_C__VISIBILITY_CONTROL_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_generator_cpp__visibility_control.hpp b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_generator_cpp__visibility_control.hpp new file mode 100644 index 000000000..0cf2e4cd0 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_generator_cpp__visibility_control.hpp @@ -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 GUIDED_VR_INTERFACES__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_ +#define GUIDED_VR_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_guided_vr_interfaces __attribute__ ((dllexport)) + #define ROSIDL_GENERATOR_CPP_IMPORT_guided_vr_interfaces __attribute__ ((dllimport)) + #else + #define ROSIDL_GENERATOR_CPP_EXPORT_guided_vr_interfaces __declspec(dllexport) + #define ROSIDL_GENERATOR_CPP_IMPORT_guided_vr_interfaces __declspec(dllimport) + #endif + #ifdef ROSIDL_GENERATOR_CPP_BUILDING_DLL_guided_vr_interfaces + #define ROSIDL_GENERATOR_CPP_PUBLIC_guided_vr_interfaces ROSIDL_GENERATOR_CPP_EXPORT_guided_vr_interfaces + #else + #define ROSIDL_GENERATOR_CPP_PUBLIC_guided_vr_interfaces ROSIDL_GENERATOR_CPP_IMPORT_guided_vr_interfaces + #endif +#else + #define ROSIDL_GENERATOR_CPP_EXPORT_guided_vr_interfaces __attribute__ ((visibility("default"))) + #define ROSIDL_GENERATOR_CPP_IMPORT_guided_vr_interfaces + #if __GNUC__ >= 4 + #define ROSIDL_GENERATOR_CPP_PUBLIC_guided_vr_interfaces __attribute__ ((visibility("default"))) + #else + #define ROSIDL_GENERATOR_CPP_PUBLIC_guided_vr_interfaces + #endif +#endif + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__ROSIDL_GENERATOR_CPP__VISIBILITY_CONTROL_HPP_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h new file mode 100644 index 000000000..1f4b5d8bd --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_c__visibility_control.h @@ -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 GUIDED_VR_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_ +#define GUIDED_VR_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_guided_vr_interfaces __attribute__ ((dllexport)) + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_guided_vr_interfaces __attribute__ ((dllimport)) + #else + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_guided_vr_interfaces __declspec(dllexport) + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_guided_vr_interfaces __declspec(dllimport) + #endif + #ifdef ROSIDL_TYPESUPPORT_FASTRTPS_C_BUILDING_DLL_guided_vr_interfaces + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_guided_vr_interfaces + #else + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_guided_vr_interfaces + #endif +#else + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_EXPORT_guided_vr_interfaces __attribute__ ((visibility("default"))) + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_IMPORT_guided_vr_interfaces + #if __GNUC__ >= 4 + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces __attribute__ ((visibility("default"))) + #else + #define ROSIDL_TYPESUPPORT_FASTRTPS_C_PUBLIC_guided_vr_interfaces + #endif +#endif + +#if __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_C__VISIBILITY_CONTROL_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h new file mode 100644 index 000000000..7cd91ec14 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_fastrtps_cpp__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 GUIDED_VR_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_ +#define GUIDED_VR_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_guided_vr_interfaces __attribute__ ((dllexport)) + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_guided_vr_interfaces __attribute__ ((dllimport)) + #else + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_guided_vr_interfaces __declspec(dllexport) + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_guided_vr_interfaces __declspec(dllimport) + #endif + #ifdef ROSIDL_TYPESUPPORT_FASTRTPS_CPP_BUILDING_DLL_guided_vr_interfaces + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_guided_vr_interfaces + #else + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_guided_vr_interfaces + #endif +#else + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_EXPORT_guided_vr_interfaces __attribute__ ((visibility("default"))) + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_IMPORT_guided_vr_interfaces + #if __GNUC__ >= 4 + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces __attribute__ ((visibility("default"))) + #else + #define ROSIDL_TYPESUPPORT_FASTRTPS_CPP_PUBLIC_guided_vr_interfaces + #endif +#endif + +#if __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__ROSIDL_TYPESUPPORT_FASTRTPS_CPP__VISIBILITY_CONTROL_H_ diff --git a/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_introspection_c__visibility_control.h new file mode 100644 index 000000000..5e9113be1 --- /dev/null +++ b/ThirdParty/ros/include/guided_vr_interfaces/msg/rosidl_typesupport_introspection_c__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 GUIDED_VR_INTERFACES__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_ +#define GUIDED_VR_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_guided_vr_interfaces __attribute__ ((dllexport)) + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_guided_vr_interfaces __attribute__ ((dllimport)) + #else + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_guided_vr_interfaces __declspec(dllexport) + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_guided_vr_interfaces __declspec(dllimport) + #endif + #ifdef ROSIDL_TYPESUPPORT_INTROSPECTION_C_BUILDING_DLL_guided_vr_interfaces + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_guided_vr_interfaces ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_guided_vr_interfaces + #else + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_guided_vr_interfaces ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_guided_vr_interfaces + #endif +#else + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_EXPORT_guided_vr_interfaces __attribute__ ((visibility("default"))) + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_IMPORT_guided_vr_interfaces + #if __GNUC__ >= 4 + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_guided_vr_interfaces __attribute__ ((visibility("default"))) + #else + #define ROSIDL_TYPESUPPORT_INTROSPECTION_C_PUBLIC_guided_vr_interfaces + #endif +#endif + +#ifdef __cplusplus +} +#endif + +#endif // GUIDED_VR_INTERFACES__MSG__ROSIDL_TYPESUPPORT_INTROSPECTION_C__VISIBILITY_CONTROL_H_ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_generator_c.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_generator_c.so new file mode 100644 index 000000000..4127087e6 Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_generator_c.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_generator_py.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_generator_py.so new file mode 100644 index 000000000..93fd7cebe Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_generator_py.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_c.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_c.so new file mode 100644 index 000000000..d9581cae7 Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_c.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_cpp.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_cpp.so new file mode 100644 index 000000000..10ecf5b06 Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_cpp.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_c.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_c.so new file mode 100644 index 000000000..fe21d04f6 Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_c.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_cpp.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_cpp.so new file mode 100644 index 000000000..f1d0a6deb Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_cpp.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_c.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_c.so new file mode 100644 index 000000000..daf513431 Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_c.so differ diff --git a/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_cpp.so b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_cpp.so new file mode 100644 index 000000000..800cf920c Binary files /dev/null and b/ThirdParty/ros/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_cpp.so differ diff --git a/ThirdParty/ros/share/cmake/ament_cmake_export_dependencies-extras.cmake b/ThirdParty/ros/share/cmake/ament_cmake_export_dependencies-extras.cmake new file mode 100644 index 000000000..ddd18d15c --- /dev/null +++ b/ThirdParty/ros/share/cmake/ament_cmake_export_dependencies-extras.cmake @@ -0,0 +1,92 @@ +# generated from ament_cmake_export_dependencies/cmake/ament_cmake_export_dependencies-extras.cmake.in + +set(_exported_dependencies "builtin_interfaces;std_msgs;geometry_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;rosidl_default_runtime") + +find_package(ament_cmake_libraries QUIET REQUIRED) + +# find_package() all dependencies +# and append their DEFINITIONS INCLUDE_DIRS, LIBRARIES, and LINK_FLAGS +# variables to guided_vr_interfaces_DEFINITIONS, guided_vr_interfaces_INCLUDE_DIRS, +# guided_vr_interfaces_LIBRARIES, and guided_vr_interfaces_LINK_FLAGS. +# Additionally collect the direct dependency names in +# guided_vr_interfaces_DEPENDENCIES as well as the recursive dependency names +# in guided_vr_interfaces_RECURSIVE_DEPENDENCIES. +if(NOT _exported_dependencies STREQUAL "") + find_package(ament_cmake_core QUIET REQUIRED) + set(guided_vr_interfaces_DEPENDENCIES ${_exported_dependencies}) + set(guided_vr_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(guided_vr_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(guided_vr_interfaces_DEFINITIONS "${${_dep}_DEFINITIONS}") + endif() + if(${_dep}_INCLUDE_DIRS) + list_append_unique(guided_vr_interfaces_INCLUDE_DIRS "${${_dep}_INCLUDE_DIRS}") + endif() + if(${_dep}_LIBRARIES) + list(APPEND _libraries "${${_dep}_LIBRARIES}") + endif() + if(${_dep}_LINK_FLAGS) + list_append_unique(guided_vr_interfaces_LINK_FLAGS "${${_dep}_LINK_FLAGS}") + endif() + if(${_dep}_RECURSIVE_DEPENDENCIES) + list_append_unique(guided_vr_interfaces_RECURSIVE_DEPENDENCIES "${${_dep}_RECURSIVE_DEPENDENCIES}") + endif() + endif() + if(_libraries) + ament_libraries_deduplicate(_libraries "${_libraries}") + list(APPEND guided_vr_interfaces_LIBRARIES "${_libraries}") + endif() + endforeach() +endif() diff --git a/ThirdParty/ros/share/cmake/ament_cmake_export_include_directories-extras.cmake b/ThirdParty/ros/share/cmake/ament_cmake_export_include_directories-extras.cmake new file mode 100644 index 000000000..8ebd39c2a --- /dev/null +++ b/ThirdParty/ros/share/cmake/ament_cmake_export_include_directories-extras.cmake @@ -0,0 +1,16 @@ +# generated from ament_cmake_export_include_directories/cmake/ament_cmake_export_include_directories-extras.cmake.in + +set(_exported_include_dirs "${guided_vr_interfaces_DIR}/../../../include/guided_vr_interfaces") + +# append include directories to guided_vr_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 'guided_vr_interfaces' exports the include directory '${_exported_include_dir}' which doesn't exist") + endif() + normalize_path(_exported_include_dir "${_exported_include_dir}") + list(APPEND guided_vr_interfaces_INCLUDE_DIRS "${_exported_include_dir}") + endforeach() +endif() diff --git a/ThirdParty/ros/share/cmake/ament_cmake_export_libraries-extras.cmake b/ThirdParty/ros/share/cmake/ament_cmake_export_libraries-extras.cmake new file mode 100644 index 000000000..0101feab2 --- /dev/null +++ b/ThirdParty/ros/share/cmake/ament_cmake_export_libraries-extras.cmake @@ -0,0 +1,141 @@ +# generated from ament_cmake_export_libraries/cmake/template/ament_cmake_export_libraries.cmake.in + +set(_exported_libraries "guided_vr_interfaces__rosidl_generator_c;guided_vr_interfaces__rosidl_typesupport_c;guided_vr_interfaces__rosidl_typesupport_cpp") +set(_exported_library_names "") + +# populate guided_vr_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 guided_vr_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 'guided_vr_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 "${guided_vr_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 'guided_vr_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 'guided_vr_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 'guided_vr_interfaces' found the library '${_lib}' which doesn't exist") + else() + list(APPEND guided_vr_interfaces_LIBRARIES ${_cfg} "${_lib}") + endif() + + else() + if(NOT EXISTS "${_library}") + # the found library must exist + message(WARNING "Package 'guided_vr_interfaces' exports the library '${_library}' which doesn't exist") + else() + list(APPEND guided_vr_interfaces_LIBRARIES ${_cfg} "${_library}") + endif() + endif() + endwhile() +endif() + +# find_library() library names with optional LIBRARY_DIRS +# and add the libraries to guided_vr_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 guided_vr_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 'guided_vr_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 'guided_vr_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 'guided_vr_interfaces' exports library '${_library_name}' with LIBRARY_DIRS '${_library_dirs}' which couldn't be found") + endif() + endif() + if(_lib) + list(APPEND guided_vr_interfaces_LIBRARIES ${_cfg} "${_lib}") + endif() + endwhile() +endif() + +# TODO(dirk-thomas) deduplicate guided_vr_interfaces_LIBRARIES +# while maintaining library order +# as well as build configuration keywords +# as well as linker flags diff --git a/ThirdParty/ros/share/cmake/ament_cmake_export_targets-extras.cmake b/ThirdParty/ros/share/cmake/ament_cmake_export_targets-extras.cmake new file mode 100644 index 000000000..3231b6172 --- /dev/null +++ b/ThirdParty/ros/share/cmake/ament_cmake_export_targets-extras.cmake @@ -0,0 +1,27 @@ +# generated from ament_cmake_export_targets/cmake/ament_cmake_export_targets-extras.cmake.in + +set(_exported_targets "export_guided_vr_interfaces__rosidl_generator_c;export_guided_vr_interfaces__rosidl_typesupport_fastrtps_c;guided_vr_interfaces__rosidl_typesupport_introspection_c;guided_vr_interfaces__rosidl_typesupport_c;export_guided_vr_interfaces__rosidl_generator_cpp;export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp;guided_vr_interfaces__rosidl_typesupport_introspection_cpp;guided_vr_interfaces__rosidl_typesupport_cpp;export_guided_vr_interfaces__rosidl_generator_py") + +# include all exported targets +if(NOT _exported_targets STREQUAL "") + foreach(_target ${_exported_targets}) + set(_export_file "${guided_vr_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 guided_vr_interfaces_TARGETS ${_targets}) + endforeach() +endif() diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cExport-noconfig.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cExport-noconfig.cmake new file mode 100644 index 000000000..03c0be618 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c PROPERTIES + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_generator_c.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_generator_c.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_generator_c.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cExport.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cExport.cmake new file mode 100644 index 000000000..20db7787f --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/guided_vr_interfaces" + INTERFACE_LINK_LIBRARIES "builtin_interfaces::builtin_interfaces__rosidl_generator_c;std_msgs::std_msgs__rosidl_generator_c;geometry_msgs::geometry_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_guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cppExport.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cppExport.cmake new file mode 100644 index 000000000..afc79ee68 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_cppExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_cpp +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_cpp INTERFACE IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_cpp PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/guided_vr_interfaces" + INTERFACE_LINK_LIBRARIES "builtin_interfaces::builtin_interfaces__rosidl_generator_cpp;std_msgs::std_msgs__rosidl_generator_cpp;geometry_msgs::geometry_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_guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_pyExport-noconfig.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_pyExport-noconfig.cmake new file mode 100644 index 000000000..b705a1535 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_pyExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py PROPERTIES + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_generator_py.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_generator_py.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_generator_py.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_pyExport.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_pyExport.cmake new file mode 100644 index 000000000..0e8f3c5b0 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_generator_pyExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_py PROPERTIES + INTERFACE_LINK_LIBRARIES "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c;/usr/lib/x86_64-linux-gnu/libpython3.10.so;guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c;builtin_interfaces::builtin_interfaces__rosidl_generator_py;std_msgs::std_msgs__rosidl_generator_py;geometry_msgs::geometry_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_guided_vr_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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c" "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cExport-noconfig.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cExport-noconfig.cmake new file mode 100644 index 000000000..902685554 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c PROPERTIES + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_c.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_typesupport_fastrtps_c.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_c.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cExport.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cExport.cmake new file mode 100644 index 000000000..ae57b5cc9 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_c PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/guided_vr_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;guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_c;std_msgs::std_msgs__rosidl_typesupport_fastrtps_c;geometry_msgs::geometry_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_guided_vr_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 "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cppExport-noconfig.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cppExport-noconfig.cmake new file mode 100644 index 000000000..487d70f37 --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cppExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp PROPERTIES + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_cpp.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_typesupport_fastrtps_cpp.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_fastrtps_cpp.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cppExport.cmake b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cppExport.cmake new file mode 100644 index 000000000..30b99f90e --- /dev/null +++ b/ThirdParty/ros/share/cmake/export_guided_vr_interfaces__rosidl_typesupport_fastrtps_cppExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/guided_vr_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;builtin_interfaces::builtin_interfaces__rosidl_typesupport_fastrtps_cpp;std_msgs::std_msgs__rosidl_typesupport_fastrtps_cpp;geometry_msgs::geometry_msgs__rosidl_typesupport_fastrtps_cpp;guided_vr_interfaces::guided_vr_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_guided_vr_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 "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfacesConfig-version.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfacesConfig-version.cmake new file mode 100644 index 000000000..7beb73288 --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfacesConfig-version.cmake @@ -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() diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfacesConfig.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfacesConfig.cmake new file mode 100644 index 000000000..db693b53a --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfacesConfig.cmake @@ -0,0 +1,42 @@ +# generated from ament/cmake/core/templates/nameConfig.cmake.in + +# prevent multiple inclusion +if(_guided_vr_interfaces_CONFIG_INCLUDED) + # ensure to keep the found flag the same + if(NOT DEFINED guided_vr_interfaces_FOUND) + # explicitly set it to FALSE, otherwise CMake will set it to TRUE + set(guided_vr_interfaces_FOUND FALSE) + elseif(NOT guided_vr_interfaces_FOUND) + # use separate condition to avoid uninitialized variable warning + set(guided_vr_interfaces_FOUND FALSE) + endif() + return() +endif() +set(_guided_vr_interfaces_CONFIG_INCLUDED TRUE) + +# output package information +if(NOT guided_vr_interfaces_FIND_QUIETLY) + message(STATUS "Found guided_vr_interfaces: 0.0.0 (${guided_vr_interfaces_DIR})") +endif() + +# warn when using a deprecated package +if(NOT "" STREQUAL "") + set(_msg "Package 'guided_vr_interfaces' is deprecated") + # append custom deprecation text if available + if(NOT "" STREQUAL "TRUE") + set(_msg "${_msg} ()") + endif() + # optionally quiet the deprecation message + if(NOT ${guided_vr_interfaces_DEPRECATED_QUIET}) + message(DEPRECATION "${_msg}") + endif() +endif() + +# flag package as ament-based to distinguish it after being find_package()-ed +set(guided_vr_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("${guided_vr_interfaces_DIR}/${_extra}") +endforeach() diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cExport-noconfig.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cExport-noconfig.cmake new file mode 100644 index 000000000..9267a3ce1 --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_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/libguided_vr_interfaces__rosidl_typesupport_c.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_typesupport_c.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_c.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cExport.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cExport.cmake new file mode 100644 index 000000000..13734023d --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_c PROPERTIES + INTERFACE_LINK_LIBRARIES "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_c;std_msgs::std_msgs__rosidl_typesupport_c;geometry_msgs::geometry_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}/guided_vr_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 "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cppExport-noconfig.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cppExport-noconfig.cmake new file mode 100644 index 000000000..6ec6cdb63 --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cppExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_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/libguided_vr_interfaces__rosidl_typesupport_cpp.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_typesupport_cpp.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_cpp.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cppExport.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cppExport.cmake new file mode 100644 index 000000000..b04106661 --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_cppExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_cpp PROPERTIES + INTERFACE_LINK_LIBRARIES "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_cpp;std_msgs::std_msgs__rosidl_typesupport_cpp;geometry_msgs::geometry_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}/guided_vr_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 "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cExport-noconfig.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cExport-noconfig.cmake new file mode 100644 index 000000000..3abbfe47b --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c PROPERTIES + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_c.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_typesupport_introspection_c.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_c.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cExport.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cExport.cmake new file mode 100644 index 000000000..e3028ae21 --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_c PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/guided_vr_interfaces" + INTERFACE_LINK_LIBRARIES "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_c;rosidl_typesupport_introspection_c::rosidl_typesupport_introspection_c;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_c;std_msgs::std_msgs__rosidl_typesupport_introspection_c;geometry_msgs::geometry_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}/guided_vr_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 "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cppExport-noconfig.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cppExport-noconfig.cmake new file mode 100644 index 000000000..c9f76f6b9 --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cppExport-noconfig.cmake @@ -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 "guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp" for configuration "" +set_property(TARGET guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp PROPERTIES + IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_cpp.so" + IMPORTED_SONAME_NOCONFIG "libguided_vr_interfaces__rosidl_typesupport_introspection_cpp.so" + ) + +list(APPEND _IMPORT_CHECK_TARGETS guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp ) +list(APPEND _IMPORT_CHECK_FILES_FOR_guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp "${_IMPORT_PREFIX}/lib/libguided_vr_interfaces__rosidl_typesupport_introspection_cpp.so" ) + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) diff --git a/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cppExport.cmake b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cppExport.cmake new file mode 100644 index 000000000..102e2dc8c --- /dev/null +++ b/ThirdParty/ros/share/cmake/guided_vr_interfaces__rosidl_typesupport_introspection_cppExport.cmake @@ -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 guided_vr_interfaces::guided_vr_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 guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp +add_library(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp SHARED IMPORTED) + +set_target_properties(guided_vr_interfaces::guided_vr_interfaces__rosidl_typesupport_introspection_cpp PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include/guided_vr_interfaces" + INTERFACE_LINK_LIBRARIES "guided_vr_interfaces::guided_vr_interfaces__rosidl_generator_cpp;rosidl_runtime_c::rosidl_runtime_c;rosidl_typesupport_interface::rosidl_typesupport_interface;rosidl_typesupport_introspection_cpp::rosidl_typesupport_introspection_cpp;builtin_interfaces::builtin_interfaces__rosidl_typesupport_introspection_cpp;std_msgs::std_msgs__rosidl_typesupport_introspection_cpp;geometry_msgs::geometry_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}/guided_vr_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 "guided_vr_interfaces::guided_vr_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) diff --git a/ThirdParty/ros/share/cmake/rosidl_cmake-extras.cmake b/ThirdParty/ros/share/cmake/rosidl_cmake-extras.cmake new file mode 100644 index 000000000..73ce3be77 --- /dev/null +++ b/ThirdParty/ros/share/cmake/rosidl_cmake-extras.cmake @@ -0,0 +1,4 @@ +# generated from rosidl_cmake/cmake/rosidl_cmake-extras.cmake.in + +set(guided_vr_interfaces_IDL_FILES "msg/Notification2D.idl") +set(guided_vr_interfaces_INTERFACE_FILES "") diff --git a/ThirdParty/ros/share/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake b/ThirdParty/ros/share/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake new file mode 100644 index 000000000..dfbfa5e6c --- /dev/null +++ b/ThirdParty/ros/share/cmake/rosidl_cmake_export_typesupport_libraries-extras.cmake @@ -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:guided_vr_interfaces__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_fastrtps_cpp:guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp") + +# populate guided_vr_interfaces_LIBRARIES_ +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 "${guided_vr_interfaces_DIR}/../../../lib" + NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH + ) + + if(NOT _lib) + # the library wasn't found + message(FATAL_ERROR + "Package 'guided_vr_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 'guided_vr_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 'guided_vr_interfaces' found the typesupport library '${_lib}' which doesn't exist") + else() + list(APPEND guided_vr_interfaces_LIBRARIES${_suffix} ${_cfg} "${_lib}") + endif() + + else() + if(NOT EXISTS "${_library}") + # the found library must exist + message(WARNING "Package 'guided_vr_interfaces' exports the typesupport library '${_library}' which doesn't exist") + else() + list(APPEND guided_vr_interfaces_LIBRARIES${_suffix} "${_library}") + endif() + endif() + endforeach() +endif() diff --git a/ThirdParty/ros/share/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake b/ThirdParty/ros/share/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake new file mode 100644 index 000000000..58d24d5ad --- /dev/null +++ b/ThirdParty/ros/share/cmake/rosidl_cmake_export_typesupport_targets-extras.cmake @@ -0,0 +1,23 @@ +# generated from +# rosidl_cmake/cmake/template/rosidl_cmake_export_typesupport_targets.cmake.in + +set(_exported_typesupport_targets + "__rosidl_generator_c:guided_vr_interfaces__rosidl_generator_c;__rosidl_typesupport_fastrtps_c:guided_vr_interfaces__rosidl_typesupport_fastrtps_c;__rosidl_typesupport_introspection_c:guided_vr_interfaces__rosidl_typesupport_introspection_c;__rosidl_typesupport_c:guided_vr_interfaces__rosidl_typesupport_c;__rosidl_generator_cpp:guided_vr_interfaces__rosidl_generator_cpp;__rosidl_typesupport_fastrtps_cpp:guided_vr_interfaces__rosidl_typesupport_fastrtps_cpp;__rosidl_typesupport_introspection_cpp:guided_vr_interfaces__rosidl_typesupport_introspection_cpp;__rosidl_typesupport_cpp:guided_vr_interfaces__rosidl_typesupport_cpp;__rosidl_generator_py:guided_vr_interfaces__rosidl_generator_py") + +# populate guided_vr_interfaces_TARGETS_ +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 "guided_vr_interfaces::${_target}") + if(NOT TARGET "${_target}") + # the exported target must exist + message(WARNING "Package 'guided_vr_interfaces' exports the typesupport target '${_target}' which doesn't exist") + else() + list(APPEND guided_vr_interfaces_TARGETS${_suffix} "${_target}") + endif() + endforeach() +endif() diff --git a/ThirdParty/ros/share/environment/ament_prefix_path.dsv b/ThirdParty/ros/share/environment/ament_prefix_path.dsv new file mode 100644 index 000000000..79d4c95b5 --- /dev/null +++ b/ThirdParty/ros/share/environment/ament_prefix_path.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;AMENT_PREFIX_PATH; diff --git a/ThirdParty/ros/share/environment/ament_prefix_path.sh b/ThirdParty/ros/share/environment/ament_prefix_path.sh new file mode 100644 index 000000000..02e441b75 --- /dev/null +++ b/ThirdParty/ros/share/environment/ament_prefix_path.sh @@ -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" diff --git a/ThirdParty/ros/share/environment/library_path.dsv b/ThirdParty/ros/share/environment/library_path.dsv new file mode 100644 index 000000000..89bec935b --- /dev/null +++ b/ThirdParty/ros/share/environment/library_path.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;LD_LIBRARY_PATH;lib diff --git a/ThirdParty/ros/share/environment/library_path.sh b/ThirdParty/ros/share/environment/library_path.sh new file mode 100644 index 000000000..292e518f1 --- /dev/null +++ b/ThirdParty/ros/share/environment/library_path.sh @@ -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 diff --git a/ThirdParty/ros/share/environment/path.dsv b/ThirdParty/ros/share/environment/path.dsv new file mode 100644 index 000000000..b94426af0 --- /dev/null +++ b/ThirdParty/ros/share/environment/path.dsv @@ -0,0 +1 @@ +prepend-non-duplicate-if-exists;PATH;bin diff --git a/ThirdParty/ros/share/environment/path.sh b/ThirdParty/ros/share/environment/path.sh new file mode 100644 index 000000000..e59b749a8 --- /dev/null +++ b/ThirdParty/ros/share/environment/path.sh @@ -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 diff --git a/ThirdParty/ros/share/environment/pythonpath.dsv b/ThirdParty/ros/share/environment/pythonpath.dsv new file mode 100644 index 000000000..240760551 --- /dev/null +++ b/ThirdParty/ros/share/environment/pythonpath.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;PYTHONPATH;local/lib/python3.10/dist-packages diff --git a/ThirdParty/ros/share/environment/pythonpath.sh b/ThirdParty/ros/share/environment/pythonpath.sh new file mode 100644 index 000000000..579f26941 --- /dev/null +++ b/ThirdParty/ros/share/environment/pythonpath.sh @@ -0,0 +1,3 @@ +# generated from ament_package/template/environment_hook/pythonpath.sh.in + +ament_prepend_unique_value PYTHONPATH "$AMENT_CURRENT_PREFIX/local/lib/python3.10/dist-packages" diff --git a/ThirdParty/ros/share/hook/catkin_pythonpath.dsv b/ThirdParty/ros/share/hook/catkin_pythonpath.dsv new file mode 100644 index 000000000..240760551 --- /dev/null +++ b/ThirdParty/ros/share/hook/catkin_pythonpath.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;PYTHONPATH;local/lib/python3.10/dist-packages diff --git a/ThirdParty/ros/share/hook/catkin_pythonpath.ps1 b/ThirdParty/ros/share/hook/catkin_pythonpath.ps1 new file mode 100644 index 000000000..32e3283fe --- /dev/null +++ b/ThirdParty/ros/share/hook/catkin_pythonpath.ps1 @@ -0,0 +1,3 @@ +# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em + +colcon_prepend_unique_value PYTHONPATH "$env:COLCON_CURRENT_PREFIX\local/lib/python3.10/dist-packages" diff --git a/ThirdParty/ros/share/hook/catkin_pythonpath.sh b/ThirdParty/ros/share/hook/catkin_pythonpath.sh new file mode 100644 index 000000000..1327bfc81 --- /dev/null +++ b/ThirdParty/ros/share/hook/catkin_pythonpath.sh @@ -0,0 +1,3 @@ +# generated from colcon_core/shell/template/hook_prepend_value.sh.em + +_colcon_prepend_unique_value PYTHONPATH "$COLCON_CURRENT_PREFIX/local/lib/python3.10/dist-packages" diff --git a/ThirdParty/ros/share/hook/cmake_prefix_path.dsv b/ThirdParty/ros/share/hook/cmake_prefix_path.dsv new file mode 100644 index 000000000..e119f32cb --- /dev/null +++ b/ThirdParty/ros/share/hook/cmake_prefix_path.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;CMAKE_PREFIX_PATH; diff --git a/ThirdParty/ros/share/hook/cmake_prefix_path.ps1 b/ThirdParty/ros/share/hook/cmake_prefix_path.ps1 new file mode 100644 index 000000000..d03facc1a --- /dev/null +++ b/ThirdParty/ros/share/hook/cmake_prefix_path.ps1 @@ -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" diff --git a/ThirdParty/ros/share/hook/cmake_prefix_path.sh b/ThirdParty/ros/share/hook/cmake_prefix_path.sh new file mode 100644 index 000000000..a948e685b --- /dev/null +++ b/ThirdParty/ros/share/hook/cmake_prefix_path.sh @@ -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" diff --git a/ThirdParty/ros/share/hook/ld_library_path_lib.dsv b/ThirdParty/ros/share/hook/ld_library_path_lib.dsv new file mode 100644 index 000000000..89bec935b --- /dev/null +++ b/ThirdParty/ros/share/hook/ld_library_path_lib.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;LD_LIBRARY_PATH;lib diff --git a/ThirdParty/ros/share/hook/ld_library_path_lib.ps1 b/ThirdParty/ros/share/hook/ld_library_path_lib.ps1 new file mode 100644 index 000000000..f6df601d0 --- /dev/null +++ b/ThirdParty/ros/share/hook/ld_library_path_lib.ps1 @@ -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" diff --git a/ThirdParty/ros/share/hook/ld_library_path_lib.sh b/ThirdParty/ros/share/hook/ld_library_path_lib.sh new file mode 100644 index 000000000..ca3c1020b --- /dev/null +++ b/ThirdParty/ros/share/hook/ld_library_path_lib.sh @@ -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" diff --git a/ThirdParty/ros/share/hook/pkg_config_path.dsv b/ThirdParty/ros/share/hook/pkg_config_path.dsv new file mode 100644 index 000000000..858288c51 --- /dev/null +++ b/ThirdParty/ros/share/hook/pkg_config_path.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;PKG_CONFIG_PATH;lib/pkgconfig diff --git a/ThirdParty/ros/share/hook/pkg_config_path.ps1 b/ThirdParty/ros/share/hook/pkg_config_path.ps1 new file mode 100644 index 000000000..5b098df4d --- /dev/null +++ b/ThirdParty/ros/share/hook/pkg_config_path.ps1 @@ -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" diff --git a/ThirdParty/ros/share/hook/pkg_config_path.sh b/ThirdParty/ros/share/hook/pkg_config_path.sh new file mode 100644 index 000000000..e452798d4 --- /dev/null +++ b/ThirdParty/ros/share/hook/pkg_config_path.sh @@ -0,0 +1,3 @@ +# generated from colcon_core/shell/template/hook_prepend_value.sh.em + +_colcon_prepend_unique_value PKG_CONFIG_PATH "$COLCON_CURRENT_PREFIX/lib/pkgconfig" diff --git a/ThirdParty/ros/share/hook/pkg_config_path_multiarch.dsv b/ThirdParty/ros/share/hook/pkg_config_path_multiarch.dsv new file mode 100644 index 000000000..720ef6488 --- /dev/null +++ b/ThirdParty/ros/share/hook/pkg_config_path_multiarch.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;PKG_CONFIG_PATH;lib/x86_64-linux-gnu/pkgconfig diff --git a/ThirdParty/ros/share/hook/pkg_config_path_multiarch.ps1 b/ThirdParty/ros/share/hook/pkg_config_path_multiarch.ps1 new file mode 100644 index 000000000..498c167b8 --- /dev/null +++ b/ThirdParty/ros/share/hook/pkg_config_path_multiarch.ps1 @@ -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/x86_64-linux-gnu/pkgconfig" diff --git a/ThirdParty/ros/share/hook/pkg_config_path_multiarch.sh b/ThirdParty/ros/share/hook/pkg_config_path_multiarch.sh new file mode 100644 index 000000000..ed2d31792 --- /dev/null +++ b/ThirdParty/ros/share/hook/pkg_config_path_multiarch.sh @@ -0,0 +1,3 @@ +# generated from colcon_core/shell/template/hook_prepend_value.sh.em + +_colcon_prepend_unique_value PKG_CONFIG_PATH "$COLCON_CURRENT_PREFIX/lib/x86_64-linux-gnu/pkgconfig" diff --git a/ThirdParty/ros/share/hook/ros_package_path.dsv b/ThirdParty/ros/share/hook/ros_package_path.dsv new file mode 100644 index 000000000..86df3c371 --- /dev/null +++ b/ThirdParty/ros/share/hook/ros_package_path.dsv @@ -0,0 +1 @@ +prepend-non-duplicate;ROS_PACKAGE_PATH;share diff --git a/ThirdParty/ros/share/hook/ros_package_path.ps1 b/ThirdParty/ros/share/hook/ros_package_path.ps1 new file mode 100644 index 000000000..541e60204 --- /dev/null +++ b/ThirdParty/ros/share/hook/ros_package_path.ps1 @@ -0,0 +1,3 @@ +# generated from colcon_powershell/shell/template/hook_prepend_value.ps1.em + +colcon_prepend_unique_value ROS_PACKAGE_PATH "$env:COLCON_CURRENT_PREFIX\share" diff --git a/ThirdParty/ros/share/hook/ros_package_path.sh b/ThirdParty/ros/share/hook/ros_package_path.sh new file mode 100644 index 000000000..e142311ad --- /dev/null +++ b/ThirdParty/ros/share/hook/ros_package_path.sh @@ -0,0 +1,3 @@ +# generated from colcon_core/shell/template/hook_prepend_value.sh.em + +_colcon_prepend_unique_value ROS_PACKAGE_PATH "$COLCON_CURRENT_PREFIX/share" diff --git a/ThirdParty/ros/share/local_setup.bash b/ThirdParty/ros/share/local_setup.bash new file mode 100644 index 000000000..49782f246 --- /dev/null +++ b/ThirdParty/ros/share/local_setup.bash @@ -0,0 +1,46 @@ +# generated from ament_package/template/package_level/local_setup.bash.in + +# source local_setup.sh from same directory as this file +_this_path=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" && pwd) +# provide AMENT_CURRENT_PREFIX to shell script +AMENT_CURRENT_PREFIX=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`/../.." && pwd) +# store AMENT_CURRENT_PREFIX to restore it before each environment hook +_package_local_setup_AMENT_CURRENT_PREFIX=$AMENT_CURRENT_PREFIX + +# trace output +if [ -n "$AMENT_TRACE_SETUP_FILES" ]; then + echo "# . \"$_this_path/local_setup.sh\"" +fi +. "$_this_path/local_setup.sh" +unset _this_path + +# unset AMENT_ENVIRONMENT_HOOKS +# if not appending to them for return +if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then + unset AMENT_ENVIRONMENT_HOOKS +fi + +# restore AMENT_CURRENT_PREFIX before evaluating the environment hooks +AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX +# list all environment hooks of this package + +# source all shell-specific environment hooks of this package +# if not returning them +if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then + _package_local_setup_IFS=$IFS + IFS=":" + for _hook in $AMENT_ENVIRONMENT_HOOKS; do + # restore AMENT_CURRENT_PREFIX for each environment hook + AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX + # restore IFS before sourcing other files + IFS=$_package_local_setup_IFS + . "$_hook" + done + unset _hook + IFS=$_package_local_setup_IFS + unset _package_local_setup_IFS + unset AMENT_ENVIRONMENT_HOOKS +fi + +unset _package_local_setup_AMENT_CURRENT_PREFIX +unset AMENT_CURRENT_PREFIX diff --git a/ThirdParty/ros/share/local_setup.dsv b/ThirdParty/ros/share/local_setup.dsv new file mode 100644 index 000000000..1711344db --- /dev/null +++ b/ThirdParty/ros/share/local_setup.dsv @@ -0,0 +1,4 @@ +source;share/guided_vr_interfaces/environment/ament_prefix_path.sh +source;share/guided_vr_interfaces/environment/library_path.sh +source;share/guided_vr_interfaces/environment/path.sh +source;share/guided_vr_interfaces/environment/pythonpath.sh diff --git a/ThirdParty/ros/share/local_setup.sh b/ThirdParty/ros/share/local_setup.sh new file mode 100644 index 000000000..b59ac6da7 --- /dev/null +++ b/ThirdParty/ros/share/local_setup.sh @@ -0,0 +1,186 @@ +# generated from ament_package/template/package_level/local_setup.sh.in + +# since this file is sourced use either the provided AMENT_CURRENT_PREFIX +# or fall back to the destination set at configure time +: ${AMENT_CURRENT_PREFIX:="/home/intermodalics/ros2_ws/install/guided_vr_interfaces"} +if [ ! -d "$AMENT_CURRENT_PREFIX" ]; then + if [ -z "$COLCON_CURRENT_PREFIX" ]; then + echo "The compile time prefix path '$AMENT_CURRENT_PREFIX' doesn't " \ + "exist. Consider sourcing a different extension than '.sh'." 1>&2 + else + AMENT_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" + fi +fi + +# function to append values to environment variables +# using colons as separators and avoiding leading separators +ament_append_value() { + # arguments + _listname="$1" + _value="$2" + #echo "listname $_listname" + #eval echo "list value \$$_listname" + #echo "value $_value" + + # avoid leading separator + eval _values=\"\$$_listname\" + if [ -z "$_values" ]; then + eval export $_listname=\"$_value\" + #eval echo "set list \$$_listname" + else + # field separator must not be a colon + _ament_append_value_IFS=$IFS + unset IFS + eval export $_listname=\"\$$_listname:$_value\" + #eval echo "append list \$$_listname" + IFS=$_ament_append_value_IFS + unset _ament_append_value_IFS + fi + unset _values + + unset _value + unset _listname +} + +# function to append non-duplicate values to environment variables +# using colons as separators and avoiding leading separators +ament_append_unique_value() { + # arguments + _listname=$1 + _value=$2 + #echo "listname $_listname" + #eval echo "list value \$$_listname" + #echo "value $_value" + + # check if the list contains the value + eval _values=\$$_listname + _duplicate= + _ament_append_unique_value_IFS=$IFS + IFS=":" + if [ "$AMENT_SHELL" = "zsh" ]; then + ament_zsh_to_array _values + fi + for _item in $_values; do + # ignore empty strings + if [ -z "$_item" ]; then + continue + fi + if [ $_item = $_value ]; then + _duplicate=1 + fi + done + unset _item + + # append only non-duplicates + if [ -z "$_duplicate" ]; then + # avoid leading separator + if [ -z "$_values" ]; then + eval $_listname=\"$_value\" + #eval echo "set list \$$_listname" + else + # field separator must not be a colon + unset IFS + eval $_listname=\"\$$_listname:$_value\" + #eval echo "append list \$$_listname" + fi + fi + IFS=$_ament_append_unique_value_IFS + unset _ament_append_unique_value_IFS + unset _duplicate + unset _values + + unset _value + unset _listname +} + +# function to prepend non-duplicate values to environment variables +# using colons as separators and avoiding trailing separators +ament_prepend_unique_value() { + # arguments + _listname="$1" + _value="$2" + #echo "listname $_listname" + #eval echo "list value \$$_listname" + #echo "value $_value" + + # check if the list contains the value + eval _values=\"\$$_listname\" + _duplicate= + _ament_prepend_unique_value_IFS=$IFS + IFS=":" + if [ "$AMENT_SHELL" = "zsh" ]; then + ament_zsh_to_array _values + fi + for _item in $_values; do + # ignore empty strings + if [ -z "$_item" ]; then + continue + fi + if [ "$_item" = "$_value" ]; then + _duplicate=1 + fi + done + unset _item + + # prepend only non-duplicates + if [ -z "$_duplicate" ]; then + # avoid trailing separator + if [ -z "$_values" ]; then + eval export $_listname=\"$_value\" + #eval echo "set list \$$_listname" + else + # field separator must not be a colon + unset IFS + eval export $_listname=\"$_value:\$$_listname\" + #eval echo "prepend list \$$_listname" + fi + fi + IFS=$_ament_prepend_unique_value_IFS + unset _ament_prepend_unique_value_IFS + unset _duplicate + unset _values + + unset _value + unset _listname +} + +# unset AMENT_ENVIRONMENT_HOOKS +# if not appending to them for return +if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then + unset AMENT_ENVIRONMENT_HOOKS +fi + +# list all environment hooks of this package +ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/guided_vr_interfaces/environment/ament_prefix_path.sh" +ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/guided_vr_interfaces/environment/library_path.sh" +ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/guided_vr_interfaces/environment/path.sh" +ament_append_value AMENT_ENVIRONMENT_HOOKS "$AMENT_CURRENT_PREFIX/share/guided_vr_interfaces/environment/pythonpath.sh" + +# source all shell-specific environment hooks of this package +# if not returning them +if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then + _package_local_setup_IFS=$IFS + IFS=":" + if [ "$AMENT_SHELL" = "zsh" ]; then + ament_zsh_to_array AMENT_ENVIRONMENT_HOOKS + fi + for _hook in $AMENT_ENVIRONMENT_HOOKS; do + if [ -f "$_hook" ]; then + # restore IFS before sourcing other files + IFS=$_package_local_setup_IFS + # trace output + if [ -n "$AMENT_TRACE_SETUP_FILES" ]; then + echo "# . \"$_hook\"" + fi + . "$_hook" + fi + done + unset _hook + IFS=$_package_local_setup_IFS + unset _package_local_setup_IFS + unset AMENT_ENVIRONMENT_HOOKS +fi + +# reset AMENT_CURRENT_PREFIX after each package +# allowing to source multiple package-level setup files +unset AMENT_CURRENT_PREFIX diff --git a/ThirdParty/ros/share/local_setup.zsh b/ThirdParty/ros/share/local_setup.zsh new file mode 100644 index 000000000..fe161be53 --- /dev/null +++ b/ThirdParty/ros/share/local_setup.zsh @@ -0,0 +1,59 @@ +# generated from ament_package/template/package_level/local_setup.zsh.in + +AMENT_SHELL=zsh + +# source local_setup.sh from same directory as this file +_this_path=$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd) +# provide AMENT_CURRENT_PREFIX to shell script +AMENT_CURRENT_PREFIX=$(builtin cd -q "`dirname "${(%):-%N}"`/../.." > /dev/null && pwd) +# store AMENT_CURRENT_PREFIX to restore it before each environment hook +_package_local_setup_AMENT_CURRENT_PREFIX=$AMENT_CURRENT_PREFIX + +# function to convert array-like strings into arrays +# to wordaround SH_WORD_SPLIT not being set +ament_zsh_to_array() { + local _listname=$1 + local _dollar="$" + local _split="{=" + local _to_array="(\"$_dollar$_split$_listname}\")" + eval $_listname=$_to_array +} + +# trace output +if [ -n "$AMENT_TRACE_SETUP_FILES" ]; then + echo "# . \"$_this_path/local_setup.sh\"" +fi +# the package-level local_setup file unsets AMENT_CURRENT_PREFIX +. "$_this_path/local_setup.sh" +unset _this_path + +# unset AMENT_ENVIRONMENT_HOOKS +# if not appending to them for return +if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then + unset AMENT_ENVIRONMENT_HOOKS +fi + +# restore AMENT_CURRENT_PREFIX before evaluating the environment hooks +AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX +# list all environment hooks of this package + +# source all shell-specific environment hooks of this package +# if not returning them +if [ -z "$AMENT_RETURN_ENVIRONMENT_HOOKS" ]; then + _package_local_setup_IFS=$IFS + IFS=":" + for _hook in $AMENT_ENVIRONMENT_HOOKS; do + # restore AMENT_CURRENT_PREFIX for each environment hook + AMENT_CURRENT_PREFIX=$_package_local_setup_AMENT_CURRENT_PREFIX + # restore IFS before sourcing other files + IFS=$_package_local_setup_IFS + . "$_hook" + done + unset _hook + IFS=$_package_local_setup_IFS + unset _package_local_setup_IFS + unset AMENT_ENVIRONMENT_HOOKS +fi + +unset _package_local_setup_AMENT_CURRENT_PREFIX +unset AMENT_CURRENT_PREFIX diff --git a/ThirdParty/ros/share/msg/Notification2D.idl b/ThirdParty/ros/share/msg/Notification2D.idl new file mode 100644 index 000000000..be6cd1b9f --- /dev/null +++ b/ThirdParty/ros/share/msg/Notification2D.idl @@ -0,0 +1,18 @@ +#include "builtin_interfaces/msg/Time.idl" +#include "std_msgs/msg/String.idl" +#include "std_msgs/msg/UInt8.idl" +#include "geometry_msgs/msg/Point.idl" + +module guided_vr_interfaces { + module msg { + struct Notification2D + { + std_msgs::msg::String source; + std_msgs::msg::String desc; + std_msgs::msg::UInt8 level; + builtin_interfaces::msg::Time stamp; + uint32 id; + sequence polygon; + }; + }; +}; diff --git a/ThirdParty/ros/share/package.bash b/ThirdParty/ros/share/package.bash new file mode 100644 index 000000000..f0ddc9039 --- /dev/null +++ b/ThirdParty/ros/share/package.bash @@ -0,0 +1,31 @@ +# generated from colcon_bash/shell/template/package.bash.em + +# This script extends the environment for this package. + +# a bash script is able to determine its own path if necessary +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + # the prefix is two levels up from the package specific share directory + _colcon_package_bash_COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`/../.." > /dev/null && pwd)" +else + _colcon_package_bash_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" +fi + +# function to source another script with conditional trace output +# first argument: the path of the script +# additional arguments: arguments to the script +_colcon_package_bash_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$@" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# source sh script of this package +_colcon_package_bash_source_script "$_colcon_package_bash_COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/package.sh" + +unset _colcon_package_bash_source_script +unset _colcon_package_bash_COLCON_CURRENT_PREFIX diff --git a/ThirdParty/ros/share/package.dsv b/ThirdParty/ros/share/package.dsv new file mode 100644 index 000000000..f35f5f9ba --- /dev/null +++ b/ThirdParty/ros/share/package.dsv @@ -0,0 +1,18 @@ +source;share/guided_vr_interfaces/hook/cmake_prefix_path.ps1 +source;share/guided_vr_interfaces/hook/cmake_prefix_path.dsv +source;share/guided_vr_interfaces/hook/cmake_prefix_path.sh +source;share/guided_vr_interfaces/hook/ld_library_path_lib.ps1 +source;share/guided_vr_interfaces/hook/ld_library_path_lib.dsv +source;share/guided_vr_interfaces/hook/ld_library_path_lib.sh +source;share/guided_vr_interfaces/hook/ros_package_path.ps1 +source;share/guided_vr_interfaces/hook/ros_package_path.dsv +source;share/guided_vr_interfaces/hook/ros_package_path.sh +source;share/guided_vr_interfaces/hook/catkin_pythonpath.ps1 +source;share/guided_vr_interfaces/hook/catkin_pythonpath.dsv +source;share/guided_vr_interfaces/hook/catkin_pythonpath.sh +source;share/guided_vr_interfaces/hook/pkg_config_path.ps1 +source;share/guided_vr_interfaces/hook/pkg_config_path.dsv +source;share/guided_vr_interfaces/hook/pkg_config_path.sh +source;share/guided_vr_interfaces/hook/pkg_config_path_multiarch.ps1 +source;share/guided_vr_interfaces/hook/pkg_config_path_multiarch.dsv +source;share/guided_vr_interfaces/hook/pkg_config_path_multiarch.sh diff --git a/ThirdParty/ros/share/package.ps1 b/ThirdParty/ros/share/package.ps1 new file mode 100644 index 000000000..7fee94e89 --- /dev/null +++ b/ThirdParty/ros/share/package.ps1 @@ -0,0 +1,120 @@ +# generated from colcon_powershell/shell/template/package.ps1.em + +# function to append a value to a variable +# which uses colons as separators +# duplicates as well as leading separators are avoided +# first argument: the name of the result variable +# second argument: the value to be prepended +function colcon_append_unique_value { + param ( + $_listname, + $_value + ) + + # get values from variable + if (Test-Path Env:$_listname) { + $_values=(Get-Item env:$_listname).Value + } else { + $_values="" + } + $_duplicate="" + # start with no values + $_all_values="" + # iterate over existing values in the variable + if ($_values) { + $_values.Split(";") | ForEach { + # not an empty string + if ($_) { + # not a duplicate of _value + if ($_ -eq $_value) { + $_duplicate="1" + } + if ($_all_values) { + $_all_values="${_all_values};$_" + } else { + $_all_values="$_" + } + } + } + } + # append only non-duplicates + if (!$_duplicate) { + # avoid leading separator + if ($_all_values) { + $_all_values="${_all_values};${_value}" + } else { + $_all_values="${_value}" + } + } + + # export the updated variable + Set-Item env:\$_listname -Value "$_all_values" +} + +# function to prepend a value to a variable +# which uses colons as separators +# duplicates as well as trailing separators are avoided +# first argument: the name of the result variable +# second argument: the value to be prepended +function colcon_prepend_unique_value { + param ( + $_listname, + $_value + ) + + # get values from variable + if (Test-Path Env:$_listname) { + $_values=(Get-Item env:$_listname).Value + } else { + $_values="" + } + # start with the new value + $_all_values="$_value" + # iterate over existing values in the variable + if ($_values) { + $_values.Split(";") | ForEach { + # not an empty string + if ($_) { + # not a duplicate of _value + if ($_ -ne $_value) { + # keep non-duplicate values + $_all_values="${_all_values};$_" + } + } + } + } + # export the updated variable + Set-Item env:\$_listname -Value "$_all_values" +} + +# function to source another script with conditional trace output +# first argument: the path of the script +# additional arguments: arguments to the script +function colcon_package_source_powershell_script { + param ( + $_colcon_package_source_powershell_script + ) + # source script with conditional trace output + if (Test-Path $_colcon_package_source_powershell_script) { + if ($env:COLCON_TRACE) { + echo ". '$_colcon_package_source_powershell_script'" + } + . "$_colcon_package_source_powershell_script" + } else { + Write-Error "not found: '$_colcon_package_source_powershell_script'" + } +} + + +# a powershell script is able to determine its own path +# the prefix is two levels up from the package specific share directory +$env:COLCON_CURRENT_PREFIX=(Get-Item $PSCommandPath).Directory.Parent.Parent.FullName + +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/guided_vr_interfaces/hook/cmake_prefix_path.ps1" +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/guided_vr_interfaces/hook/ld_library_path_lib.ps1" +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/guided_vr_interfaces/hook/ros_package_path.ps1" +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/guided_vr_interfaces/hook/catkin_pythonpath.ps1" +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/guided_vr_interfaces/hook/pkg_config_path.ps1" +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/guided_vr_interfaces/hook/pkg_config_path_multiarch.ps1" + +Remove-Item Env:\COLCON_CURRENT_PREFIX diff --git a/ThirdParty/ros/share/package.sh b/ThirdParty/ros/share/package.sh new file mode 100644 index 000000000..74fccc654 --- /dev/null +++ b/ThirdParty/ros/share/package.sh @@ -0,0 +1,91 @@ +# generated from colcon_core/shell/template/package.sh.em + +# This script extends the environment for this package. + +# function to prepend a value to a variable +# which uses colons as separators +# duplicates as well as trailing separators are avoided +# first argument: the name of the result variable +# second argument: the value to be prepended +_colcon_prepend_unique_value() { + # arguments + _listname="$1" + _value="$2" + + # get values from variable + eval _values=\"\$$_listname\" + # backup the field separator + _colcon_prepend_unique_value_IFS=$IFS + IFS=":" + # start with the new value + _all_values="$_value" + # workaround SH_WORD_SPLIT not being set in zsh + if [ "$(command -v colcon_zsh_convert_to_array)" ]; then + colcon_zsh_convert_to_array _values + fi + # iterate over existing values in the variable + for _item in $_values; do + # ignore empty strings + if [ -z "$_item" ]; then + continue + fi + # ignore duplicates of _value + if [ "$_item" = "$_value" ]; then + continue + fi + # keep non-duplicate values + _all_values="$_all_values:$_item" + done + unset _item + # restore the field separator + IFS=$_colcon_prepend_unique_value_IFS + unset _colcon_prepend_unique_value_IFS + # export the updated variable + eval export $_listname=\"$_all_values\" + unset _all_values + unset _values + + unset _value + unset _listname +} + +# since a plain shell script can't determine its own path when being sourced +# either use the provided COLCON_CURRENT_PREFIX +# or fall back to the build time prefix (if it exists) +_colcon_package_sh_COLCON_CURRENT_PREFIX="/home/intermodalics/ros2_ws/install/guided_vr_interfaces" +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + if [ ! -d "$_colcon_package_sh_COLCON_CURRENT_PREFIX" ]; then + echo "The build time path \"$_colcon_package_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 + unset _colcon_package_sh_COLCON_CURRENT_PREFIX + return 1 + fi + COLCON_CURRENT_PREFIX="$_colcon_package_sh_COLCON_CURRENT_PREFIX" +fi +unset _colcon_package_sh_COLCON_CURRENT_PREFIX + +# function to source another script with conditional trace output +# first argument: the path of the script +# additional arguments: arguments to the script +_colcon_package_sh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$@" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# source sh hooks +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/hook/cmake_prefix_path.sh" +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/hook/ld_library_path_lib.sh" +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/hook/ros_package_path.sh" +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/hook/catkin_pythonpath.sh" +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/hook/pkg_config_path.sh" +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/hook/pkg_config_path_multiarch.sh" + +unset _colcon_package_sh_source_script +unset COLCON_CURRENT_PREFIX + +# do not unset _colcon_prepend_unique_value since it might be used by non-primary shell hooks diff --git a/ThirdParty/ros/share/package.xml b/ThirdParty/ros/share/package.xml new file mode 100644 index 000000000..7c99ff5e5 --- /dev/null +++ b/ThirdParty/ros/share/package.xml @@ -0,0 +1,25 @@ + + + guided_vr_interfaces + 0.0.0 + Message definitions for my project + + Milo Knockaert + Apache-2.0 + + ament_cmake + + rosidl_default_generators + builtin_interfaces + std_msgs + geometry_msgs + + rosidl_default_runtime + builtin_interfaces + std_msgs + geometry_msgs + + + rosidl_interface_packages + + diff --git a/ThirdParty/ros/share/package.zsh b/ThirdParty/ros/share/package.zsh new file mode 100644 index 000000000..fa396c017 --- /dev/null +++ b/ThirdParty/ros/share/package.zsh @@ -0,0 +1,42 @@ +# generated from colcon_zsh/shell/template/package.zsh.em + +# This script extends the environment for this package. + +# a zsh script is able to determine its own path if necessary +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + # the prefix is two levels up from the package specific share directory + _colcon_package_zsh_COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`/../.." > /dev/null && pwd)" +else + _colcon_package_zsh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX" +fi + +# function to source another script with conditional trace output +# first argument: the path of the script +# additional arguments: arguments to the script +_colcon_package_zsh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$@" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# function to convert array-like strings into arrays +# to workaround SH_WORD_SPLIT not being set +colcon_zsh_convert_to_array() { + local _listname=$1 + local _dollar="$" + local _split="{=" + local _to_array="(\"$_dollar$_split$_listname}\")" + eval $_listname=$_to_array +} + +# source sh script of this package +_colcon_package_zsh_source_script "$_colcon_package_zsh_COLCON_CURRENT_PREFIX/share/guided_vr_interfaces/package.sh" +unset convert_zsh_to_array + +unset _colcon_package_zsh_source_script +unset _colcon_package_zsh_COLCON_CURRENT_PREFIX