Go to the documentation of this file.00001
00002 #ifndef COLLVOID_MSGS_MESSAGE_AGGREGATEDPOSETWIST_H
00003 #define COLLVOID_MSGS_MESSAGE_AGGREGATEDPOSETWIST_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "std_msgs/Header.h"
00018 #include "collvoid_msgs/PoseTwistWithCovariance.h"
00019
00020 namespace collvoid_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct AggregatedPoseTwist_ {
00024 typedef AggregatedPoseTwist_<ContainerAllocator> Type;
00025
00026 AggregatedPoseTwist_()
00027 : header()
00028 , posetwists()
00029 {
00030 }
00031
00032 AggregatedPoseTwist_(const ContainerAllocator& _alloc)
00033 : header(_alloc)
00034 , posetwists(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef std::vector< ::collvoid_msgs::PoseTwistWithCovariance_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::collvoid_msgs::PoseTwistWithCovariance_<ContainerAllocator> >::other > _posetwists_type;
00042 std::vector< ::collvoid_msgs::PoseTwistWithCovariance_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::collvoid_msgs::PoseTwistWithCovariance_<ContainerAllocator> >::other > posetwists;
00043
00044
00045 typedef boost::shared_ptr< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::collvoid_msgs::AggregatedPoseTwist_<std::allocator<void> > AggregatedPoseTwist;
00050
00051 typedef boost::shared_ptr< ::collvoid_msgs::AggregatedPoseTwist> AggregatedPoseTwistPtr;
00052 typedef boost::shared_ptr< ::collvoid_msgs::AggregatedPoseTwist const> AggregatedPoseTwistConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "b57a6e1f6dc93663d454cab62daa81a6";
00074 }
00075
00076 static const char* value(const ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xb57a6e1f6dc93663ULL;
00078 static const uint64_t static_value2 = 0xd454cab62daa81a6ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "collvoid_msgs/AggregatedPoseTwist";
00086 }
00087
00088 static const char* value(const ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "Header header\n\
00096 collvoid_msgs/PoseTwistWithCovariance[] posetwists\n\
00097 ================================================================================\n\
00098 MSG: std_msgs/Header\n\
00099 # Standard metadata for higher-level stamped data types.\n\
00100 # This is generally used to communicate timestamped data \n\
00101 # in a particular coordinate frame.\n\
00102 # \n\
00103 # sequence ID: consecutively increasing ID \n\
00104 uint32 seq\n\
00105 #Two-integer timestamp that is expressed as:\n\
00106 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00107 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00108 # time-handling sugar is provided by the client library\n\
00109 time stamp\n\
00110 #Frame this data is associated with\n\
00111 # 0: no frame\n\
00112 # 1: global frame\n\
00113 string frame_id\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: collvoid_msgs/PoseTwistWithCovariance\n\
00117 Header header\n\
00118 string robot_id\n\
00119 float32 radius\n\
00120 bool holo_robot\n\
00121 bool controlled\n\
00122 geometry_msgs/Vector3 holonomic_velocity\n\
00123 geometry_msgs/PoseWithCovariance pose\n\
00124 geometry_msgs/TwistWithCovariance twist\n\
00125 geometry_msgs/PolygonStamped footprint\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geometry_msgs/Vector3\n\
00129 # This represents a vector in free space. \n\
00130 \n\
00131 float64 x\n\
00132 float64 y\n\
00133 float64 z\n\
00134 ================================================================================\n\
00135 MSG: geometry_msgs/PoseWithCovariance\n\
00136 # This represents a pose in free space with uncertainty.\n\
00137 \n\
00138 Pose pose\n\
00139 \n\
00140 # Row-major representation of the 6x6 covariance matrix\n\
00141 # The orientation parameters use a fixed-axis representation.\n\
00142 # In order, the parameters are:\n\
00143 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00144 float64[36] covariance\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Pose\n\
00148 # A representation of pose in free space, composed of postion and orientation. \n\
00149 Point position\n\
00150 Quaternion orientation\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Point\n\
00154 # This contains the position of a point in free space\n\
00155 float64 x\n\
00156 float64 y\n\
00157 float64 z\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: geometry_msgs/Quaternion\n\
00161 # This represents an orientation in free space in quaternion form.\n\
00162 \n\
00163 float64 x\n\
00164 float64 y\n\
00165 float64 z\n\
00166 float64 w\n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: geometry_msgs/TwistWithCovariance\n\
00170 # This expresses velocity in free space with uncertianty.\n\
00171 \n\
00172 Twist twist\n\
00173 \n\
00174 # Row-major representation of the 6x6 covariance matrix\n\
00175 # The orientation parameters use a fixed-axis representation.\n\
00176 # In order, the parameters are:\n\
00177 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00178 float64[36] covariance\n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: geometry_msgs/Twist\n\
00182 # This expresses velocity in free space broken into it's linear and angular parts. \n\
00183 Vector3 linear\n\
00184 Vector3 angular\n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: geometry_msgs/PolygonStamped\n\
00188 # This represents a Polygon with reference coordinate frame and timestamp\n\
00189 Header header\n\
00190 Polygon polygon\n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: geometry_msgs/Polygon\n\
00194 #A specification of a polygon where the first and last points are assumed to be connected\n\
00195 Point32[] points\n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: geometry_msgs/Point32\n\
00199 # This contains the position of a point in free space(with 32 bits of precision).\n\
00200 # It is recommeded to use Point wherever possible instead of Point32. \n\
00201 # \n\
00202 # This recommendation is to promote interoperability. \n\
00203 #\n\
00204 # This message is designed to take up less space when sending\n\
00205 # lots of points at once, as in the case of a PointCloud. \n\
00206 \n\
00207 float32 x\n\
00208 float32 y\n\
00209 float32 z\n\
00210 ";
00211 }
00212
00213 static const char* value(const ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> &) { return value(); }
00214 };
00215
00216 template<class ContainerAllocator> struct HasHeader< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > : public TrueType {};
00217 template<class ContainerAllocator> struct HasHeader< const ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> > : public TrueType {};
00218 }
00219 }
00220
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225
00226 template<class ContainerAllocator> struct Serializer< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> >
00227 {
00228 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229 {
00230 stream.next(m.header);
00231 stream.next(m.posetwists);
00232 }
00233
00234 ROS_DECLARE_ALLINONE_SERIALIZER;
00235 };
00236 }
00237 }
00238
00239 namespace ros
00240 {
00241 namespace message_operations
00242 {
00243
00244 template<class ContainerAllocator>
00245 struct Printer< ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> >
00246 {
00247 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::collvoid_msgs::AggregatedPoseTwist_<ContainerAllocator> & v)
00248 {
00249 s << indent << "header: ";
00250 s << std::endl;
00251 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00252 s << indent << "posetwists[]" << std::endl;
00253 for (size_t i = 0; i < v.posetwists.size(); ++i)
00254 {
00255 s << indent << " posetwists[" << i << "]: ";
00256 s << std::endl;
00257 s << indent;
00258 Printer< ::collvoid_msgs::PoseTwistWithCovariance_<ContainerAllocator> >::stream(s, indent + " ", v.posetwists[i]);
00259 }
00260 }
00261 };
00262
00263
00264 }
00265 }
00266
00267 #endif // COLLVOID_MSGS_MESSAGE_AGGREGATEDPOSETWIST_H
00268