00001
00002 #ifndef ARTICULATION_STRUCTURE_MESSAGE_POSESTAMPEDIDMSG_H
00003 #define ARTICULATION_STRUCTURE_MESSAGE_POSESTAMPEDIDMSG_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "geometry_msgs/PoseStamped.h"
00014
00015 namespace articulation_structure
00016 {
00017 template <class ContainerAllocator>
00018 struct PoseStampedIdMsg_ : public ros::Message
00019 {
00020 typedef PoseStampedIdMsg_<ContainerAllocator> Type;
00021
00022 PoseStampedIdMsg_()
00023 : pose()
00024 , id(0)
00025 {
00026 }
00027
00028 PoseStampedIdMsg_(const ContainerAllocator& _alloc)
00029 : pose(_alloc)
00030 , id(0)
00031 {
00032 }
00033
00034 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00035 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00036
00037 typedef uint32_t _id_type;
00038 uint32_t id;
00039
00040
00041 private:
00042 static const char* __s_getDataType_() { return "articulation_structure/PoseStampedIdMsg"; }
00043 public:
00044 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00045
00046 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00047
00048 private:
00049 static const char* __s_getMD5Sum_() { return "b8aa1da8c5ac88617c490008a96c6564"; }
00050 public:
00051 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00052
00053 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00054
00055 private:
00056 static const char* __s_getMessageDefinition_() { return "geometry_msgs/PoseStamped pose\n\
00057 uint32 id\n\
00058 \n\
00059 ================================================================================\n\
00060 MSG: geometry_msgs/PoseStamped\n\
00061 # A Pose with reference coordinate frame and timestamp\n\
00062 Header header\n\
00063 Pose pose\n\
00064 \n\
00065 ================================================================================\n\
00066 MSG: std_msgs/Header\n\
00067 # Standard metadata for higher-level stamped data types.\n\
00068 # This is generally used to communicate timestamped data \n\
00069 # in a particular coordinate frame.\n\
00070 # \n\
00071 # sequence ID: consecutively increasing ID \n\
00072 uint32 seq\n\
00073 #Two-integer timestamp that is expressed as:\n\
00074 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00075 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00076 # time-handling sugar is provided by the client library\n\
00077 time stamp\n\
00078 #Frame this data is associated with\n\
00079 # 0: no frame\n\
00080 # 1: global frame\n\
00081 string frame_id\n\
00082 \n\
00083 ================================================================================\n\
00084 MSG: geometry_msgs/Pose\n\
00085 # A representation of pose in free space, composed of postion and orientation. \n\
00086 Point position\n\
00087 Quaternion orientation\n\
00088 \n\
00089 ================================================================================\n\
00090 MSG: geometry_msgs/Point\n\
00091 # This contains the position of a point in free space\n\
00092 float64 x\n\
00093 float64 y\n\
00094 float64 z\n\
00095 \n\
00096 ================================================================================\n\
00097 MSG: geometry_msgs/Quaternion\n\
00098 # This represents an orientation in free space in quaternion form.\n\
00099 \n\
00100 float64 x\n\
00101 float64 y\n\
00102 float64 z\n\
00103 float64 w\n\
00104 \n\
00105 "; }
00106 public:
00107 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00108
00109 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00110
00111 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00112 {
00113 ros::serialization::OStream stream(write_ptr, 1000000000);
00114 ros::serialization::serialize(stream, pose);
00115 ros::serialization::serialize(stream, id);
00116 return stream.getData();
00117 }
00118
00119 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00120 {
00121 ros::serialization::IStream stream(read_ptr, 1000000000);
00122 ros::serialization::deserialize(stream, pose);
00123 ros::serialization::deserialize(stream, id);
00124 return stream.getData();
00125 }
00126
00127 ROS_DEPRECATED virtual uint32_t serializationLength() const
00128 {
00129 uint32_t size = 0;
00130 size += ros::serialization::serializationLength(pose);
00131 size += ros::serialization::serializationLength(id);
00132 return size;
00133 }
00134
00135 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > Ptr;
00136 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> const> ConstPtr;
00137 };
00138 typedef ::articulation_structure::PoseStampedIdMsg_<std::allocator<void> > PoseStampedIdMsg;
00139
00140 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg> PoseStampedIdMsgPtr;
00141 typedef boost::shared_ptr< ::articulation_structure::PoseStampedIdMsg const> PoseStampedIdMsgConstPtr;
00142
00143
00144 template<typename ContainerAllocator>
00145 std::ostream& operator<<(std::ostream& s, const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> & v)
00146 {
00147 ros::message_operations::Printer< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> >::stream(s, "", v);
00148 return s;}
00149
00150 }
00151
00152 namespace ros
00153 {
00154 namespace message_traits
00155 {
00156 template<class ContainerAllocator>
00157 struct MD5Sum< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > {
00158 static const char* value()
00159 {
00160 return "b8aa1da8c5ac88617c490008a96c6564";
00161 }
00162
00163 static const char* value(const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> &) { return value(); }
00164 static const uint64_t static_value1 = 0xb8aa1da8c5ac8861ULL;
00165 static const uint64_t static_value2 = 0x7c490008a96c6564ULL;
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct DataType< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "articulation_structure/PoseStampedIdMsg";
00173 }
00174
00175 static const char* value(const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> &) { return value(); }
00176 };
00177
00178 template<class ContainerAllocator>
00179 struct Definition< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> > {
00180 static const char* value()
00181 {
00182 return "geometry_msgs/PoseStamped pose\n\
00183 uint32 id\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: geometry_msgs/PoseStamped\n\
00187 # A Pose with reference coordinate frame and timestamp\n\
00188 Header header\n\
00189 Pose pose\n\
00190 \n\
00191 ================================================================================\n\
00192 MSG: std_msgs/Header\n\
00193 # Standard metadata for higher-level stamped data types.\n\
00194 # This is generally used to communicate timestamped data \n\
00195 # in a particular coordinate frame.\n\
00196 # \n\
00197 # sequence ID: consecutively increasing ID \n\
00198 uint32 seq\n\
00199 #Two-integer timestamp that is expressed as:\n\
00200 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00201 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00202 # time-handling sugar is provided by the client library\n\
00203 time stamp\n\
00204 #Frame this data is associated with\n\
00205 # 0: no frame\n\
00206 # 1: global frame\n\
00207 string frame_id\n\
00208 \n\
00209 ================================================================================\n\
00210 MSG: geometry_msgs/Pose\n\
00211 # A representation of pose in free space, composed of postion and orientation. \n\
00212 Point position\n\
00213 Quaternion orientation\n\
00214 \n\
00215 ================================================================================\n\
00216 MSG: geometry_msgs/Point\n\
00217 # This contains the position of a point in free space\n\
00218 float64 x\n\
00219 float64 y\n\
00220 float64 z\n\
00221 \n\
00222 ================================================================================\n\
00223 MSG: geometry_msgs/Quaternion\n\
00224 # This represents an orientation in free space in quaternion form.\n\
00225 \n\
00226 float64 x\n\
00227 float64 y\n\
00228 float64 z\n\
00229 float64 w\n\
00230 \n\
00231 ";
00232 }
00233
00234 static const char* value(const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> &) { return value(); }
00235 };
00236
00237 }
00238 }
00239
00240 namespace ros
00241 {
00242 namespace serialization
00243 {
00244
00245 template<class ContainerAllocator> struct Serializer< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> >
00246 {
00247 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00248 {
00249 stream.next(m.pose);
00250 stream.next(m.id);
00251 }
00252
00253 ROS_DECLARE_ALLINONE_SERIALIZER;
00254 };
00255 }
00256 }
00257
00258 namespace ros
00259 {
00260 namespace message_operations
00261 {
00262
00263 template<class ContainerAllocator>
00264 struct Printer< ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> >
00265 {
00266 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::articulation_structure::PoseStampedIdMsg_<ContainerAllocator> & v)
00267 {
00268 s << indent << "pose: ";
00269 s << std::endl;
00270 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00271 s << indent << "id: ";
00272 Printer<uint32_t>::stream(s, indent + " ", v.id);
00273 }
00274 };
00275
00276
00277 }
00278 }
00279
00280 #endif // ARTICULATION_STRUCTURE_MESSAGE_POSESTAMPEDIDMSG_H
00281