ArticulatedObjectMsg.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-ros-pkg/doc_stacks/2012-12-26_15-13-16.045312/articulation/articulation_msgs/msg/ArticulatedObjectMsg.msg */
00002 #ifndef ARTICULATION_MSGS_MESSAGE_ARTICULATEDOBJECTMSG_H
00003 #define ARTICULATION_MSGS_MESSAGE_ARTICULATEDOBJECTMSG_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 "articulation_msgs/TrackMsg.h"
00019 #include "articulation_msgs/ParamMsg.h"
00020 #include "articulation_msgs/ModelMsg.h"
00021 #include "visualization_msgs/MarkerArray.h"
00022 
00023 namespace articulation_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct ArticulatedObjectMsg_ {
00027   typedef ArticulatedObjectMsg_<ContainerAllocator> Type;
00028 
00029   ArticulatedObjectMsg_()
00030   : header()
00031   , parts()
00032   , params()
00033   , models()
00034   , markers()
00035   {
00036   }
00037 
00038   ArticulatedObjectMsg_(const ContainerAllocator& _alloc)
00039   : header(_alloc)
00040   , parts(_alloc)
00041   , params(_alloc)
00042   , models(_alloc)
00043   , markers(_alloc)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef std::vector< ::articulation_msgs::TrackMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::TrackMsg_<ContainerAllocator> >::other >  _parts_type;
00051   std::vector< ::articulation_msgs::TrackMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::TrackMsg_<ContainerAllocator> >::other >  parts;
00052 
00053   typedef std::vector< ::articulation_msgs::ParamMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::ParamMsg_<ContainerAllocator> >::other >  _params_type;
00054   std::vector< ::articulation_msgs::ParamMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::ParamMsg_<ContainerAllocator> >::other >  params;
00055 
00056   typedef std::vector< ::articulation_msgs::ModelMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::ModelMsg_<ContainerAllocator> >::other >  _models_type;
00057   std::vector< ::articulation_msgs::ModelMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::ModelMsg_<ContainerAllocator> >::other >  models;
00058 
00059   typedef  ::visualization_msgs::MarkerArray_<ContainerAllocator>  _markers_type;
00060    ::visualization_msgs::MarkerArray_<ContainerAllocator>  markers;
00061 
00062 
00063   typedef boost::shared_ptr< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> > Ptr;
00064   typedef boost::shared_ptr< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator>  const> ConstPtr;
00065   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00066 }; // struct ArticulatedObjectMsg
00067 typedef  ::articulation_msgs::ArticulatedObjectMsg_<std::allocator<void> > ArticulatedObjectMsg;
00068 
00069 typedef boost::shared_ptr< ::articulation_msgs::ArticulatedObjectMsg> ArticulatedObjectMsgPtr;
00070 typedef boost::shared_ptr< ::articulation_msgs::ArticulatedObjectMsg const> ArticulatedObjectMsgConstPtr;
00071 
00072 
00073 template<typename ContainerAllocator>
00074 std::ostream& operator<<(std::ostream& s, const  ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> & v)
00075 {
00076   ros::message_operations::Printer< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> >::stream(s, "", v);
00077   return s;}
00078 
00079 } // namespace articulation_msgs
00080 
00081 namespace ros
00082 {
00083 namespace message_traits
00084 {
00085 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> > : public TrueType {};
00086 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator>  const> : public TrueType {};
00087 template<class ContainerAllocator>
00088 struct MD5Sum< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "e76ceea8d39bebe2f3b084acdff7a807";
00092   }
00093 
00094   static const char* value(const  ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> &) { return value(); } 
00095   static const uint64_t static_value1 = 0xe76ceea8d39bebe2ULL;
00096   static const uint64_t static_value2 = 0xf3b084acdff7a807ULL;
00097 };
00098 
00099 template<class ContainerAllocator>
00100 struct DataType< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "articulation_msgs/ArticulatedObjectMsg";
00104   }
00105 
00106   static const char* value(const  ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator>
00110 struct Definition< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "std_msgs/Header header\n\
00114 \n\
00115 articulation_msgs/TrackMsg[] parts    # observed trajectories for each object part \n\
00116 articulation_msgs/ParamMsg[] params   # global parameters\n\
00117 articulation_msgs/ModelMsg[] models       # models, describing relationships between parts\n\
00118 visualization_msgs/MarkerArray markers # marker visualization of models/object \n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: std_msgs/Header\n\
00122 # Standard metadata for higher-level stamped data types.\n\
00123 # This is generally used to communicate timestamped data \n\
00124 # in a particular coordinate frame.\n\
00125 # \n\
00126 # sequence ID: consecutively increasing ID \n\
00127 uint32 seq\n\
00128 #Two-integer timestamp that is expressed as:\n\
00129 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00130 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00131 # time-handling sugar is provided by the client library\n\
00132 time stamp\n\
00133 #Frame this data is associated with\n\
00134 # 0: no frame\n\
00135 # 1: global frame\n\
00136 string frame_id\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: articulation_msgs/TrackMsg\n\
00140 # Single kinematic trajectory\n\
00141 #\n\
00142 # This message contains a kinematic trajectory. The trajectory is specified\n\
00143 # as a vector of 6D poses. An additional flag, track_type, indicates whether\n\
00144 # the track is valid, and whether it includes orientation. The track id\n\
00145 # can be used for automatic coloring in the RVIZ track plugin, and can be \n\
00146 # freely chosen by the client. \n\
00147 #\n\
00148 # A model is fitting only from the trajectory stored in the pose[]-vector. \n\
00149 # Additional information may be associated to each pose using the channels\n\
00150 # vector, with arbitrary # fields (e.g., to include applied/measured forces). \n\
00151 #\n\
00152 # After model evaluation,\n\
00153 # also the associated configurations of the object are stored in the channels,\n\
00154 # named \"q[0]\"..\"q[DOF-1]\", where DOF is the number of degrees of freedom.\n\
00155 # Model evaluation also projects the poses in the pose vector onto the model,\n\
00156 # and stores these ideal poses in the vector pose_projected. Further, during model\n\
00157 # evaluation, a new set of (uniform) configurations over the valid configuration\n\
00158 # range is sampled, and the result is stored in pose_resampled.\n\
00159 # The vector pose_flags contains additional display flags for the poses in the\n\
00160 # pose vector, for example, whether a pose is visible and/or\n\
00161 # the end of a trajectory segment. At the moment, this is only used by the\n\
00162 # prior_model_learner.\n\
00163 #\n\
00164 \n\
00165 std_msgs/Header header                        # frame and timestamp\n\
00166 int32 id                                # used-specified track id\n\
00167 \n\
00168 geometry_msgs/Pose[] pose               # sequence of poses, defining the observed trajectory\n\
00169 std_msgs/Header[] pose_headers                   # Timestamp and frame for each pose (and pose_projected)\n\
00170 geometry_msgs/Pose[] pose_projected     # sequence of poses, projected to the model \n\
00171                                         # (after model evaluation)\n\
00172 geometry_msgs/Pose[] pose_resampled     # sequence of poses, re-sampled from the model in\n\
00173                                         # the valid configuration range\n\
00174 uint32[] pose_flags                     # bit-wise combination of POSE_VISIBLE and POSE_END_OF_SEGMENT\n\
00175 \n\
00176 uint32 POSE_VISIBLE=1\n\
00177 uint32 POSE_END_OF_SEGMENT=2\n\
00178 \n\
00179 # Each channel should have the same number of elements as pose array, \n\
00180 # and the data in each channel should correspond 1:1 with each pose\n\
00181 # possible channels: \"width\", \"height\", \"rgb\", ...\n\
00182 sensor_msgs/ChannelFloat32[] channels       \n\
00183 \n\
00184 \n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: geometry_msgs/Pose\n\
00188 # A representation of pose in free space, composed of postion and orientation. \n\
00189 Point position\n\
00190 Quaternion orientation\n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: geometry_msgs/Point\n\
00194 # This contains the position of a point in free space\n\
00195 float64 x\n\
00196 float64 y\n\
00197 float64 z\n\
00198 \n\
00199 ================================================================================\n\
00200 MSG: geometry_msgs/Quaternion\n\
00201 # This represents an orientation in free space in quaternion form.\n\
00202 \n\
00203 float64 x\n\
00204 float64 y\n\
00205 float64 z\n\
00206 float64 w\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: sensor_msgs/ChannelFloat32\n\
00210 # This message is used by the PointCloud message to hold optional data\n\
00211 # associated with each point in the cloud. The length of the values\n\
00212 # array should be the same as the length of the points array in the\n\
00213 # PointCloud, and each value should be associated with the corresponding\n\
00214 # point.\n\
00215 \n\
00216 # Channel names in existing practice include:\n\
00217 #   \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00218 #              This is opposite to usual conventions but remains for\n\
00219 #              historical reasons. The newer PointCloud2 message has no\n\
00220 #              such problem.\n\
00221 #   \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00222 #           (R,G,B) values packed into the least significant 24 bits,\n\
00223 #           in order.\n\
00224 #   \"intensity\" - laser or pixel intensity.\n\
00225 #   \"distance\"\n\
00226 \n\
00227 # The channel name should give semantics of the channel (e.g.\n\
00228 # \"intensity\" instead of \"value\").\n\
00229 string name\n\
00230 \n\
00231 # The values array should be 1-1 with the elements of the associated\n\
00232 # PointCloud.\n\
00233 float32[] values\n\
00234 \n\
00235 ================================================================================\n\
00236 MSG: articulation_msgs/ParamMsg\n\
00237 # Single parameter passed to or from model fitting\n\
00238 #\n\
00239 # This mechanism allows to flexibly pass parameters to \n\
00240 # model fitting (and vice versa). Note that these parameters \n\
00241 # are model-specific: A client may supply additional\n\
00242 # parameters to the model estimator, and, similarly, a estimator\n\
00243 # may add the estimated model parameters to the model message.\n\
00244 # When the model is then evaluated, for example to make predictions\n\
00245 # or to compute the likelihood, the model class can then use\n\
00246 # these parameters.\n\
00247 #\n\
00248 # A parameter has a name, a value, and a type. The type globally\n\
00249 # indicates whether it is a prior parameter (prior to model fitting),\n\
00250 # or a model parameter (found during model fitting, using a maximum-\n\
00251 # likelihood estimator), or a cached evaluation (e.g., the likelihood\n\
00252 # or the BIC are a typical \"side\"-product of model estimation, and\n\
00253 # can therefore already be cached).\n\
00254 #\n\
00255 # For a list of currently used parameters, see the documentation at\n\
00256 # http://www.ros.org/wiki/articulation_models\n\
00257 #\n\
00258 \n\
00259 uint8 PRIOR=0   # indicates a prior model parameter \n\
00260                 # (e.g., \"sigma_position\")\n\
00261 uint8 PARAM=1   # indicates a estimated model parameter \n\
00262                 # (e.g., \"rot_radius\", the estimated radius)\n\
00263 uint8 EVAL=2    # indicates a cached evaluation of the model, given \n\
00264                 # the current trajectory\n\
00265                 # (e.g., \"loglikelihood\", the log likelihood of the\n\
00266                 # data, given the model and its parameters)\n\
00267 \n\
00268 string name     # name of the parameter\n\
00269 float64 value   # value of the parameter\n\
00270 uint8 type      # type of the parameter (PRIOR, PARAM, EVAL)\n\
00271 \n\
00272 \n\
00273 ================================================================================\n\
00274 MSG: articulation_msgs/ModelMsg\n\
00275 # Single kinematic model\n\
00276 #\n\
00277 # A kinematic model is defined by its model class name, and a set of parameters. \n\
00278 # The client may additionally specify a model id, that can be used to colorize the\n\
00279 # model when visualized using the RVIZ model display.\n\
00280 # \n\
00281 # For a list of currently implemented models, see the documetation at\n\
00282 # http://www.ros.org/wiki/articulation_models\n\
00283 #\n\
00284 #\n\
00285 \n\
00286 std_msgs/Header header                        # frame and timestamp\n\
00287 \n\
00288 int32 id                             # user specified model id\n\
00289 string name                          # name of the model family (e.g. \"rotational\",\n\
00290                                      # \"prismatic\", \"pca-gp\", \"rigid\")\n\
00291 articulation_msgs/ParamMsg[] params  # model parameters\n\
00292 articulation_msgs/TrackMsg track     # trajectory from which the model is estimated, or\n\
00293                                      # that is evaluated using the model\n\
00294 \n\
00295 ================================================================================\n\
00296 MSG: visualization_msgs/MarkerArray\n\
00297 Marker[] markers\n\
00298 \n\
00299 ================================================================================\n\
00300 MSG: visualization_msgs/Marker\n\
00301 # See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n\
00302 \n\
00303 uint8 ARROW=0\n\
00304 uint8 CUBE=1\n\
00305 uint8 SPHERE=2\n\
00306 uint8 CYLINDER=3\n\
00307 uint8 LINE_STRIP=4\n\
00308 uint8 LINE_LIST=5\n\
00309 uint8 CUBE_LIST=6\n\
00310 uint8 SPHERE_LIST=7\n\
00311 uint8 POINTS=8\n\
00312 uint8 TEXT_VIEW_FACING=9\n\
00313 uint8 MESH_RESOURCE=10\n\
00314 uint8 TRIANGLE_LIST=11\n\
00315 \n\
00316 uint8 ADD=0\n\
00317 uint8 MODIFY=0\n\
00318 uint8 DELETE=2\n\
00319 \n\
00320 Header header                        # header for time/frame information\n\
00321 string ns                            # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
00322 int32 id                                         # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
00323 int32 type                                     # Type of object\n\
00324 int32 action                           # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\
00325 geometry_msgs/Pose pose                 # Pose of the object\n\
00326 geometry_msgs/Vector3 scale             # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
00327 std_msgs/ColorRGBA color             # Color [0.0-1.0]\n\
00328 duration lifetime                    # How long the object should last before being automatically deleted.  0 means forever\n\
00329 bool frame_locked                    # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
00330 \n\
00331 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00332 geometry_msgs/Point[] points\n\
00333 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00334 #number of colors must either be 0 or equal to the number of points\n\
00335 #NOTE: alpha is not yet used\n\
00336 std_msgs/ColorRGBA[] colors\n\
00337 \n\
00338 # NOTE: only used for text markers\n\
00339 string text\n\
00340 \n\
00341 # NOTE: only used for MESH_RESOURCE markers\n\
00342 string mesh_resource\n\
00343 bool mesh_use_embedded_materials\n\
00344 \n\
00345 ================================================================================\n\
00346 MSG: geometry_msgs/Vector3\n\
00347 # This represents a vector in free space. \n\
00348 \n\
00349 float64 x\n\
00350 float64 y\n\
00351 float64 z\n\
00352 ================================================================================\n\
00353 MSG: std_msgs/ColorRGBA\n\
00354 float32 r\n\
00355 float32 g\n\
00356 float32 b\n\
00357 float32 a\n\
00358 \n\
00359 ";
00360   }
00361 
00362   static const char* value(const  ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> &) { return value(); } 
00363 };
00364 
00365 } // namespace message_traits
00366 } // namespace ros
00367 
00368 namespace ros
00369 {
00370 namespace serialization
00371 {
00372 
00373 template<class ContainerAllocator> struct Serializer< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> >
00374 {
00375   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00376   {
00377     stream.next(m.header);
00378     stream.next(m.parts);
00379     stream.next(m.params);
00380     stream.next(m.models);
00381     stream.next(m.markers);
00382   }
00383 
00384   ROS_DECLARE_ALLINONE_SERIALIZER;
00385 }; // struct ArticulatedObjectMsg_
00386 } // namespace serialization
00387 } // namespace ros
00388 
00389 namespace ros
00390 {
00391 namespace message_operations
00392 {
00393 
00394 template<class ContainerAllocator>
00395 struct Printer< ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> >
00396 {
00397   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::articulation_msgs::ArticulatedObjectMsg_<ContainerAllocator> & v) 
00398   {
00399     s << indent << "header: ";
00400 s << std::endl;
00401     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00402     s << indent << "parts[]" << std::endl;
00403     for (size_t i = 0; i < v.parts.size(); ++i)
00404     {
00405       s << indent << "  parts[" << i << "]: ";
00406       s << std::endl;
00407       s << indent;
00408       Printer< ::articulation_msgs::TrackMsg_<ContainerAllocator> >::stream(s, indent + "    ", v.parts[i]);
00409     }
00410     s << indent << "params[]" << std::endl;
00411     for (size_t i = 0; i < v.params.size(); ++i)
00412     {
00413       s << indent << "  params[" << i << "]: ";
00414       s << std::endl;
00415       s << indent;
00416       Printer< ::articulation_msgs::ParamMsg_<ContainerAllocator> >::stream(s, indent + "    ", v.params[i]);
00417     }
00418     s << indent << "models[]" << std::endl;
00419     for (size_t i = 0; i < v.models.size(); ++i)
00420     {
00421       s << indent << "  models[" << i << "]: ";
00422       s << std::endl;
00423       s << indent;
00424       Printer< ::articulation_msgs::ModelMsg_<ContainerAllocator> >::stream(s, indent + "    ", v.models[i]);
00425     }
00426     s << indent << "markers: ";
00427 s << std::endl;
00428     Printer< ::visualization_msgs::MarkerArray_<ContainerAllocator> >::stream(s, indent + "  ", v.markers);
00429   }
00430 };
00431 
00432 
00433 } // namespace message_operations
00434 } // namespace ros
00435 
00436 #endif // ARTICULATION_MSGS_MESSAGE_ARTICULATEDOBJECTMSG_H
00437 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


articulation_msgs
Author(s): Juergen Sturm
autogenerated on Wed Dec 26 2012 15:30:49