diff --git a/geometry_msgs/CMakeLists.txt b/geometry_msgs/CMakeLists.txt index 537ea1e..67d9693 100644 --- a/geometry_msgs/CMakeLists.txt +++ b/geometry_msgs/CMakeLists.txt @@ -1,39 +1,42 @@ cmake_minimum_required(VERSION 3.10) -project(geometry_msgs) +project(robot_geometry_msgs) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) # Thư viện header-only -add_library(geometry_msgs INTERFACE) +add_library(robot_geometry_msgs INTERFACE) # Include path tới thư mục chứa file header -target_include_directories(geometry_msgs +target_include_directories(robot_geometry_msgs INTERFACE $ $ ) # Liên kết với std_msgs nếu bạn có file Header.h trong include/std_msgs/ -target_link_libraries(geometry_msgs INTERFACE std_msgs utils) +target_link_libraries(robot_geometry_msgs INTERFACE std_msgs utils) + +# Create alias for backward compatibility +add_library(geometry_msgs ALIAS robot_geometry_msgs) # --- Cài đặt thư viện vào hệ thống khi chạy make install --- -install(TARGETS geometry_msgs - EXPORT geometry_msgs-targets +install(TARGETS robot_geometry_msgs + EXPORT robot_geometry_msgs-targets INCLUDES DESTINATION include # Cài đặt include ) # --- Xuất export set costmap_2dTargets thành file CMake module --- -# --- Tạo file lib/cmake/geometry_msgs/costmap_2dTargets.cmake --- +# --- Tạo file lib/cmake/robot_geometry_msgs/costmap_2dTargets.cmake --- # --- File này chứa cấu hình giúp project khác có thể dùng --- -# --- Find_package(geometry_msgs REQUIRED) --- -# --- Target_link_libraries(my_app PRIVATE geometry_msgs::geometry_msgs) --- -install(EXPORT geometry_msgs-targets - FILE geometry_msgs-targets.cmake - NAMESPACE geometry_msgs:: - DESTINATION lib/cmake/geometry_msgs +# --- Find_package(robot_geometry_msgs REQUIRED) --- +# --- Target_link_libraries(my_app PRIVATE robot_geometry_msgs::robot_geometry_msgs) --- +install(EXPORT robot_geometry_msgs-targets + FILE robot_geometry_msgs-targets.cmake + NAMESPACE robot_geometry_msgs:: + DESTINATION lib/cmake/robot_geometry_msgs ) add_executable(test_geometry test/main.cpp) -target_link_libraries(test_geometry PRIVATE geometry_msgs) +target_link_libraries(test_geometry PRIVATE robot_geometry_msgs) diff --git a/geometry_msgs/include/geometry_msgs/AccelStamped.h b/geometry_msgs/include/geometry_msgs/AccelStamped.h deleted file mode 100644 index 24387f1..0000000 --- a/geometry_msgs/include/geometry_msgs/AccelStamped.h +++ /dev/null @@ -1,61 +0,0 @@ -// Generated by gencpp from file geometry_msgs/AccelStamped.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_ACCELSTAMPED_H -#define GEOMETRY_MSGS_MESSAGE_ACCELSTAMPED_H - -#include -#include -#include -#include -#include -#include - -namespace geometry_msgs -{ - template - struct AccelStamped_ - { - typedef AccelStamped_ Type; - - AccelStamped_() - : header(), accel() - { - } - AccelStamped_(const ContainerAllocator &_alloc) - : header(_alloc), accel(_alloc) - { - (void)_alloc; - } - - typedef ::std_msgs::Header_ _header_type; - _header_type header; - - typedef ::geometry_msgs::Accel_ _accel_type; - _accel_type accel; - - typedef boost::shared_ptr<::geometry_msgs::AccelStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::AccelStamped_ const> ConstPtr; - - }; // struct AccelStamped_ - - typedef ::geometry_msgs::AccelStamped_> AccelStamped; - - typedef boost::shared_ptr<::geometry_msgs::AccelStamped> AccelStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::AccelStamped const> AccelStampedConstPtr; - - template - bool operator==(const ::geometry_msgs::AccelStamped_ &lhs, const ::geometry_msgs::AccelStamped_ &rhs) - { - return lhs.header == rhs.header && - lhs.accel == rhs.accel; - } - - template - bool operator!=(const ::geometry_msgs::AccelStamped_ &lhs, const ::geometry_msgs::AccelStamped_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs -#endif // GEOMETRY_MSGS_MESSAGE_ACCELSTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/AccelWithCovarianceStamped.h b/geometry_msgs/include/geometry_msgs/AccelWithCovarianceStamped.h deleted file mode 100644 index 71d4879..0000000 --- a/geometry_msgs/include/geometry_msgs/AccelWithCovarianceStamped.h +++ /dev/null @@ -1,64 +0,0 @@ -// Generated by gencpp from file geometry_msgs/AccelWithCovarianceStamped.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCESTAMPED_H -#define GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCESTAMPED_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct AccelWithCovarianceStamped_ - { - typedef AccelWithCovarianceStamped_ Type; - - AccelWithCovarianceStamped_() - : header(), accel() - { - } - AccelWithCovarianceStamped_(const ContainerAllocator &_alloc) - : header(_alloc), accel(_alloc) - { - (void)_alloc; - } - - typedef ::std_msgs::Header_ _header_type; - _header_type header; - - typedef ::geometry_msgs::AccelWithCovariance_ _accel_type; - _accel_type accel; - - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovarianceStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovarianceStamped_ const> ConstPtr; - - }; // struct AccelWithCovarianceStamped_ - - typedef ::geometry_msgs::AccelWithCovarianceStamped_> AccelWithCovarianceStamped; - - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovarianceStamped> AccelWithCovarianceStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovarianceStamped const> AccelWithCovarianceStampedConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::AccelWithCovarianceStamped_ &lhs, const ::geometry_msgs::AccelWithCovarianceStamped_ &rhs) - { - return lhs.header == rhs.header && - lhs.accel == rhs.accel; - } - - template - bool operator!=(const ::geometry_msgs::AccelWithCovarianceStamped_ &lhs, const ::geometry_msgs::AccelWithCovarianceStamped_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs -#endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCESTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/Polygon.h b/geometry_msgs/include/geometry_msgs/Polygon.h deleted file mode 100644 index b6aec7a..0000000 --- a/geometry_msgs/include/geometry_msgs/Polygon.h +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by gencpp from file geometry_msgs/Polygon.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_POLYGON_H -#define GEOMETRY_MSGS_MESSAGE_POLYGON_H - -#include -#include -#include -#include - -#include - -namespace geometry_msgs -{ - template - struct Polygon_ - { - typedef Polygon_ Type; - - Polygon_() - : points() - { - } - Polygon_(const ContainerAllocator &_alloc) - : points(_alloc) - { - (void)_alloc; - } - - typedef std::vector<::geometry_msgs::Point32_, typename std::allocator_traits::template rebind_alloc<::geometry_msgs::Point32_>> _points_type; - _points_type points; - - typedef boost::shared_ptr<::geometry_msgs::Polygon_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Polygon_ const> ConstPtr; - - }; // struct Polygon_ - - typedef ::geometry_msgs::Polygon_> Polygon; - - typedef boost::shared_ptr<::geometry_msgs::Polygon> PolygonPtr; - typedef boost::shared_ptr<::geometry_msgs::Polygon const> PolygonConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::Polygon_ &lhs, const ::geometry_msgs::Polygon_ &rhs) - { - return lhs.points == rhs.points; - } - - template - bool operator!=(const ::geometry_msgs::Polygon_ &lhs, const ::geometry_msgs::Polygon_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs - -#endif // GEOMETRY_MSGS_MESSAGE_POLYGON_H diff --git a/geometry_msgs/include/geometry_msgs/Pose.h b/geometry_msgs/include/geometry_msgs/Pose.h deleted file mode 100644 index 47ab3e6..0000000 --- a/geometry_msgs/include/geometry_msgs/Pose.h +++ /dev/null @@ -1,64 +0,0 @@ -// Generated by gencpp from file geometry_msgs/Pose.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_POSE_H -#define GEOMETRY_MSGS_MESSAGE_POSE_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct Pose_ - { - typedef Pose_ Type; - - Pose_() - : position(), orientation() - { - } - Pose_(const ContainerAllocator &_alloc) - : position(_alloc), orientation(_alloc) - { - (void)_alloc; - } - - typedef ::geometry_msgs::Point_ _position_type; - _position_type position; - - typedef ::geometry_msgs::Quaternion_ _orientation_type; - _orientation_type orientation; - - typedef boost::shared_ptr<::geometry_msgs::Pose_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Pose_ const> ConstPtr; - - }; // struct Pose_ - - typedef ::geometry_msgs::Pose_> Pose; - - typedef boost::shared_ptr<::geometry_msgs::Pose> PosePtr; - typedef boost::shared_ptr<::geometry_msgs::Pose const> PoseConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::Pose_ &lhs, const ::geometry_msgs::Pose_ &rhs) - { - return lhs.position == rhs.position && - lhs.orientation == rhs.orientation; - } - - template - bool operator!=(const ::geometry_msgs::Pose_ &lhs, const ::geometry_msgs::Pose_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs -#endif // GEOMETRY_MSGS_MESSAGE_POSE_H diff --git a/geometry_msgs/include/geometry_msgs/PoseArray.h b/geometry_msgs/include/geometry_msgs/PoseArray.h deleted file mode 100644 index c072245..0000000 --- a/geometry_msgs/include/geometry_msgs/PoseArray.h +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by gencpp from file geometry_msgs/PoseArray.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_POSEARRAY_H -#define GEOMETRY_MSGS_MESSAGE_POSEARRAY_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct PoseArray_ - { - typedef PoseArray_ Type; - - PoseArray_() - : header(), poses() - { - } - PoseArray_(const ContainerAllocator &_alloc) - : header(_alloc), poses(_alloc) - { - (void)_alloc; - } - - typedef ::std_msgs::Header_ _header_type; - _header_type header; - - typedef std::vector<::geometry_msgs::Pose_, typename std::allocator_traits::template rebind_alloc<::geometry_msgs::Pose_>> _poses_type; - _poses_type poses; - - typedef boost::shared_ptr<::geometry_msgs::PoseArray_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::PoseArray_ const> ConstPtr; - - }; // struct PoseArray_ - - typedef ::geometry_msgs::PoseArray_> PoseArray; - - typedef boost::shared_ptr<::geometry_msgs::PoseArray> PoseArrayPtr; - typedef boost::shared_ptr<::geometry_msgs::PoseArray const> PoseArrayConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::PoseArray_ &lhs, const ::geometry_msgs::PoseArray_ &rhs) - { - return lhs.header == rhs.header && - lhs.poses == rhs.poses; - } - - template - bool operator!=(const ::geometry_msgs::PoseArray_ &lhs, const ::geometry_msgs::PoseArray_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs - -#endif // GEOMETRY_MSGS_MESSAGE_POSEARRAY_H diff --git a/geometry_msgs/include/geometry_msgs/PoseWithCovariance.h b/geometry_msgs/include/geometry_msgs/PoseWithCovariance.h deleted file mode 100644 index c5a563b..0000000 --- a/geometry_msgs/include/geometry_msgs/PoseWithCovariance.h +++ /dev/null @@ -1,63 +0,0 @@ -// Generated by gencpp from file geometry_msgs/PoseWithCovariance.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H -#define GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H - -#include -#include -#include -#include -#include -#include - -namespace geometry_msgs -{ - template - struct PoseWithCovariance_ - { - typedef PoseWithCovariance_ Type; - - PoseWithCovariance_() - : pose(), covariance() - { - covariance.assign(0.0); - } - PoseWithCovariance_(const ContainerAllocator &_alloc) - : pose(_alloc), covariance() - { - (void)_alloc; - covariance.assign(0.0); - } - - typedef ::geometry_msgs::Pose_ _pose_type; - _pose_type pose; - - typedef boost::array _covariance_type; - _covariance_type covariance; - - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovariance_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovariance_ const> ConstPtr; - - }; // struct PoseWithCovariance_ - - typedef ::geometry_msgs::PoseWithCovariance_> PoseWithCovariance; - - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovariance> PoseWithCovariancePtr; - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovariance const> PoseWithCovarianceConstPtr; - - template - bool operator==(const ::geometry_msgs::PoseWithCovariance_ &lhs, const ::geometry_msgs::PoseWithCovariance_ &rhs) - { - return lhs.pose == rhs.pose && - lhs.covariance == rhs.covariance; - } - - template - bool operator!=(const ::geometry_msgs::PoseWithCovariance_ &lhs, const ::geometry_msgs::PoseWithCovariance_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs -#endif // GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H \ No newline at end of file diff --git a/geometry_msgs/include/geometry_msgs/PoseWithCovarianceStamped.h b/geometry_msgs/include/geometry_msgs/PoseWithCovarianceStamped.h deleted file mode 100644 index 2dde668..0000000 --- a/geometry_msgs/include/geometry_msgs/PoseWithCovarianceStamped.h +++ /dev/null @@ -1,62 +0,0 @@ -// Generated by gencpp from file geometry_msgs/PoseWithCovarianceStamped.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPED_H -#define GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPED_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct PoseWithCovarianceStamped_ - { - typedef PoseWithCovarianceStamped_ Type; - - PoseWithCovarianceStamped_() - : header(), pose() - { - } - PoseWithCovarianceStamped_(const ContainerAllocator &_alloc) - : header(_alloc), pose(_alloc) - { - (void)_alloc; - } - - typedef ::std_msgs::Header_ _header_type; - _header_type header; - - typedef ::geometry_msgs::PoseWithCovariance_ _pose_type; - _pose_type pose; - - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovarianceStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovarianceStamped_ const> ConstPtr; - - }; // struct PoseWithCovarianceStamped_ - - typedef ::geometry_msgs::PoseWithCovarianceStamped_> PoseWithCovarianceStamped; - - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovarianceStamped> PoseWithCovarianceStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::PoseWithCovarianceStamped const> PoseWithCovarianceStampedConstPtr; - - template - bool operator==(const ::geometry_msgs::PoseWithCovarianceStamped_ &lhs, const ::geometry_msgs::PoseWithCovarianceStamped_ &rhs) - { - return lhs.header == rhs.header && - lhs.pose == rhs.pose; - } - - template - bool operator!=(const ::geometry_msgs::PoseWithCovarianceStamped_ &lhs, const ::geometry_msgs::PoseWithCovarianceStamped_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs -#endif // GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPED_H \ No newline at end of file diff --git a/geometry_msgs/include/geometry_msgs/Transform.h b/geometry_msgs/include/geometry_msgs/Transform.h deleted file mode 100644 index ec91765..0000000 --- a/geometry_msgs/include/geometry_msgs/Transform.h +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by gencpp from file geometry_msgs/Transform.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_TRANSFORM_H -#define GEOMETRY_MSGS_MESSAGE_TRANSFORM_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct Transform_ - { - typedef Transform_ Type; - - Transform_() - : translation(), rotation() - { - } - Transform_(const ContainerAllocator &_alloc) - : translation(_alloc), rotation(_alloc) - { - (void)_alloc; - } - - typedef ::geometry_msgs::Vector3_ _translation_type; - _translation_type translation; - - typedef ::geometry_msgs::Quaternion_ _rotation_type; - _rotation_type rotation; - - typedef boost::shared_ptr<::geometry_msgs::Transform_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Transform_ const> ConstPtr; - - }; // struct Transform_ - - typedef ::geometry_msgs::Transform_> Transform; - - typedef boost::shared_ptr<::geometry_msgs::Transform> TransformPtr; - typedef boost::shared_ptr<::geometry_msgs::Transform const> TransformConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::Transform_ &lhs, const ::geometry_msgs::Transform_ &rhs) - { - return lhs.translation == rhs.translation && - lhs.rotation == rhs.rotation; - } - - template - bool operator!=(const ::geometry_msgs::Transform_ &lhs, const ::geometry_msgs::Transform_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs - -#endif // GEOMETRY_MSGS_MESSAGE_TRANSFORM_H diff --git a/geometry_msgs/include/geometry_msgs/Twist.h b/geometry_msgs/include/geometry_msgs/Twist.h deleted file mode 100644 index 23e30a2..0000000 --- a/geometry_msgs/include/geometry_msgs/Twist.h +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by gencpp from file geometry_msgs/Twist.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_TWIST_H -#define GEOMETRY_MSGS_MESSAGE_TWIST_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct Twist_ - { - typedef Twist_ Type; - - Twist_() - : linear(), angular() - { - } - Twist_(const ContainerAllocator &_alloc) - : linear(_alloc), angular(_alloc) - { - (void)_alloc; - } - - typedef ::geometry_msgs::Vector3_ _linear_type; - _linear_type linear; - - typedef ::geometry_msgs::Vector3_ _angular_type; - _angular_type angular; - - typedef boost::shared_ptr<::geometry_msgs::Twist_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Twist_ const> ConstPtr; - - }; // struct Twist_ - - typedef ::geometry_msgs::Twist_> Twist; - - typedef boost::shared_ptr<::geometry_msgs::Twist> TwistPtr; - typedef boost::shared_ptr<::geometry_msgs::Twist const> TwistConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::Twist_ &lhs, const ::geometry_msgs::Twist_ &rhs) - { - return lhs.linear == rhs.linear && - lhs.angular == rhs.angular; - } - - template - bool operator!=(const ::geometry_msgs::Twist_ &lhs, const ::geometry_msgs::Twist_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs - -#endif // GEOMETRY_MSGS_MESSAGE_TWIST_H diff --git a/geometry_msgs/include/geometry_msgs/TwistWithCovarianceStamped.h b/geometry_msgs/include/geometry_msgs/TwistWithCovarianceStamped.h deleted file mode 100644 index ad82fc6..0000000 --- a/geometry_msgs/include/geometry_msgs/TwistWithCovarianceStamped.h +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by gencpp from file geometry_msgs/TwistWithCovarianceStamped.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCESTAMPED_H -#define GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCESTAMPED_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct TwistWithCovarianceStamped_ - { - typedef TwistWithCovarianceStamped_ Type; - - TwistWithCovarianceStamped_() - : header(), twist() - { - } - TwistWithCovarianceStamped_(const ContainerAllocator &_alloc) - : header(_alloc), twist(_alloc) - { - (void)_alloc; - } - - typedef ::std_msgs::Header_ _header_type; - _header_type header; - - typedef ::geometry_msgs::TwistWithCovariance_ _twist_type; - _twist_type twist; - - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovarianceStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovarianceStamped_ const> ConstPtr; - - }; // struct TwistWithCovarianceStamped_ - - typedef ::geometry_msgs::TwistWithCovarianceStamped_> TwistWithCovarianceStamped; - - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovarianceStamped> TwistWithCovarianceStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovarianceStamped const> TwistWithCovarianceStampedConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::TwistWithCovarianceStamped_ &lhs, const ::geometry_msgs::TwistWithCovarianceStamped_ &rhs) - { - return lhs.header == rhs.header && - lhs.twist == rhs.twist; - } - - template - bool operator!=(const ::geometry_msgs::TwistWithCovarianceStamped_ &lhs, const ::geometry_msgs::TwistWithCovarianceStamped_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs - -#endif // GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCESTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/Wrench.h b/geometry_msgs/include/geometry_msgs/Wrench.h deleted file mode 100644 index 681cec1..0000000 --- a/geometry_msgs/include/geometry_msgs/Wrench.h +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by gencpp from file geometry_msgs/Wrench.msg -// DO NOT EDIT! - -#ifndef GEOMETRY_MSGS_MESSAGE_WRENCH_H -#define GEOMETRY_MSGS_MESSAGE_WRENCH_H - -#include -#include -#include -#include - -#include -#include - -namespace geometry_msgs -{ - template - struct Wrench_ - { - typedef Wrench_ Type; - - Wrench_() - : force(), torque() - { - } - Wrench_(const ContainerAllocator &_alloc) - : force(_alloc), torque(_alloc) - { - (void)_alloc; - } - - typedef ::geometry_msgs::Vector3_ _force_type; - _force_type force; - - typedef ::geometry_msgs::Vector3_ _torque_type; - _torque_type torque; - - typedef boost::shared_ptr<::geometry_msgs::Wrench_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Wrench_ const> ConstPtr; - - }; // struct Wrench_ - - typedef ::geometry_msgs::Wrench_> Wrench; - - typedef boost::shared_ptr<::geometry_msgs::Wrench> WrenchPtr; - typedef boost::shared_ptr<::geometry_msgs::Wrench const> WrenchConstPtr; - - // constants requiring out of line definition - - template - bool operator==(const ::geometry_msgs::Wrench_ &lhs, const ::geometry_msgs::Wrench_ &rhs) - { - return lhs.force == rhs.force && - lhs.torque == rhs.torque; - } - - template - bool operator!=(const ::geometry_msgs::Wrench_ &lhs, const ::geometry_msgs::Wrench_ &rhs) - { - return !(lhs == rhs); - } - -} // namespace geometry_msgs - -#endif // GEOMETRY_MSGS_MESSAGE_WRENCH_H diff --git a/geometry_msgs/include/geometry_msgs/Accel.h b/geometry_msgs/include/robot_geometry_msgs/Accel.h similarity index 53% rename from geometry_msgs/include/geometry_msgs/Accel.h rename to geometry_msgs/include/robot_geometry_msgs/Accel.h index 183b0d1..067026a 100644 --- a/geometry_msgs/include/geometry_msgs/Accel.h +++ b/geometry_msgs/include/robot_geometry_msgs/Accel.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Accel.msg +// Generated by gencpp from file robot_geometry_msgs/Accel.msg // DO NOT EDIT! @@ -10,10 +10,10 @@ #include #include #include -#include -#include +#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Accel_ @@ -32,42 +32,42 @@ struct Accel_ - typedef ::geometry_msgs::Vector3_ _linear_type; + typedef ::robot_geometry_msgs::Vector3_ _linear_type; _linear_type linear; - typedef ::geometry_msgs::Vector3_ _angular_type; + typedef ::robot_geometry_msgs::Vector3_ _angular_type; _angular_type angular; - typedef boost::shared_ptr< ::geometry_msgs::Accel_ > Ptr; - typedef boost::shared_ptr< ::geometry_msgs::Accel_ const> ConstPtr; + typedef boost::shared_ptr< ::robot_geometry_msgs::Accel_ > Ptr; + typedef boost::shared_ptr< ::robot_geometry_msgs::Accel_ const> ConstPtr; }; // struct Accel_ -typedef ::geometry_msgs::Accel_ > Accel; +typedef ::robot_geometry_msgs::Accel_ > Accel; -typedef boost::shared_ptr< ::geometry_msgs::Accel > AccelPtr; -typedef boost::shared_ptr< ::geometry_msgs::Accel const> AccelConstPtr; +typedef boost::shared_ptr< ::robot_geometry_msgs::Accel > AccelPtr; +typedef boost::shared_ptr< ::robot_geometry_msgs::Accel const> AccelConstPtr; template -bool operator==(const ::geometry_msgs::Accel_ & lhs, const ::geometry_msgs::Accel_ & rhs) +bool operator==(const ::robot_geometry_msgs::Accel_ & lhs, const ::robot_geometry_msgs::Accel_ & rhs) { return lhs.linear == rhs.linear && lhs.angular == rhs.angular; } template -bool operator!=(const ::geometry_msgs::Accel_ & lhs, const ::geometry_msgs::Accel_ & rhs) +bool operator!=(const ::robot_geometry_msgs::Accel_ & lhs, const ::robot_geometry_msgs::Accel_ & rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs namespace ros { @@ -79,62 +79,62 @@ namespace message_traits template -struct IsMessage< ::geometry_msgs::Accel_ > +struct IsMessage< ::robot_geometry_msgs::Accel_ > : TrueType { }; template -struct IsMessage< ::geometry_msgs::Accel_ const> +struct IsMessage< ::robot_geometry_msgs::Accel_ const> : TrueType { }; template -struct IsFixedSize< ::geometry_msgs::Accel_ > +struct IsFixedSize< ::robot_geometry_msgs::Accel_ > : TrueType { }; template -struct IsFixedSize< ::geometry_msgs::Accel_ const> +struct IsFixedSize< ::robot_geometry_msgs::Accel_ const> : TrueType { }; template -struct HasHeader< ::geometry_msgs::Accel_ > +struct HasHeader< ::robot_geometry_msgs::Accel_ > : FalseType { }; template -struct HasHeader< ::geometry_msgs::Accel_ const> +struct HasHeader< ::robot_geometry_msgs::Accel_ const> : FalseType { }; template -struct MD5Sum< ::geometry_msgs::Accel_ > +struct MD5Sum< ::robot_geometry_msgs::Accel_ > { static const char* value() { return "9f195f881246fdfa2798d1d3eebca84a"; } - static const char* value(const ::geometry_msgs::Accel_&) { return value(); } + static const char* value(const ::robot_geometry_msgs::Accel_&) { return value(); } static const uint64_t static_value1 = 0x9f195f881246fdfaULL; static const uint64_t static_value2 = 0x2798d1d3eebca84aULL; }; template -struct DataType< ::geometry_msgs::Accel_ > +struct DataType< ::robot_geometry_msgs::Accel_ > { static const char* value() { - return "geometry_msgs/Accel"; + return "robot_geometry_msgs/Accel"; } - static const char* value(const ::geometry_msgs::Accel_&) { return value(); } + static const char* value(const ::robot_geometry_msgs::Accel_&) { return value(); } }; template -struct Definition< ::geometry_msgs::Accel_ > +struct Definition< ::robot_geometry_msgs::Accel_ > { static const char* value() { @@ -143,13 +143,13 @@ struct Definition< ::geometry_msgs::Accel_ > "Vector3 angular\n" "\n" "================================================================================\n" -"MSG: geometry_msgs/Vector3\n" +"MSG: robot_geometry_msgs/Vector3\n" "# This represents a vector in free space. \n" "# It is only meant to represent a direction. Therefore, it does not\n" "# make sense to apply a translation to it (e.g., when applying a \n" "# generic rigid transformation to a Vector3, tf2 will only apply the\n" "# rotation). If you want your data to be translatable too, use the\n" -"# geometry_msgs/Point message instead.\n" +"# robot_geometry_msgs/Point message instead.\n" "\n" "float64 x\n" "float64 y\n" @@ -157,7 +157,7 @@ struct Definition< ::geometry_msgs::Accel_ > ; } - static const char* value(const ::geometry_msgs::Accel_&) { return value(); } + static const char* value(const ::robot_geometry_msgs::Accel_&) { return value(); } }; } // namespace message_traits @@ -168,7 +168,7 @@ namespace ros namespace serialization { - template struct Serializer< ::geometry_msgs::Accel_ > + template struct Serializer< ::robot_geometry_msgs::Accel_ > { template inline static void allInOne(Stream& stream, T m) { @@ -188,18 +188,18 @@ namespace message_operations { template -struct Printer< ::geometry_msgs::Accel_ > +struct Printer< ::robot_geometry_msgs::Accel_ > { - template static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Accel_& v) + template static void stream(Stream& s, const std::string& indent, const ::robot_geometry_msgs::Accel_& v) { if (false || !indent.empty()) s << std::endl; s << indent << "linear: "; - Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.linear); + Printer< ::robot_geometry_msgs::Vector3_ >::stream(s, indent + " ", v.linear); if (true || !indent.empty()) s << std::endl; s << indent << "angular: "; - Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.angular); + Printer< ::robot_geometry_msgs::Vector3_ >::stream(s, indent + " ", v.angular); } }; diff --git a/geometry_msgs/include/robot_geometry_msgs/AccelStamped.h b/geometry_msgs/include/robot_geometry_msgs/AccelStamped.h new file mode 100644 index 0000000..31bbce5 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/AccelStamped.h @@ -0,0 +1,61 @@ +// Generated by gencpp from file robot_geometry_msgs/AccelStamped.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_ACCELSTAMPED_H +#define GEOMETRY_MSGS_MESSAGE_ACCELSTAMPED_H + +#include +#include +#include +#include +#include +#include + +namespace robot_geometry_msgs +{ + template + struct AccelStamped_ + { + typedef AccelStamped_ Type; + + AccelStamped_() + : header(), accel() + { + } + AccelStamped_(const ContainerAllocator &_alloc) + : header(_alloc), accel(_alloc) + { + (void)_alloc; + } + + typedef ::std_msgs::Header_ _header_type; + _header_type header; + + typedef ::robot_geometry_msgs::Accel_ _accel_type; + _accel_type accel; + + typedef boost::shared_ptr<::robot_geometry_msgs::AccelStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelStamped_ const> ConstPtr; + + }; // struct AccelStamped_ + + typedef ::robot_geometry_msgs::AccelStamped_> AccelStamped; + + typedef boost::shared_ptr<::robot_geometry_msgs::AccelStamped> AccelStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelStamped const> AccelStampedConstPtr; + + template + bool operator==(const ::robot_geometry_msgs::AccelStamped_ &lhs, const ::robot_geometry_msgs::AccelStamped_ &rhs) + { + return lhs.header == rhs.header && + lhs.accel == rhs.accel; + } + + template + bool operator!=(const ::robot_geometry_msgs::AccelStamped_ &lhs, const ::robot_geometry_msgs::AccelStamped_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs +#endif // GEOMETRY_MSGS_MESSAGE_ACCELSTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/AccelWithCovariance.h b/geometry_msgs/include/robot_geometry_msgs/AccelWithCovariance.h similarity index 51% rename from geometry_msgs/include/geometry_msgs/AccelWithCovariance.h rename to geometry_msgs/include/robot_geometry_msgs/AccelWithCovariance.h index 68d28b5..0cc55a2 100644 --- a/geometry_msgs/include/geometry_msgs/AccelWithCovariance.h +++ b/geometry_msgs/include/robot_geometry_msgs/AccelWithCovariance.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/AccelWithCovariance.msg +// Generated by gencpp from file robot_geometry_msgs/AccelWithCovariance.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H @@ -9,9 +9,9 @@ #include #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct AccelWithCovariance_ @@ -30,36 +30,36 @@ namespace geometry_msgs covariance.assign(0.0); } - typedef ::geometry_msgs::Accel_ _accel_type; + typedef ::robot_geometry_msgs::Accel_ _accel_type; _accel_type accel; typedef boost::array _covariance_type; _covariance_type covariance; - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovariance_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovariance_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance_ const> ConstPtr; }; // struct AccelWithCovariance_ - typedef ::geometry_msgs::AccelWithCovariance_> AccelWithCovariance; + typedef ::robot_geometry_msgs::AccelWithCovariance_> AccelWithCovariance; - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovariance> AccelWithCovariancePtr; - typedef boost::shared_ptr<::geometry_msgs::AccelWithCovariance const> AccelWithCovarianceConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance> AccelWithCovariancePtr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovariance const> AccelWithCovarianceConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::AccelWithCovariance_ &lhs, const ::geometry_msgs::AccelWithCovariance_ &rhs) + bool operator==(const ::robot_geometry_msgs::AccelWithCovariance_ &lhs, const ::robot_geometry_msgs::AccelWithCovariance_ &rhs) { return lhs.accel == rhs.accel && lhs.covariance == rhs.covariance; } template - bool operator!=(const ::geometry_msgs::AccelWithCovariance_ &lhs, const ::geometry_msgs::AccelWithCovariance_ &rhs) + bool operator!=(const ::robot_geometry_msgs::AccelWithCovariance_ &lhs, const ::robot_geometry_msgs::AccelWithCovariance_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCE_H diff --git a/geometry_msgs/include/robot_geometry_msgs/AccelWithCovarianceStamped.h b/geometry_msgs/include/robot_geometry_msgs/AccelWithCovarianceStamped.h new file mode 100644 index 0000000..bddf8d3 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/AccelWithCovarianceStamped.h @@ -0,0 +1,64 @@ +// Generated by gencpp from file robot_geometry_msgs/AccelWithCovarianceStamped.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCESTAMPED_H +#define GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCESTAMPED_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct AccelWithCovarianceStamped_ + { + typedef AccelWithCovarianceStamped_ Type; + + AccelWithCovarianceStamped_() + : header(), accel() + { + } + AccelWithCovarianceStamped_(const ContainerAllocator &_alloc) + : header(_alloc), accel(_alloc) + { + (void)_alloc; + } + + typedef ::std_msgs::Header_ _header_type; + _header_type header; + + typedef ::robot_geometry_msgs::AccelWithCovariance_ _accel_type; + _accel_type accel; + + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovarianceStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovarianceStamped_ const> ConstPtr; + + }; // struct AccelWithCovarianceStamped_ + + typedef ::robot_geometry_msgs::AccelWithCovarianceStamped_> AccelWithCovarianceStamped; + + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovarianceStamped> AccelWithCovarianceStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::AccelWithCovarianceStamped const> AccelWithCovarianceStampedConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::AccelWithCovarianceStamped_ &lhs, const ::robot_geometry_msgs::AccelWithCovarianceStamped_ &rhs) + { + return lhs.header == rhs.header && + lhs.accel == rhs.accel; + } + + template + bool operator!=(const ::robot_geometry_msgs::AccelWithCovarianceStamped_ &lhs, const ::robot_geometry_msgs::AccelWithCovarianceStamped_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs +#endif // GEOMETRY_MSGS_MESSAGE_ACCELWITHCOVARIANCESTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/Inertia.h b/geometry_msgs/include/robot_geometry_msgs/Inertia.h similarity index 61% rename from geometry_msgs/include/geometry_msgs/Inertia.h rename to geometry_msgs/include/robot_geometry_msgs/Inertia.h index 1f88f43..203e696 100644 --- a/geometry_msgs/include/geometry_msgs/Inertia.h +++ b/geometry_msgs/include/robot_geometry_msgs/Inertia.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Inertia.msg +// Generated by gencpp from file robot_geometry_msgs/Inertia.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_INERTIA_H @@ -9,9 +9,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Inertia_ @@ -31,7 +31,7 @@ namespace geometry_msgs typedef double _m_type; _m_type m; - typedef ::geometry_msgs::Vector3_ _com_type; + typedef ::robot_geometry_msgs::Vector3_ _com_type; _com_type com; typedef double _ixx_type; @@ -52,20 +52,20 @@ namespace geometry_msgs typedef double _izz_type; _izz_type izz; - typedef boost::shared_ptr<::geometry_msgs::Inertia_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Inertia_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Inertia_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Inertia_ const> ConstPtr; }; // struct Inertia_ - typedef ::geometry_msgs::Inertia_> Inertia; + typedef ::robot_geometry_msgs::Inertia_> Inertia; - typedef boost::shared_ptr<::geometry_msgs::Inertia> InertiaPtr; - typedef boost::shared_ptr<::geometry_msgs::Inertia const> InertiaConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Inertia> InertiaPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Inertia const> InertiaConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::Inertia_ &lhs, const ::geometry_msgs::Inertia_ &rhs) + bool operator==(const ::robot_geometry_msgs::Inertia_ &lhs, const ::robot_geometry_msgs::Inertia_ &rhs) { return lhs.m == rhs.m && lhs.com == rhs.com && @@ -78,11 +78,11 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::Inertia_ &lhs, const ::geometry_msgs::Inertia_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Inertia_ &lhs, const ::robot_geometry_msgs::Inertia_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_INERTIA_H diff --git a/geometry_msgs/include/geometry_msgs/InertiaStamped.h b/geometry_msgs/include/robot_geometry_msgs/InertiaStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/InertiaStamped.h rename to geometry_msgs/include/robot_geometry_msgs/InertiaStamped.h index 73866a5..c79dd78 100644 --- a/geometry_msgs/include/geometry_msgs/InertiaStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/InertiaStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/InertiaStamped.msg +// Generated by gencpp from file robot_geometry_msgs/InertiaStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_INERTIASTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct InertiaStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Inertia_ _inertia_type; + typedef ::robot_geometry_msgs::Inertia_ _inertia_type; _inertia_type inertia; - typedef boost::shared_ptr<::geometry_msgs::InertiaStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::InertiaStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::InertiaStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::InertiaStamped_ const> ConstPtr; }; // struct InertiaStamped_ - typedef ::geometry_msgs::InertiaStamped_> InertiaStamped; + typedef ::robot_geometry_msgs::InertiaStamped_> InertiaStamped; - typedef boost::shared_ptr<::geometry_msgs::InertiaStamped> InertiaStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::InertiaStamped const> InertiaStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::InertiaStamped> InertiaStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::InertiaStamped const> InertiaStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::InertiaStamped_ &lhs, const ::geometry_msgs::InertiaStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::InertiaStamped_ &lhs, const ::robot_geometry_msgs::InertiaStamped_ &rhs) { return lhs.header == rhs.header && lhs.inertia == rhs.inertia; } template - bool operator!=(const ::geometry_msgs::InertiaStamped_ &lhs, const ::geometry_msgs::InertiaStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::InertiaStamped_ &lhs, const ::robot_geometry_msgs::InertiaStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_INERTIASTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/Point.h b/geometry_msgs/include/robot_geometry_msgs/Point.h similarity index 54% rename from geometry_msgs/include/geometry_msgs/Point.h rename to geometry_msgs/include/robot_geometry_msgs/Point.h index 9434ecd..11cb28a 100644 --- a/geometry_msgs/include/geometry_msgs/Point.h +++ b/geometry_msgs/include/robot_geometry_msgs/Point.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Point.msg +// Generated by gencpp from file robot_geometry_msgs/Point.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_POINT_H @@ -9,7 +9,7 @@ #include #include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Point_ @@ -35,20 +35,20 @@ namespace geometry_msgs typedef double _z_type; _z_type z; - typedef boost::shared_ptr<::geometry_msgs::Point_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Point_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point_ const> ConstPtr; }; // struct Point_ - typedef ::geometry_msgs::Point_> Point; + typedef ::robot_geometry_msgs::Point_> Point; - typedef boost::shared_ptr<::geometry_msgs::Point> PointPtr; - typedef boost::shared_ptr<::geometry_msgs::Point const> PointConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point> PointPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point const> PointConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::Point_ &lhs, const ::geometry_msgs::Point_ &rhs) + bool operator==(const ::robot_geometry_msgs::Point_ &lhs, const ::robot_geometry_msgs::Point_ &rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && @@ -56,10 +56,10 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::Point_ &lhs, const ::geometry_msgs::Point_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Point_ &lhs, const ::robot_geometry_msgs::Point_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_POINT_H diff --git a/geometry_msgs/include/geometry_msgs/Point32.h b/geometry_msgs/include/robot_geometry_msgs/Point32.h similarity index 54% rename from geometry_msgs/include/geometry_msgs/Point32.h rename to geometry_msgs/include/robot_geometry_msgs/Point32.h index fc15ff8..66934b6 100644 --- a/geometry_msgs/include/geometry_msgs/Point32.h +++ b/geometry_msgs/include/robot_geometry_msgs/Point32.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Point32.msg +// Generated by gencpp from file robot_geometry_msgs/Point32.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_POINT32_H @@ -9,7 +9,7 @@ #include #include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Point32_ @@ -35,20 +35,20 @@ namespace geometry_msgs typedef float _z_type; _z_type z; - typedef boost::shared_ptr<::geometry_msgs::Point32_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Point32_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point32_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point32_ const> ConstPtr; }; // struct Point32_ - typedef ::geometry_msgs::Point32_> Point32; + typedef ::robot_geometry_msgs::Point32_> Point32; - typedef boost::shared_ptr<::geometry_msgs::Point32> Point32Ptr; - typedef boost::shared_ptr<::geometry_msgs::Point32 const> Point32ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point32> Point32Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Point32 const> Point32ConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::Point32_ &lhs, const ::geometry_msgs::Point32_ &rhs) + bool operator==(const ::robot_geometry_msgs::Point32_ &lhs, const ::robot_geometry_msgs::Point32_ &rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && @@ -56,11 +56,11 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::Point32_ &lhs, const ::geometry_msgs::Point32_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Point32_ &lhs, const ::robot_geometry_msgs::Point32_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_POINT32_H diff --git a/geometry_msgs/include/geometry_msgs/PointStamped.h b/geometry_msgs/include/robot_geometry_msgs/PointStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/PointStamped.h rename to geometry_msgs/include/robot_geometry_msgs/PointStamped.h index 920573b..8193915 100644 --- a/geometry_msgs/include/geometry_msgs/PointStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/PointStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/PointStamped.msg +// Generated by gencpp from file robot_geometry_msgs/PointStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_POINTSTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct PointStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Point_ _point_type; + typedef ::robot_geometry_msgs::Point_ _point_type; _point_type point; - typedef boost::shared_ptr<::geometry_msgs::PointStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::PointStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PointStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::PointStamped_ const> ConstPtr; }; // struct PointStamped_ - typedef ::geometry_msgs::PointStamped_> PointStamped; + typedef ::robot_geometry_msgs::PointStamped_> PointStamped; - typedef boost::shared_ptr<::geometry_msgs::PointStamped> PointStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::PointStamped const> PointStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PointStamped> PointStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PointStamped const> PointStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::PointStamped_ &lhs, const ::geometry_msgs::PointStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::PointStamped_ &lhs, const ::robot_geometry_msgs::PointStamped_ &rhs) { return lhs.header == rhs.header && lhs.point == rhs.point; } template - bool operator!=(const ::geometry_msgs::PointStamped_ &lhs, const ::geometry_msgs::PointStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::PointStamped_ &lhs, const ::robot_geometry_msgs::PointStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_POINTSTAMPED_H diff --git a/geometry_msgs/include/robot_geometry_msgs/Polygon.h b/geometry_msgs/include/robot_geometry_msgs/Polygon.h new file mode 100644 index 0000000..bd54578 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/Polygon.h @@ -0,0 +1,60 @@ +// Generated by gencpp from file robot_geometry_msgs/Polygon.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_POLYGON_H +#define GEOMETRY_MSGS_MESSAGE_POLYGON_H + +#include +#include +#include +#include + +#include + +namespace robot_geometry_msgs +{ + template + struct Polygon_ + { + typedef Polygon_ Type; + + Polygon_() + : points() + { + } + Polygon_(const ContainerAllocator &_alloc) + : points(_alloc) + { + (void)_alloc; + } + + typedef std::vector<::robot_geometry_msgs::Point32_, typename std::allocator_traits::template rebind_alloc<::robot_geometry_msgs::Point32_>> _points_type; + _points_type points; + + typedef boost::shared_ptr<::robot_geometry_msgs::Polygon_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Polygon_ const> ConstPtr; + + }; // struct Polygon_ + + typedef ::robot_geometry_msgs::Polygon_> Polygon; + + typedef boost::shared_ptr<::robot_geometry_msgs::Polygon> PolygonPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Polygon const> PolygonConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::Polygon_ &lhs, const ::robot_geometry_msgs::Polygon_ &rhs) + { + return lhs.points == rhs.points; + } + + template + bool operator!=(const ::robot_geometry_msgs::Polygon_ &lhs, const ::robot_geometry_msgs::Polygon_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs + +#endif // GEOMETRY_MSGS_MESSAGE_POLYGON_H diff --git a/geometry_msgs/include/geometry_msgs/PolygonStamped.h b/geometry_msgs/include/robot_geometry_msgs/PolygonStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/PolygonStamped.h rename to geometry_msgs/include/robot_geometry_msgs/PolygonStamped.h index 619ae3a..f54ff9b 100644 --- a/geometry_msgs/include/geometry_msgs/PolygonStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/PolygonStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/PolygonStamped.msg +// Generated by gencpp from file robot_geometry_msgs/PolygonStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_POLYGONSTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct PolygonStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Polygon_ _polygon_type; + typedef ::robot_geometry_msgs::Polygon_ _polygon_type; _polygon_type polygon; - typedef boost::shared_ptr<::geometry_msgs::PolygonStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::PolygonStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PolygonStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::PolygonStamped_ const> ConstPtr; }; // struct PolygonStamped_ - typedef ::geometry_msgs::PolygonStamped_> PolygonStamped; + typedef ::robot_geometry_msgs::PolygonStamped_> PolygonStamped; - typedef boost::shared_ptr<::geometry_msgs::PolygonStamped> PolygonStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::PolygonStamped const> PolygonStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PolygonStamped> PolygonStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PolygonStamped const> PolygonStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::PolygonStamped_ &lhs, const ::geometry_msgs::PolygonStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::PolygonStamped_ &lhs, const ::robot_geometry_msgs::PolygonStamped_ &rhs) { return lhs.header == rhs.header && lhs.polygon == rhs.polygon; } template - bool operator!=(const ::geometry_msgs::PolygonStamped_ &lhs, const ::geometry_msgs::PolygonStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::PolygonStamped_ &lhs, const ::robot_geometry_msgs::PolygonStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_POLYGONSTAMPED_H diff --git a/geometry_msgs/include/robot_geometry_msgs/Pose.h b/geometry_msgs/include/robot_geometry_msgs/Pose.h new file mode 100644 index 0000000..114685e --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/Pose.h @@ -0,0 +1,64 @@ +// Generated by gencpp from file robot_geometry_msgs/Pose.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_POSE_H +#define GEOMETRY_MSGS_MESSAGE_POSE_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct Pose_ + { + typedef Pose_ Type; + + Pose_() + : position(), orientation() + { + } + Pose_(const ContainerAllocator &_alloc) + : position(_alloc), orientation(_alloc) + { + (void)_alloc; + } + + typedef ::robot_geometry_msgs::Point_ _position_type; + _position_type position; + + typedef ::robot_geometry_msgs::Quaternion_ _orientation_type; + _orientation_type orientation; + + typedef boost::shared_ptr<::robot_geometry_msgs::Pose_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Pose_ const> ConstPtr; + + }; // struct Pose_ + + typedef ::robot_geometry_msgs::Pose_> Pose; + + typedef boost::shared_ptr<::robot_geometry_msgs::Pose> PosePtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Pose const> PoseConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::Pose_ &lhs, const ::robot_geometry_msgs::Pose_ &rhs) + { + return lhs.position == rhs.position && + lhs.orientation == rhs.orientation; + } + + template + bool operator!=(const ::robot_geometry_msgs::Pose_ &lhs, const ::robot_geometry_msgs::Pose_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs +#endif // GEOMETRY_MSGS_MESSAGE_POSE_H diff --git a/geometry_msgs/include/geometry_msgs/Pose2D.h b/geometry_msgs/include/robot_geometry_msgs/Pose2D.h similarity index 55% rename from geometry_msgs/include/geometry_msgs/Pose2D.h rename to geometry_msgs/include/robot_geometry_msgs/Pose2D.h index c18877f..4f8de7f 100644 --- a/geometry_msgs/include/geometry_msgs/Pose2D.h +++ b/geometry_msgs/include/robot_geometry_msgs/Pose2D.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Pose2D.msg +// Generated by gencpp from file robot_geometry_msgs/Pose2D.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_POSE2D_H @@ -9,7 +9,7 @@ #include #include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Pose2D_ @@ -35,20 +35,20 @@ namespace geometry_msgs typedef double _theta_type; _theta_type theta; - typedef boost::shared_ptr<::geometry_msgs::Pose2D_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Pose2D_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Pose2D_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Pose2D_ const> ConstPtr; }; // struct Pose2D_ - typedef ::geometry_msgs::Pose2D_> Pose2D; + typedef ::robot_geometry_msgs::Pose2D_> Pose2D; - typedef boost::shared_ptr<::geometry_msgs::Pose2D> Pose2DPtr; - typedef boost::shared_ptr<::geometry_msgs::Pose2D const> Pose2DConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Pose2D> Pose2DPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Pose2D const> Pose2DConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::Pose2D_ &lhs, const ::geometry_msgs::Pose2D_ &rhs) + bool operator==(const ::robot_geometry_msgs::Pose2D_ &lhs, const ::robot_geometry_msgs::Pose2D_ &rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && @@ -56,11 +56,11 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::Pose2D_ &lhs, const ::geometry_msgs::Pose2D_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Pose2D_ &lhs, const ::robot_geometry_msgs::Pose2D_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_POSE2D_H diff --git a/geometry_msgs/include/robot_geometry_msgs/PoseArray.h b/geometry_msgs/include/robot_geometry_msgs/PoseArray.h new file mode 100644 index 0000000..b031368 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/PoseArray.h @@ -0,0 +1,65 @@ +// Generated by gencpp from file robot_geometry_msgs/PoseArray.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_POSEARRAY_H +#define GEOMETRY_MSGS_MESSAGE_POSEARRAY_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct PoseArray_ + { + typedef PoseArray_ Type; + + PoseArray_() + : header(), poses() + { + } + PoseArray_(const ContainerAllocator &_alloc) + : header(_alloc), poses(_alloc) + { + (void)_alloc; + } + + typedef ::std_msgs::Header_ _header_type; + _header_type header; + + typedef std::vector<::robot_geometry_msgs::Pose_, typename std::allocator_traits::template rebind_alloc<::robot_geometry_msgs::Pose_>> _poses_type; + _poses_type poses; + + typedef boost::shared_ptr<::robot_geometry_msgs::PoseArray_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseArray_ const> ConstPtr; + + }; // struct PoseArray_ + + typedef ::robot_geometry_msgs::PoseArray_> PoseArray; + + typedef boost::shared_ptr<::robot_geometry_msgs::PoseArray> PoseArrayPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseArray const> PoseArrayConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::PoseArray_ &lhs, const ::robot_geometry_msgs::PoseArray_ &rhs) + { + return lhs.header == rhs.header && + lhs.poses == rhs.poses; + } + + template + bool operator!=(const ::robot_geometry_msgs::PoseArray_ &lhs, const ::robot_geometry_msgs::PoseArray_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs + +#endif // GEOMETRY_MSGS_MESSAGE_POSEARRAY_H diff --git a/geometry_msgs/include/geometry_msgs/PoseStamped.h b/geometry_msgs/include/robot_geometry_msgs/PoseStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/PoseStamped.h rename to geometry_msgs/include/robot_geometry_msgs/PoseStamped.h index 48cc418..f59358a 100644 --- a/geometry_msgs/include/geometry_msgs/PoseStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/PoseStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/PoseStamped.msg +// Generated by gencpp from file robot_geometry_msgs/PoseStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_POSESTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct PoseStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Pose_ _pose_type; + typedef ::robot_geometry_msgs::Pose_ _pose_type; _pose_type pose; - typedef boost::shared_ptr<::geometry_msgs::PoseStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::PoseStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseStamped_ const> ConstPtr; }; // struct PoseStamped_ - typedef ::geometry_msgs::PoseStamped_> PoseStamped; + typedef ::robot_geometry_msgs::PoseStamped_> PoseStamped; - typedef boost::shared_ptr<::geometry_msgs::PoseStamped> PoseStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::PoseStamped const> PoseStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseStamped> PoseStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseStamped const> PoseStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::PoseStamped_ &lhs, const ::geometry_msgs::PoseStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::PoseStamped_ &lhs, const ::robot_geometry_msgs::PoseStamped_ &rhs) { return lhs.header == rhs.header && lhs.pose == rhs.pose; } template - bool operator!=(const ::geometry_msgs::PoseStamped_ &lhs, const ::geometry_msgs::PoseStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::PoseStamped_ &lhs, const ::robot_geometry_msgs::PoseStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_POSESTAMPED_H diff --git a/geometry_msgs/include/robot_geometry_msgs/PoseWithCovariance.h b/geometry_msgs/include/robot_geometry_msgs/PoseWithCovariance.h new file mode 100644 index 0000000..0f1aa97 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/PoseWithCovariance.h @@ -0,0 +1,63 @@ +// Generated by gencpp from file robot_geometry_msgs/PoseWithCovariance.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H +#define GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H + +#include +#include +#include +#include +#include +#include + +namespace robot_geometry_msgs +{ + template + struct PoseWithCovariance_ + { + typedef PoseWithCovariance_ Type; + + PoseWithCovariance_() + : pose(), covariance() + { + covariance.assign(0.0); + } + PoseWithCovariance_(const ContainerAllocator &_alloc) + : pose(_alloc), covariance() + { + (void)_alloc; + covariance.assign(0.0); + } + + typedef ::robot_geometry_msgs::Pose_ _pose_type; + _pose_type pose; + + typedef boost::array _covariance_type; + _covariance_type covariance; + + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovariance_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovariance_ const> ConstPtr; + + }; // struct PoseWithCovariance_ + + typedef ::robot_geometry_msgs::PoseWithCovariance_> PoseWithCovariance; + + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovariance> PoseWithCovariancePtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovariance const> PoseWithCovarianceConstPtr; + + template + bool operator==(const ::robot_geometry_msgs::PoseWithCovariance_ &lhs, const ::robot_geometry_msgs::PoseWithCovariance_ &rhs) + { + return lhs.pose == rhs.pose && + lhs.covariance == rhs.covariance; + } + + template + bool operator!=(const ::robot_geometry_msgs::PoseWithCovariance_ &lhs, const ::robot_geometry_msgs::PoseWithCovariance_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs +#endif // GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCE_H \ No newline at end of file diff --git a/geometry_msgs/include/robot_geometry_msgs/PoseWithCovarianceStamped.h b/geometry_msgs/include/robot_geometry_msgs/PoseWithCovarianceStamped.h new file mode 100644 index 0000000..d3cad3b --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/PoseWithCovarianceStamped.h @@ -0,0 +1,62 @@ +// Generated by gencpp from file robot_geometry_msgs/PoseWithCovarianceStamped.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPED_H +#define GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPED_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct PoseWithCovarianceStamped_ + { + typedef PoseWithCovarianceStamped_ Type; + + PoseWithCovarianceStamped_() + : header(), pose() + { + } + PoseWithCovarianceStamped_(const ContainerAllocator &_alloc) + : header(_alloc), pose(_alloc) + { + (void)_alloc; + } + + typedef ::std_msgs::Header_ _header_type; + _header_type header; + + typedef ::robot_geometry_msgs::PoseWithCovariance_ _pose_type; + _pose_type pose; + + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovarianceStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovarianceStamped_ const> ConstPtr; + + }; // struct PoseWithCovarianceStamped_ + + typedef ::robot_geometry_msgs::PoseWithCovarianceStamped_> PoseWithCovarianceStamped; + + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovarianceStamped> PoseWithCovarianceStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::PoseWithCovarianceStamped const> PoseWithCovarianceStampedConstPtr; + + template + bool operator==(const ::robot_geometry_msgs::PoseWithCovarianceStamped_ &lhs, const ::robot_geometry_msgs::PoseWithCovarianceStamped_ &rhs) + { + return lhs.header == rhs.header && + lhs.pose == rhs.pose; + } + + template + bool operator!=(const ::robot_geometry_msgs::PoseWithCovarianceStamped_ &lhs, const ::robot_geometry_msgs::PoseWithCovarianceStamped_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs +#endif // GEOMETRY_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPED_H \ No newline at end of file diff --git a/geometry_msgs/include/geometry_msgs/Quaternion.h b/geometry_msgs/include/robot_geometry_msgs/Quaternion.h similarity index 55% rename from geometry_msgs/include/geometry_msgs/Quaternion.h rename to geometry_msgs/include/robot_geometry_msgs/Quaternion.h index 137baf7..305a48c 100644 --- a/geometry_msgs/include/geometry_msgs/Quaternion.h +++ b/geometry_msgs/include/robot_geometry_msgs/Quaternion.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Quaternion.msg +// Generated by gencpp from file robot_geometry_msgs/Quaternion.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_QUATERNION_H @@ -9,7 +9,7 @@ #include #include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Quaternion_ @@ -38,20 +38,20 @@ namespace geometry_msgs typedef double _w_type; _w_type w; - typedef boost::shared_ptr<::geometry_msgs::Quaternion_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Quaternion_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion_ const> ConstPtr; }; // struct Quaternion_ - typedef ::geometry_msgs::Quaternion_> Quaternion; + typedef ::robot_geometry_msgs::Quaternion_> Quaternion; - typedef boost::shared_ptr<::geometry_msgs::Quaternion> QuaternionPtr; - typedef boost::shared_ptr<::geometry_msgs::Quaternion const> QuaternionConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion> QuaternionPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Quaternion const> QuaternionConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::Quaternion_ &lhs, const ::geometry_msgs::Quaternion_ &rhs) + bool operator==(const ::robot_geometry_msgs::Quaternion_ &lhs, const ::robot_geometry_msgs::Quaternion_ &rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && @@ -60,10 +60,10 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::Quaternion_ &lhs, const ::geometry_msgs::Quaternion_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Quaternion_ &lhs, const ::robot_geometry_msgs::Quaternion_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_QUATERNION_H diff --git a/geometry_msgs/include/geometry_msgs/QuaternionStamped.h b/geometry_msgs/include/robot_geometry_msgs/QuaternionStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/QuaternionStamped.h rename to geometry_msgs/include/robot_geometry_msgs/QuaternionStamped.h index c6d3fdb..adfa6b2 100644 --- a/geometry_msgs/include/geometry_msgs/QuaternionStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/QuaternionStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/QuaternionStamped.msg +// Generated by gencpp from file robot_geometry_msgs/QuaternionStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_QUATERNIONSTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct QuaternionStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Quaternion_ _quaternion_type; + typedef ::robot_geometry_msgs::Quaternion_ _quaternion_type; _quaternion_type quaternion; - typedef boost::shared_ptr<::geometry_msgs::QuaternionStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::QuaternionStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::QuaternionStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::QuaternionStamped_ const> ConstPtr; }; // struct QuaternionStamped_ - typedef ::geometry_msgs::QuaternionStamped_> QuaternionStamped; + typedef ::robot_geometry_msgs::QuaternionStamped_> QuaternionStamped; - typedef boost::shared_ptr<::geometry_msgs::QuaternionStamped> QuaternionStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::QuaternionStamped const> QuaternionStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::QuaternionStamped> QuaternionStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::QuaternionStamped const> QuaternionStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::QuaternionStamped_ &lhs, const ::geometry_msgs::QuaternionStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::QuaternionStamped_ &lhs, const ::robot_geometry_msgs::QuaternionStamped_ &rhs) { return lhs.header == rhs.header && lhs.quaternion == rhs.quaternion; } template - bool operator!=(const ::geometry_msgs::QuaternionStamped_ &lhs, const ::geometry_msgs::QuaternionStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::QuaternionStamped_ &lhs, const ::robot_geometry_msgs::QuaternionStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_QUATERNIONSTAMPED_H diff --git a/geometry_msgs/include/robot_geometry_msgs/Transform.h b/geometry_msgs/include/robot_geometry_msgs/Transform.h new file mode 100644 index 0000000..f2a7012 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/Transform.h @@ -0,0 +1,65 @@ +// Generated by gencpp from file robot_geometry_msgs/Transform.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_TRANSFORM_H +#define GEOMETRY_MSGS_MESSAGE_TRANSFORM_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct Transform_ + { + typedef Transform_ Type; + + Transform_() + : translation(), rotation() + { + } + Transform_(const ContainerAllocator &_alloc) + : translation(_alloc), rotation(_alloc) + { + (void)_alloc; + } + + typedef ::robot_geometry_msgs::Vector3_ _translation_type; + _translation_type translation; + + typedef ::robot_geometry_msgs::Quaternion_ _rotation_type; + _rotation_type rotation; + + typedef boost::shared_ptr<::robot_geometry_msgs::Transform_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Transform_ const> ConstPtr; + + }; // struct Transform_ + + typedef ::robot_geometry_msgs::Transform_> Transform; + + typedef boost::shared_ptr<::robot_geometry_msgs::Transform> TransformPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Transform const> TransformConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::Transform_ &lhs, const ::robot_geometry_msgs::Transform_ &rhs) + { + return lhs.translation == rhs.translation && + lhs.rotation == rhs.rotation; + } + + template + bool operator!=(const ::robot_geometry_msgs::Transform_ &lhs, const ::robot_geometry_msgs::Transform_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs + +#endif // GEOMETRY_MSGS_MESSAGE_TRANSFORM_H diff --git a/geometry_msgs/include/geometry_msgs/TransformStamped.h b/geometry_msgs/include/robot_geometry_msgs/TransformStamped.h similarity index 56% rename from geometry_msgs/include/geometry_msgs/TransformStamped.h rename to geometry_msgs/include/robot_geometry_msgs/TransformStamped.h index 9f2c908..5fb21c1 100644 --- a/geometry_msgs/include/geometry_msgs/TransformStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/TransformStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/TransformStamped.msg +// Generated by gencpp from file robot_geometry_msgs/TransformStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_TRANSFORMSTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct TransformStamped_ @@ -35,23 +35,23 @@ namespace geometry_msgs typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _child_frame_id_type; _child_frame_id_type child_frame_id; - typedef ::geometry_msgs::Transform_ _transform_type; + typedef ::robot_geometry_msgs::Transform_ _transform_type; _transform_type transform; - typedef boost::shared_ptr<::geometry_msgs::TransformStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::TransformStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TransformStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::TransformStamped_ const> ConstPtr; }; // struct TransformStamped_ - typedef ::geometry_msgs::TransformStamped_> TransformStamped; + typedef ::robot_geometry_msgs::TransformStamped_> TransformStamped; - typedef boost::shared_ptr<::geometry_msgs::TransformStamped> TransformStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::TransformStamped const> TransformStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TransformStamped> TransformStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TransformStamped const> TransformStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::TransformStamped_ &lhs, const ::geometry_msgs::TransformStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::TransformStamped_ &lhs, const ::robot_geometry_msgs::TransformStamped_ &rhs) { return lhs.header == rhs.header && lhs.child_frame_id == rhs.child_frame_id && @@ -59,11 +59,11 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::TransformStamped_ &lhs, const ::geometry_msgs::TransformStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::TransformStamped_ &lhs, const ::robot_geometry_msgs::TransformStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_TRANSFORMSTAMPED_H diff --git a/geometry_msgs/include/robot_geometry_msgs/Twist.h b/geometry_msgs/include/robot_geometry_msgs/Twist.h new file mode 100644 index 0000000..425dcd7 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/Twist.h @@ -0,0 +1,65 @@ +// Generated by gencpp from file robot_geometry_msgs/Twist.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_TWIST_H +#define GEOMETRY_MSGS_MESSAGE_TWIST_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct Twist_ + { + typedef Twist_ Type; + + Twist_() + : linear(), angular() + { + } + Twist_(const ContainerAllocator &_alloc) + : linear(_alloc), angular(_alloc) + { + (void)_alloc; + } + + typedef ::robot_geometry_msgs::Vector3_ _linear_type; + _linear_type linear; + + typedef ::robot_geometry_msgs::Vector3_ _angular_type; + _angular_type angular; + + typedef boost::shared_ptr<::robot_geometry_msgs::Twist_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Twist_ const> ConstPtr; + + }; // struct Twist_ + + typedef ::robot_geometry_msgs::Twist_> Twist; + + typedef boost::shared_ptr<::robot_geometry_msgs::Twist> TwistPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Twist const> TwistConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::Twist_ &lhs, const ::robot_geometry_msgs::Twist_ &rhs) + { + return lhs.linear == rhs.linear && + lhs.angular == rhs.angular; + } + + template + bool operator!=(const ::robot_geometry_msgs::Twist_ &lhs, const ::robot_geometry_msgs::Twist_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs + +#endif // GEOMETRY_MSGS_MESSAGE_TWIST_H diff --git a/geometry_msgs/include/geometry_msgs/TwistStamped.h b/geometry_msgs/include/robot_geometry_msgs/TwistStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/TwistStamped.h rename to geometry_msgs/include/robot_geometry_msgs/TwistStamped.h index 21bb278..a77ed91 100644 --- a/geometry_msgs/include/geometry_msgs/TwistStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/TwistStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/TwistStamped.msg +// Generated by gencpp from file robot_geometry_msgs/TwistStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_TWISTSTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct TwistStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Twist_ _twist_type; + typedef ::robot_geometry_msgs::Twist_ _twist_type; _twist_type twist; - typedef boost::shared_ptr<::geometry_msgs::TwistStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::TwistStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistStamped_ const> ConstPtr; }; // struct TwistStamped_ - typedef ::geometry_msgs::TwistStamped_> TwistStamped; + typedef ::robot_geometry_msgs::TwistStamped_> TwistStamped; - typedef boost::shared_ptr<::geometry_msgs::TwistStamped> TwistStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::TwistStamped const> TwistStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistStamped> TwistStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistStamped const> TwistStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::TwistStamped_ &lhs, const ::geometry_msgs::TwistStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::TwistStamped_ &lhs, const ::robot_geometry_msgs::TwistStamped_ &rhs) { return lhs.header == rhs.header && lhs.twist == rhs.twist; } template - bool operator!=(const ::geometry_msgs::TwistStamped_ &lhs, const ::geometry_msgs::TwistStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::TwistStamped_ &lhs, const ::robot_geometry_msgs::TwistStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_TWISTSTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/TwistWithCovariance.h b/geometry_msgs/include/robot_geometry_msgs/TwistWithCovariance.h similarity index 51% rename from geometry_msgs/include/geometry_msgs/TwistWithCovariance.h rename to geometry_msgs/include/robot_geometry_msgs/TwistWithCovariance.h index 823679b..e069020 100644 --- a/geometry_msgs/include/geometry_msgs/TwistWithCovariance.h +++ b/geometry_msgs/include/robot_geometry_msgs/TwistWithCovariance.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/TwistWithCovariance.msg +// Generated by gencpp from file robot_geometry_msgs/TwistWithCovariance.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCE_H @@ -9,9 +9,9 @@ #include #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct TwistWithCovariance_ @@ -30,37 +30,37 @@ namespace geometry_msgs covariance.assign(0.0); } - typedef ::geometry_msgs::Twist_ _twist_type; + typedef ::robot_geometry_msgs::Twist_ _twist_type; _twist_type twist; typedef boost::array _covariance_type; _covariance_type covariance; - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovariance_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovariance_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovariance_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovariance_ const> ConstPtr; }; // struct TwistWithCovariance_ - typedef ::geometry_msgs::TwistWithCovariance_> TwistWithCovariance; + typedef ::robot_geometry_msgs::TwistWithCovariance_> TwistWithCovariance; - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovariance> TwistWithCovariancePtr; - typedef boost::shared_ptr<::geometry_msgs::TwistWithCovariance const> TwistWithCovarianceConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovariance> TwistWithCovariancePtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovariance const> TwistWithCovarianceConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::TwistWithCovariance_ &lhs, const ::geometry_msgs::TwistWithCovariance_ &rhs) + bool operator==(const ::robot_geometry_msgs::TwistWithCovariance_ &lhs, const ::robot_geometry_msgs::TwistWithCovariance_ &rhs) { return lhs.twist == rhs.twist && lhs.covariance == rhs.covariance; } template - bool operator!=(const ::geometry_msgs::TwistWithCovariance_ &lhs, const ::geometry_msgs::TwistWithCovariance_ &rhs) + bool operator!=(const ::robot_geometry_msgs::TwistWithCovariance_ &lhs, const ::robot_geometry_msgs::TwistWithCovariance_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCE_H diff --git a/geometry_msgs/include/robot_geometry_msgs/TwistWithCovarianceStamped.h b/geometry_msgs/include/robot_geometry_msgs/TwistWithCovarianceStamped.h new file mode 100644 index 0000000..d3bc7bc --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/TwistWithCovarianceStamped.h @@ -0,0 +1,65 @@ +// Generated by gencpp from file robot_geometry_msgs/TwistWithCovarianceStamped.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCESTAMPED_H +#define GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCESTAMPED_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct TwistWithCovarianceStamped_ + { + typedef TwistWithCovarianceStamped_ Type; + + TwistWithCovarianceStamped_() + : header(), twist() + { + } + TwistWithCovarianceStamped_(const ContainerAllocator &_alloc) + : header(_alloc), twist(_alloc) + { + (void)_alloc; + } + + typedef ::std_msgs::Header_ _header_type; + _header_type header; + + typedef ::robot_geometry_msgs::TwistWithCovariance_ _twist_type; + _twist_type twist; + + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovarianceStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovarianceStamped_ const> ConstPtr; + + }; // struct TwistWithCovarianceStamped_ + + typedef ::robot_geometry_msgs::TwistWithCovarianceStamped_> TwistWithCovarianceStamped; + + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovarianceStamped> TwistWithCovarianceStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::TwistWithCovarianceStamped const> TwistWithCovarianceStampedConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::TwistWithCovarianceStamped_ &lhs, const ::robot_geometry_msgs::TwistWithCovarianceStamped_ &rhs) + { + return lhs.header == rhs.header && + lhs.twist == rhs.twist; + } + + template + bool operator!=(const ::robot_geometry_msgs::TwistWithCovarianceStamped_ &lhs, const ::robot_geometry_msgs::TwistWithCovarianceStamped_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs + +#endif // GEOMETRY_MSGS_MESSAGE_TWISTWITHCOVARIANCESTAMPED_H diff --git a/geometry_msgs/include/geometry_msgs/Vector3.h b/geometry_msgs/include/robot_geometry_msgs/Vector3.h similarity index 52% rename from geometry_msgs/include/geometry_msgs/Vector3.h rename to geometry_msgs/include/robot_geometry_msgs/Vector3.h index 7e46b3d..17d5027 100644 --- a/geometry_msgs/include/geometry_msgs/Vector3.h +++ b/geometry_msgs/include/robot_geometry_msgs/Vector3.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Vector3.msg +// Generated by gencpp from file robot_geometry_msgs/Vector3.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_VECTOR3_H @@ -9,7 +9,7 @@ #include #include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Vector3_ @@ -35,18 +35,18 @@ namespace geometry_msgs typedef double _z_type; _z_type z; - typedef boost::shared_ptr<::geometry_msgs::Vector3_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Vector3_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3_ const> ConstPtr; }; // struct Vector3_ - typedef ::geometry_msgs::Vector3_> Vector3; + typedef ::robot_geometry_msgs::Vector3_> Vector3; - typedef boost::shared_ptr<::geometry_msgs::Vector3> Vector3Ptr; - typedef boost::shared_ptr<::geometry_msgs::Vector3 const> Vector3ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3> Vector3Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3 const> Vector3ConstPtr; template - bool operator==(const ::geometry_msgs::Vector3_ &lhs, const ::geometry_msgs::Vector3_ &rhs) + bool operator==(const ::robot_geometry_msgs::Vector3_ &lhs, const ::robot_geometry_msgs::Vector3_ &rhs) { return lhs.x == rhs.x && lhs.y == rhs.y && @@ -54,10 +54,10 @@ namespace geometry_msgs } template - bool operator!=(const ::geometry_msgs::Vector3_ &lhs, const ::geometry_msgs::Vector3_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Vector3_ &lhs, const ::robot_geometry_msgs::Vector3_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_VECTOR3_H diff --git a/geometry_msgs/include/geometry_msgs/Vector3Stamped.h b/geometry_msgs/include/robot_geometry_msgs/Vector3Stamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/Vector3Stamped.h rename to geometry_msgs/include/robot_geometry_msgs/Vector3Stamped.h index 8bc3130..67284e9 100644 --- a/geometry_msgs/include/geometry_msgs/Vector3Stamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/Vector3Stamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/Vector3Stamped.msg +// Generated by gencpp from file robot_geometry_msgs/Vector3Stamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_VECTOR3STAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct Vector3Stamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Vector3_ _vector_type; + typedef ::robot_geometry_msgs::Vector3_ _vector_type; _vector_type vector; - typedef boost::shared_ptr<::geometry_msgs::Vector3Stamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::Vector3Stamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3Stamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3Stamped_ const> ConstPtr; }; // struct Vector3Stamped_ - typedef ::geometry_msgs::Vector3Stamped_> Vector3Stamped; + typedef ::robot_geometry_msgs::Vector3Stamped_> Vector3Stamped; - typedef boost::shared_ptr<::geometry_msgs::Vector3Stamped> Vector3StampedPtr; - typedef boost::shared_ptr<::geometry_msgs::Vector3Stamped const> Vector3StampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3Stamped> Vector3StampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Vector3Stamped const> Vector3StampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::Vector3Stamped_ &lhs, const ::geometry_msgs::Vector3Stamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::Vector3Stamped_ &lhs, const ::robot_geometry_msgs::Vector3Stamped_ &rhs) { return lhs.header == rhs.header && lhs.vector == rhs.vector; } template - bool operator!=(const ::geometry_msgs::Vector3Stamped_ &lhs, const ::geometry_msgs::Vector3Stamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::Vector3Stamped_ &lhs, const ::robot_geometry_msgs::Vector3Stamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_VECTOR3STAMPED_H diff --git a/geometry_msgs/include/robot_geometry_msgs/Wrench.h b/geometry_msgs/include/robot_geometry_msgs/Wrench.h new file mode 100644 index 0000000..4260d54 --- /dev/null +++ b/geometry_msgs/include/robot_geometry_msgs/Wrench.h @@ -0,0 +1,65 @@ +// Generated by gencpp from file robot_geometry_msgs/Wrench.msg +// DO NOT EDIT! + +#ifndef GEOMETRY_MSGS_MESSAGE_WRENCH_H +#define GEOMETRY_MSGS_MESSAGE_WRENCH_H + +#include +#include +#include +#include + +#include +#include + +namespace robot_geometry_msgs +{ + template + struct Wrench_ + { + typedef Wrench_ Type; + + Wrench_() + : force(), torque() + { + } + Wrench_(const ContainerAllocator &_alloc) + : force(_alloc), torque(_alloc) + { + (void)_alloc; + } + + typedef ::robot_geometry_msgs::Vector3_ _force_type; + _force_type force; + + typedef ::robot_geometry_msgs::Vector3_ _torque_type; + _torque_type torque; + + typedef boost::shared_ptr<::robot_geometry_msgs::Wrench_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::Wrench_ const> ConstPtr; + + }; // struct Wrench_ + + typedef ::robot_geometry_msgs::Wrench_> Wrench; + + typedef boost::shared_ptr<::robot_geometry_msgs::Wrench> WrenchPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::Wrench const> WrenchConstPtr; + + // constants requiring out of line definition + + template + bool operator==(const ::robot_geometry_msgs::Wrench_ &lhs, const ::robot_geometry_msgs::Wrench_ &rhs) + { + return lhs.force == rhs.force && + lhs.torque == rhs.torque; + } + + template + bool operator!=(const ::robot_geometry_msgs::Wrench_ &lhs, const ::robot_geometry_msgs::Wrench_ &rhs) + { + return !(lhs == rhs); + } + +} // namespace robot_geometry_msgs + +#endif // GEOMETRY_MSGS_MESSAGE_WRENCH_H diff --git a/geometry_msgs/include/geometry_msgs/WrenchStamped.h b/geometry_msgs/include/robot_geometry_msgs/WrenchStamped.h similarity index 50% rename from geometry_msgs/include/geometry_msgs/WrenchStamped.h rename to geometry_msgs/include/robot_geometry_msgs/WrenchStamped.h index b4718c0..3b740ad 100644 --- a/geometry_msgs/include/geometry_msgs/WrenchStamped.h +++ b/geometry_msgs/include/robot_geometry_msgs/WrenchStamped.h @@ -1,4 +1,4 @@ -// Generated by gencpp from file geometry_msgs/WrenchStamped.msg +// Generated by gencpp from file robot_geometry_msgs/WrenchStamped.msg // DO NOT EDIT! #ifndef GEOMETRY_MSGS_MESSAGE_WRENCHSTAMPED_H @@ -10,9 +10,9 @@ #include #include -#include +#include -namespace geometry_msgs +namespace robot_geometry_msgs { template struct WrenchStamped_ @@ -32,34 +32,34 @@ namespace geometry_msgs typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Wrench_ _wrench_type; + typedef ::robot_geometry_msgs::Wrench_ _wrench_type; _wrench_type wrench; - typedef boost::shared_ptr<::geometry_msgs::WrenchStamped_> Ptr; - typedef boost::shared_ptr<::geometry_msgs::WrenchStamped_ const> ConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::WrenchStamped_> Ptr; + typedef boost::shared_ptr<::robot_geometry_msgs::WrenchStamped_ const> ConstPtr; }; // struct WrenchStamped_ - typedef ::geometry_msgs::WrenchStamped_> WrenchStamped; + typedef ::robot_geometry_msgs::WrenchStamped_> WrenchStamped; - typedef boost::shared_ptr<::geometry_msgs::WrenchStamped> WrenchStampedPtr; - typedef boost::shared_ptr<::geometry_msgs::WrenchStamped const> WrenchStampedConstPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::WrenchStamped> WrenchStampedPtr; + typedef boost::shared_ptr<::robot_geometry_msgs::WrenchStamped const> WrenchStampedConstPtr; // constants requiring out of line definition template - bool operator==(const ::geometry_msgs::WrenchStamped_ &lhs, const ::geometry_msgs::WrenchStamped_ &rhs) + bool operator==(const ::robot_geometry_msgs::WrenchStamped_ &lhs, const ::robot_geometry_msgs::WrenchStamped_ &rhs) { return lhs.header == rhs.header && lhs.wrench == rhs.wrench; } template - bool operator!=(const ::geometry_msgs::WrenchStamped_ &lhs, const ::geometry_msgs::WrenchStamped_ &rhs) + bool operator!=(const ::robot_geometry_msgs::WrenchStamped_ &lhs, const ::robot_geometry_msgs::WrenchStamped_ &rhs) { return !(lhs == rhs); } -} // namespace geometry_msgs +} // namespace robot_geometry_msgs #endif // GEOMETRY_MSGS_MESSAGE_WRENCHSTAMPED_H diff --git a/geometry_msgs/package.xml b/geometry_msgs/package.xml new file mode 100644 index 0000000..c8471ab --- /dev/null +++ b/geometry_msgs/package.xml @@ -0,0 +1,26 @@ + + robot_geometry_msgs + 0.7.10 + + robot_geometry_msgs is the second generation of the transform library, which lets + the user keep track of multiple coordinate frames over time. robot_geometry_msgs + maintains the relationship between coordinate frames in a tree + structure buffered in time, and lets the user transform points, + vectors, etc between any two coordinate frames at any desired + point in time. + + Tully Foote + Eitan Marder-Eppstein + Wim Meeussen + Tully Foote + BSD + + http://www.ros.org/wiki/robot_geometry_msgs + + catkin + + libconsole-bridge-dev + + libconsole-bridge-dev + + \ No newline at end of file diff --git a/geometry_msgs/test/main.cpp b/geometry_msgs/test/main.cpp index 2b72fe7..56965a2 100644 --- a/geometry_msgs/test/main.cpp +++ b/geometry_msgs/test/main.cpp @@ -1,9 +1,9 @@ -#include "geometry_msgs/PolygonStamped.h" +#include "robot_geometry_msgs/PolygonStamped.h" #include int main() { - geometry_msgs::PolygonStamped poly_stamped; + robot_geometry_msgs::PolygonStamped poly_stamped; poly_stamped.header.seq = 1; poly_stamped.header.stamp.sec = 1625079042; diff --git a/nav_msgs/include/nav_msgs/GetPlanRequest.h b/nav_msgs/include/nav_msgs/GetPlanRequest.h index c2bf6a5..1e2e24f 100644 --- a/nav_msgs/include/nav_msgs/GetPlanRequest.h +++ b/nav_msgs/include/nav_msgs/GetPlanRequest.h @@ -11,7 +11,7 @@ #include #include -#include +#include namespace nav_msgs { @@ -34,10 +34,10 @@ struct GetPlanRequest_ - typedef ::geometry_msgs::PoseStamped _start_type; + typedef ::robot_geometry_msgs::PoseStamped _start_type; _start_type start; - typedef ::geometry_msgs::PoseStamped _goal_type; + typedef ::robot_geometry_msgs::PoseStamped _goal_type; _goal_type goal; typedef float _tolerance_type; diff --git a/nav_msgs/include/nav_msgs/GridCells.h b/nav_msgs/include/nav_msgs/GridCells.h index afe3ec1..aa2f78a 100644 --- a/nav_msgs/include/nav_msgs/GridCells.h +++ b/nav_msgs/include/nav_msgs/GridCells.h @@ -12,7 +12,7 @@ #include #include -#include +#include namespace nav_msgs { @@ -46,7 +46,7 @@ struct GridCells_ typedef float _cell_height_type; _cell_height_type cell_height; - typedef std::vector< ::geometry_msgs::Point , typename std::allocator_traits::template rebind_alloc< ::geometry_msgs::Point >> _cells_type; + typedef std::vector< ::robot_geometry_msgs::Point , typename std::allocator_traits::template rebind_alloc< ::robot_geometry_msgs::Point >> _cells_type; _cells_type cells; diff --git a/nav_msgs/include/nav_msgs/MapMetaData.h b/nav_msgs/include/nav_msgs/MapMetaData.h index 37e5ddc..70e2b28 100644 --- a/nav_msgs/include/nav_msgs/MapMetaData.h +++ b/nav_msgs/include/nav_msgs/MapMetaData.h @@ -12,7 +12,7 @@ #include #include -#include +#include namespace nav_msgs { @@ -51,7 +51,7 @@ struct MapMetaData_ typedef uint32_t _height_type; _height_type height; - typedef ::geometry_msgs::Pose _origin_type; + typedef ::robot_geometry_msgs::Pose _origin_type; _origin_type origin; diff --git a/nav_msgs/include/nav_msgs/Odometry.h b/nav_msgs/include/nav_msgs/Odometry.h index dcca099..6adc04c 100644 --- a/nav_msgs/include/nav_msgs/Odometry.h +++ b/nav_msgs/include/nav_msgs/Odometry.h @@ -12,8 +12,8 @@ #include #include -#include -#include +#include +#include namespace nav_msgs { @@ -44,10 +44,10 @@ struct Odometry_ typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _child_frame_id_type; _child_frame_id_type child_frame_id; - typedef ::geometry_msgs::PoseWithCovariance _pose_type; + typedef ::robot_geometry_msgs::PoseWithCovariance _pose_type; _pose_type pose; - typedef ::geometry_msgs::TwistWithCovariance _twist_type; + typedef ::robot_geometry_msgs::TwistWithCovariance _twist_type; _twist_type twist; diff --git a/nav_msgs/include/nav_msgs/Path.h b/nav_msgs/include/nav_msgs/Path.h index 192d1b6..206237f 100644 --- a/nav_msgs/include/nav_msgs/Path.h +++ b/nav_msgs/include/nav_msgs/Path.h @@ -12,7 +12,7 @@ #include #include -#include +#include namespace nav_msgs { @@ -36,7 +36,7 @@ struct Path_ typedef ::std_msgs::Header _header_type; _header_type header; - typedef std::vector< ::geometry_msgs::PoseStamped , typename std::allocator_traits::template rebind_alloc< ::geometry_msgs::PoseStamped >> _poses_type; + typedef std::vector< ::robot_geometry_msgs::PoseStamped , typename std::allocator_traits::template rebind_alloc< ::robot_geometry_msgs::PoseStamped >> _poses_type; _poses_type poses; diff --git a/nav_msgs/include/nav_msgs/SetMapRequest.h b/nav_msgs/include/nav_msgs/SetMapRequest.h index 86c47b2..ef4b70f 100644 --- a/nav_msgs/include/nav_msgs/SetMapRequest.h +++ b/nav_msgs/include/nav_msgs/SetMapRequest.h @@ -12,7 +12,7 @@ #include #include -#include +#include namespace nav_msgs { @@ -36,7 +36,7 @@ struct SetMapRequest_ typedef ::nav_msgs::OccupancyGrid_ _map_type; _map_type map; - typedef ::geometry_msgs::PoseWithCovarianceStamped _initial_pose_type; + typedef ::robot_geometry_msgs::PoseWithCovarianceStamped _initial_pose_type; _initial_pose_type initial_pose; diff --git a/sensor_msgs/include/sensor_msgs/Imu.h b/sensor_msgs/include/sensor_msgs/Imu.h index e684c2a..522d54b 100644 --- a/sensor_msgs/include/sensor_msgs/Imu.h +++ b/sensor_msgs/include/sensor_msgs/Imu.h @@ -11,13 +11,13 @@ struct Imu { std_msgs::Header header; // Thời gian và frame gốc - geometry_msgs::Quaternion orientation; // Góc quay (đơn vị: quaternion) + robot_geometry_msgs::Quaternion orientation; // Góc quay (đơn vị: quaternion) std::array orientation_covariance; // Ma trận hiệp phương sai (row-major) - geometry_msgs::Vector3 angular_velocity; // Tốc độ góc (rad/s) + robot_geometry_msgs::Vector3 angular_velocity; // Tốc độ góc (rad/s) std::array angular_velocity_covariance; // Ma trận hiệp phương sai - geometry_msgs::Vector3 linear_acceleration; // Gia tốc tuyến tính (m/s^2) + robot_geometry_msgs::Vector3 linear_acceleration; // Gia tốc tuyến tính (m/s^2) std::array linear_acceleration_covariance; // Ma trận hiệp phương sai Imu() diff --git a/sensor_msgs/include/sensor_msgs/PointCloud.h b/sensor_msgs/include/sensor_msgs/PointCloud.h index 541bdd9..6b788aa 100644 --- a/sensor_msgs/include/sensor_msgs/PointCloud.h +++ b/sensor_msgs/include/sensor_msgs/PointCloud.h @@ -4,7 +4,7 @@ #include #include #include "std_msgs/Header.h" -#include "geometry_msgs/Point32.h" +#include "robot_geometry_msgs/Point32.h" #include "sensor_msgs/ChannelFloat32.h" namespace sensor_msgs @@ -14,7 +14,7 @@ struct PointCloud { std_msgs::Header header; // Thông tin thời gian & frame của dữ liệu - std::vector points; // Danh sách các điểm 3D (x, y, z) + std::vector points; // Danh sách các điểm 3D (x, y, z) std::vector channels; // Dữ liệu phụ đi kèm (vd: "intensity", "rgb") PointCloud() = default; diff --git a/visualization_msgs/include/visualization_msgs/ImageMarker.h b/visualization_msgs/include/visualization_msgs/ImageMarker.h index afed168..212e46f 100644 --- a/visualization_msgs/include/visualization_msgs/ImageMarker.h +++ b/visualization_msgs/include/visualization_msgs/ImageMarker.h @@ -11,7 +11,7 @@ #include #include -#include +#include #include namespace visualization_msgs @@ -70,7 +70,7 @@ struct ImageMarker_ typedef int32_t _action_type; _action_type action; - typedef ::geometry_msgs::Point_ _position_type; + typedef ::robot_geometry_msgs::Point_ _position_type; _position_type position; typedef float _scale_type; @@ -88,7 +88,7 @@ struct ImageMarker_ typedef robot::Duration _lifetime_type; _lifetime_type lifetime; - typedef std::vector< ::geometry_msgs::Point_ , typename std::allocator_traits::template rebind_alloc< ::geometry_msgs::Point_ >> _points_type; + typedef std::vector< ::robot_geometry_msgs::Point_ , typename std::allocator_traits::template rebind_alloc< ::robot_geometry_msgs::Point_ >> _points_type; _points_type points; typedef std::vector< ::std_msgs::ColorRGBA_ , typename std::allocator_traits::template rebind_alloc< ::std_msgs::ColorRGBA_ >> _outline_colors_type; diff --git a/visualization_msgs/include/visualization_msgs/InteractiveMarker.h b/visualization_msgs/include/visualization_msgs/InteractiveMarker.h index 3abebf3..4087a95 100644 --- a/visualization_msgs/include/visualization_msgs/InteractiveMarker.h +++ b/visualization_msgs/include/visualization_msgs/InteractiveMarker.h @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include @@ -47,7 +47,7 @@ struct InteractiveMarker_ typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Pose_ _pose_type; + typedef ::robot_geometry_msgs::Pose_ _pose_type; _pose_type pose; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _name_type; diff --git a/visualization_msgs/include/visualization_msgs/InteractiveMarkerControl.h b/visualization_msgs/include/visualization_msgs/InteractiveMarkerControl.h index 5ab5973..5c9f81b 100644 --- a/visualization_msgs/include/visualization_msgs/InteractiveMarkerControl.h +++ b/visualization_msgs/include/visualization_msgs/InteractiveMarkerControl.h @@ -10,7 +10,7 @@ #include #include -#include +#include #include namespace visualization_msgs @@ -47,7 +47,7 @@ struct InteractiveMarkerControl_ typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _name_type; _name_type name; - typedef ::geometry_msgs::Quaternion_ _orientation_type; + typedef ::robot_geometry_msgs::Quaternion_ _orientation_type; _orientation_type orientation; typedef uint8_t _orientation_mode_type; diff --git a/visualization_msgs/include/visualization_msgs/InteractiveMarkerFeedback.h b/visualization_msgs/include/visualization_msgs/InteractiveMarkerFeedback.h index afdfaa9..bd68903 100644 --- a/visualization_msgs/include/visualization_msgs/InteractiveMarkerFeedback.h +++ b/visualization_msgs/include/visualization_msgs/InteractiveMarkerFeedback.h @@ -11,8 +11,8 @@ #include #include -#include -#include +#include +#include namespace visualization_msgs { @@ -62,13 +62,13 @@ struct InteractiveMarkerFeedback_ typedef uint8_t _event_type_type; _event_type_type event_type; - typedef ::geometry_msgs::Pose_ _pose_type; + typedef ::robot_geometry_msgs::Pose_ _pose_type; _pose_type pose; typedef uint32_t _menu_entry_id_type; _menu_entry_id_type menu_entry_id; - typedef ::geometry_msgs::Point_ _mouse_point_type; + typedef ::robot_geometry_msgs::Point_ _mouse_point_type; _mouse_point_type mouse_point; typedef uint8_t _mouse_point_valid_type; diff --git a/visualization_msgs/include/visualization_msgs/InteractiveMarkerPose.h b/visualization_msgs/include/visualization_msgs/InteractiveMarkerPose.h index 72724b0..1335ec6 100644 --- a/visualization_msgs/include/visualization_msgs/InteractiveMarkerPose.h +++ b/visualization_msgs/include/visualization_msgs/InteractiveMarkerPose.h @@ -11,7 +11,7 @@ #include #include -#include +#include namespace visualization_msgs { @@ -37,7 +37,7 @@ struct InteractiveMarkerPose_ typedef ::std_msgs::Header_ _header_type; _header_type header; - typedef ::geometry_msgs::Pose_ _pose_type; + typedef ::robot_geometry_msgs::Pose_ _pose_type; _pose_type pose; typedef std::basic_string, typename std::allocator_traits::template rebind_alloc> _name_type; diff --git a/visualization_msgs/include/visualization_msgs/Marker.h b/visualization_msgs/include/visualization_msgs/Marker.h index 16a24b4..4c54dc4 100644 --- a/visualization_msgs/include/visualization_msgs/Marker.h +++ b/visualization_msgs/include/visualization_msgs/Marker.h @@ -12,10 +12,10 @@ #include -#include -#include +#include +#include #include -#include +#include namespace visualization_msgs { @@ -77,10 +77,10 @@ struct Marker_ typedef int32_t _action_type; _action_type action; - typedef ::geometry_msgs::Pose_ _pose_type; + typedef ::robot_geometry_msgs::Pose_ _pose_type; _pose_type pose; - typedef ::geometry_msgs::Vector3_ _scale_type; + typedef ::robot_geometry_msgs::Vector3_ _scale_type; _scale_type scale; typedef ::std_msgs::ColorRGBA_ _color_type; @@ -92,7 +92,7 @@ struct Marker_ typedef uint8_t _frame_locked_type; _frame_locked_type frame_locked; - typedef std::vector< ::geometry_msgs::Point_ , typename std::allocator_traits::template rebind_alloc< ::geometry_msgs::Point_ >> _points_type; + typedef std::vector< ::robot_geometry_msgs::Point_ , typename std::allocator_traits::template rebind_alloc< ::robot_geometry_msgs::Point_ >> _points_type; _points_type points; typedef std::vector< ::std_msgs::ColorRGBA_ , typename std::allocator_traits::template rebind_alloc< ::std_msgs::ColorRGBA_ >> _colors_type;