// 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 #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 std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Transform_ & v) { ros::message_operations::Printer< ::geometry_msgs::Transform_ >::stream(s, "", v); return s; } 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 namespace ros { namespace message_traits { template struct IsMessage< ::geometry_msgs::Transform_ > : TrueType { }; template struct IsMessage< ::geometry_msgs::Transform_ const> : TrueType { }; template struct IsFixedSize< ::geometry_msgs::Transform_ > : TrueType { }; template struct IsFixedSize< ::geometry_msgs::Transform_ const> : TrueType { }; template struct HasHeader< ::geometry_msgs::Transform_ > : FalseType { }; template struct HasHeader< ::geometry_msgs::Transform_ const> : FalseType { }; template struct MD5Sum< ::geometry_msgs::Transform_ > { static const char* value() { return "ac9eff44abf714214112b05d54a3cf9b"; } static const char* value(const ::geometry_msgs::Transform_&) { return value(); } static const uint64_t static_value1 = 0xac9eff44abf71421ULL; static const uint64_t static_value2 = 0x4112b05d54a3cf9bULL; }; template struct DataType< ::geometry_msgs::Transform_ > { static const char* value() { return "geometry_msgs/Transform"; } static const char* value(const ::geometry_msgs::Transform_&) { return value(); } }; template struct Definition< ::geometry_msgs::Transform_ > { static const char* value() { return "# This represents the transform between two coordinate frames in free space.\n" "\n" "Vector3 translation\n" "Quaternion rotation\n" "\n" "================================================================================\n" "MSG: 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" "\n" "float64 x\n" "float64 y\n" "float64 z\n" "================================================================================\n" "MSG: geometry_msgs/Quaternion\n" "# This represents an orientation in free space in quaternion form.\n" "\n" "float64 x\n" "float64 y\n" "float64 z\n" "float64 w\n" ; } static const char* value(const ::geometry_msgs::Transform_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::geometry_msgs::Transform_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.translation); stream.next(m.rotation); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Transform_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::geometry_msgs::Transform_ > { template static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Transform_& v) { s << indent << "translation: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.translation); s << indent << "rotation: "; s << std::endl; Printer< ::geometry_msgs::Quaternion_ >::stream(s, indent + " ", v.rotation); } }; } // namespace message_operations } // namespace ros #endif // GEOMETRY_MSGS_MESSAGE_TRANSFORM_H