GetModelPriorSrv.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/srv/GetModelPriorSrv.srv */
00002 #ifndef ARTICULATION_MSGS_SERVICE_GETMODELPRIORSRV_H
00003 #define ARTICULATION_MSGS_SERVICE_GETMODELPRIORSRV_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 "ros/service_traits.h"
00018 
00019 
00020 
00021 #include "articulation_msgs/ModelMsg.h"
00022 
00023 namespace articulation_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct GetModelPriorSrvRequest_ {
00027   typedef GetModelPriorSrvRequest_<ContainerAllocator> Type;
00028 
00029   GetModelPriorSrvRequest_()
00030   {
00031   }
00032 
00033   GetModelPriorSrvRequest_(const ContainerAllocator& _alloc)
00034   {
00035   }
00036 
00037 
00038   typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > Ptr;
00039   typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator>  const> ConstPtr;
00040   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 }; // struct GetModelPriorSrvRequest
00042 typedef  ::articulation_msgs::GetModelPriorSrvRequest_<std::allocator<void> > GetModelPriorSrvRequest;
00043 
00044 typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvRequest> GetModelPriorSrvRequestPtr;
00045 typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvRequest const> GetModelPriorSrvRequestConstPtr;
00046 
00047 
00048 template <class ContainerAllocator>
00049 struct GetModelPriorSrvResponse_ {
00050   typedef GetModelPriorSrvResponse_<ContainerAllocator> Type;
00051 
00052   GetModelPriorSrvResponse_()
00053   : model()
00054   {
00055   }
00056 
00057   GetModelPriorSrvResponse_(const ContainerAllocator& _alloc)
00058   : model(_alloc)
00059   {
00060   }
00061 
00062   typedef std::vector< ::articulation_msgs::ModelMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::ModelMsg_<ContainerAllocator> >::other >  _model_type;
00063   std::vector< ::articulation_msgs::ModelMsg_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::articulation_msgs::ModelMsg_<ContainerAllocator> >::other >  model;
00064 
00065 
00066   typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > Ptr;
00067   typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator>  const> ConstPtr;
00068   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 }; // struct GetModelPriorSrvResponse
00070 typedef  ::articulation_msgs::GetModelPriorSrvResponse_<std::allocator<void> > GetModelPriorSrvResponse;
00071 
00072 typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvResponse> GetModelPriorSrvResponsePtr;
00073 typedef boost::shared_ptr< ::articulation_msgs::GetModelPriorSrvResponse const> GetModelPriorSrvResponseConstPtr;
00074 
00075 struct GetModelPriorSrv
00076 {
00077 
00078 typedef GetModelPriorSrvRequest Request;
00079 typedef GetModelPriorSrvResponse Response;
00080 Request request;
00081 Response response;
00082 
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 }; // struct GetModelPriorSrv
00086 } // namespace articulation_msgs
00087 
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator>  const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "d41d8cd98f00b204e9800998ecf8427e";
00099   }
00100 
00101   static const char* value(const  ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> &) { return value(); } 
00102   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00103   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct DataType< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "articulation_msgs/GetModelPriorSrvRequest";
00111   }
00112 
00113   static const char* value(const  ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 template<class ContainerAllocator>
00117 struct Definition< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > {
00118   static const char* value() 
00119   {
00120     return "\n\
00121 \n\
00122 \n\
00123 \n\
00124 \n\
00125 \n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 template<class ContainerAllocator> struct IsFixedSize< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > : public TrueType {};
00134 } // namespace message_traits
00135 } // namespace ros
00136 
00137 
00138 namespace ros
00139 {
00140 namespace message_traits
00141 {
00142 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct IsMessage< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator>  const> : public TrueType {};
00144 template<class ContainerAllocator>
00145 struct MD5Sum< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > {
00146   static const char* value() 
00147   {
00148     return "492b025b4d335f83e3fab65eb3211a27";
00149   }
00150 
00151   static const char* value(const  ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> &) { return value(); } 
00152   static const uint64_t static_value1 = 0x492b025b4d335f83ULL;
00153   static const uint64_t static_value2 = 0xe3fab65eb3211a27ULL;
00154 };
00155 
00156 template<class ContainerAllocator>
00157 struct DataType< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > {
00158   static const char* value() 
00159   {
00160     return "articulation_msgs/GetModelPriorSrvResponse";
00161   }
00162 
00163   static const char* value(const  ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> &) { return value(); } 
00164 };
00165 
00166 template<class ContainerAllocator>
00167 struct Definition< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > {
00168   static const char* value() 
00169   {
00170     return "articulation_msgs/ModelMsg[] model\n\
00171 \n\
00172 \n\
00173 ================================================================================\n\
00174 MSG: articulation_msgs/ModelMsg\n\
00175 # Single kinematic model\n\
00176 #\n\
00177 # A kinematic model is defined by its model class name, and a set of parameters. \n\
00178 # The client may additionally specify a model id, that can be used to colorize the\n\
00179 # model when visualized using the RVIZ model display.\n\
00180 # \n\
00181 # For a list of currently implemented models, see the documetation at\n\
00182 # http://www.ros.org/wiki/articulation_models\n\
00183 #\n\
00184 #\n\
00185 \n\
00186 std_msgs/Header header                        # frame and timestamp\n\
00187 \n\
00188 int32 id                             # user specified model id\n\
00189 string name                          # name of the model family (e.g. \"rotational\",\n\
00190                                      # \"prismatic\", \"pca-gp\", \"rigid\")\n\
00191 articulation_msgs/ParamMsg[] params  # model parameters\n\
00192 articulation_msgs/TrackMsg track     # trajectory from which the model is estimated, or\n\
00193                                      # that is evaluated using the model\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: std_msgs/Header\n\
00197 # Standard metadata for higher-level stamped data types.\n\
00198 # This is generally used to communicate timestamped data \n\
00199 # in a particular coordinate frame.\n\
00200 # \n\
00201 # sequence ID: consecutively increasing ID \n\
00202 uint32 seq\n\
00203 #Two-integer timestamp that is expressed as:\n\
00204 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00205 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00206 # time-handling sugar is provided by the client library\n\
00207 time stamp\n\
00208 #Frame this data is associated with\n\
00209 # 0: no frame\n\
00210 # 1: global frame\n\
00211 string frame_id\n\
00212 \n\
00213 ================================================================================\n\
00214 MSG: articulation_msgs/ParamMsg\n\
00215 # Single parameter passed to or from model fitting\n\
00216 #\n\
00217 # This mechanism allows to flexibly pass parameters to \n\
00218 # model fitting (and vice versa). Note that these parameters \n\
00219 # are model-specific: A client may supply additional\n\
00220 # parameters to the model estimator, and, similarly, a estimator\n\
00221 # may add the estimated model parameters to the model message.\n\
00222 # When the model is then evaluated, for example to make predictions\n\
00223 # or to compute the likelihood, the model class can then use\n\
00224 # these parameters.\n\
00225 #\n\
00226 # A parameter has a name, a value, and a type. The type globally\n\
00227 # indicates whether it is a prior parameter (prior to model fitting),\n\
00228 # or a model parameter (found during model fitting, using a maximum-\n\
00229 # likelihood estimator), or a cached evaluation (e.g., the likelihood\n\
00230 # or the BIC are a typical \"side\"-product of model estimation, and\n\
00231 # can therefore already be cached).\n\
00232 #\n\
00233 # For a list of currently used parameters, see the documentation at\n\
00234 # http://www.ros.org/wiki/articulation_models\n\
00235 #\n\
00236 \n\
00237 uint8 PRIOR=0   # indicates a prior model parameter \n\
00238                 # (e.g., \"sigma_position\")\n\
00239 uint8 PARAM=1   # indicates a estimated model parameter \n\
00240                 # (e.g., \"rot_radius\", the estimated radius)\n\
00241 uint8 EVAL=2    # indicates a cached evaluation of the model, given \n\
00242                 # the current trajectory\n\
00243                 # (e.g., \"loglikelihood\", the log likelihood of the\n\
00244                 # data, given the model and its parameters)\n\
00245 \n\
00246 string name     # name of the parameter\n\
00247 float64 value   # value of the parameter\n\
00248 uint8 type      # type of the parameter (PRIOR, PARAM, EVAL)\n\
00249 \n\
00250 \n\
00251 ================================================================================\n\
00252 MSG: articulation_msgs/TrackMsg\n\
00253 # Single kinematic trajectory\n\
00254 #\n\
00255 # This message contains a kinematic trajectory. The trajectory is specified\n\
00256 # as a vector of 6D poses. An additional flag, track_type, indicates whether\n\
00257 # the track is valid, and whether it includes orientation. The track id\n\
00258 # can be used for automatic coloring in the RVIZ track plugin, and can be \n\
00259 # freely chosen by the client. \n\
00260 #\n\
00261 # A model is fitting only from the trajectory stored in the pose[]-vector. \n\
00262 # Additional information may be associated to each pose using the channels\n\
00263 # vector, with arbitrary # fields (e.g., to include applied/measured forces). \n\
00264 #\n\
00265 # After model evaluation,\n\
00266 # also the associated configurations of the object are stored in the channels,\n\
00267 # named \"q[0]\"..\"q[DOF-1]\", where DOF is the number of degrees of freedom.\n\
00268 # Model evaluation also projects the poses in the pose vector onto the model,\n\
00269 # and stores these ideal poses in the vector pose_projected. Further, during model\n\
00270 # evaluation, a new set of (uniform) configurations over the valid configuration\n\
00271 # range is sampled, and the result is stored in pose_resampled.\n\
00272 # The vector pose_flags contains additional display flags for the poses in the\n\
00273 # pose vector, for example, whether a pose is visible and/or\n\
00274 # the end of a trajectory segment. At the moment, this is only used by the\n\
00275 # prior_model_learner.\n\
00276 #\n\
00277 \n\
00278 std_msgs/Header header                        # frame and timestamp\n\
00279 int32 id                                # used-specified track id\n\
00280 \n\
00281 geometry_msgs/Pose[] pose               # sequence of poses, defining the observed trajectory\n\
00282 std_msgs/Header[] pose_headers                   # Timestamp and frame for each pose (and pose_projected)\n\
00283 geometry_msgs/Pose[] pose_projected     # sequence of poses, projected to the model \n\
00284                                         # (after model evaluation)\n\
00285 geometry_msgs/Pose[] pose_resampled     # sequence of poses, re-sampled from the model in\n\
00286                                         # the valid configuration range\n\
00287 uint32[] pose_flags                     # bit-wise combination of POSE_VISIBLE and POSE_END_OF_SEGMENT\n\
00288 \n\
00289 uint32 POSE_VISIBLE=1\n\
00290 uint32 POSE_END_OF_SEGMENT=2\n\
00291 \n\
00292 # Each channel should have the same number of elements as pose array, \n\
00293 # and the data in each channel should correspond 1:1 with each pose\n\
00294 # possible channels: \"width\", \"height\", \"rgb\", ...\n\
00295 sensor_msgs/ChannelFloat32[] channels       \n\
00296 \n\
00297 \n\
00298 \n\
00299 ================================================================================\n\
00300 MSG: geometry_msgs/Pose\n\
00301 # A representation of pose in free space, composed of postion and orientation. \n\
00302 Point position\n\
00303 Quaternion orientation\n\
00304 \n\
00305 ================================================================================\n\
00306 MSG: geometry_msgs/Point\n\
00307 # This contains the position of a point in free space\n\
00308 float64 x\n\
00309 float64 y\n\
00310 float64 z\n\
00311 \n\
00312 ================================================================================\n\
00313 MSG: geometry_msgs/Quaternion\n\
00314 # This represents an orientation in free space in quaternion form.\n\
00315 \n\
00316 float64 x\n\
00317 float64 y\n\
00318 float64 z\n\
00319 float64 w\n\
00320 \n\
00321 ================================================================================\n\
00322 MSG: sensor_msgs/ChannelFloat32\n\
00323 # This message is used by the PointCloud message to hold optional data\n\
00324 # associated with each point in the cloud. The length of the values\n\
00325 # array should be the same as the length of the points array in the\n\
00326 # PointCloud, and each value should be associated with the corresponding\n\
00327 # point.\n\
00328 \n\
00329 # Channel names in existing practice include:\n\
00330 #   \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00331 #              This is opposite to usual conventions but remains for\n\
00332 #              historical reasons. The newer PointCloud2 message has no\n\
00333 #              such problem.\n\
00334 #   \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00335 #           (R,G,B) values packed into the least significant 24 bits,\n\
00336 #           in order.\n\
00337 #   \"intensity\" - laser or pixel intensity.\n\
00338 #   \"distance\"\n\
00339 \n\
00340 # The channel name should give semantics of the channel (e.g.\n\
00341 # \"intensity\" instead of \"value\").\n\
00342 string name\n\
00343 \n\
00344 # The values array should be 1-1 with the elements of the associated\n\
00345 # PointCloud.\n\
00346 float32[] values\n\
00347 \n\
00348 ";
00349   }
00350 
00351   static const char* value(const  ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> &) { return value(); } 
00352 };
00353 
00354 } // namespace message_traits
00355 } // namespace ros
00356 
00357 namespace ros
00358 {
00359 namespace serialization
00360 {
00361 
00362 template<class ContainerAllocator> struct Serializer< ::articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> >
00363 {
00364   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00365   {
00366   }
00367 
00368   ROS_DECLARE_ALLINONE_SERIALIZER;
00369 }; // struct GetModelPriorSrvRequest_
00370 } // namespace serialization
00371 } // namespace ros
00372 
00373 
00374 namespace ros
00375 {
00376 namespace serialization
00377 {
00378 
00379 template<class ContainerAllocator> struct Serializer< ::articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> >
00380 {
00381   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00382   {
00383     stream.next(m.model);
00384   }
00385 
00386   ROS_DECLARE_ALLINONE_SERIALIZER;
00387 }; // struct GetModelPriorSrvResponse_
00388 } // namespace serialization
00389 } // namespace ros
00390 
00391 namespace ros
00392 {
00393 namespace service_traits
00394 {
00395 template<>
00396 struct MD5Sum<articulation_msgs::GetModelPriorSrv> {
00397   static const char* value() 
00398   {
00399     return "492b025b4d335f83e3fab65eb3211a27";
00400   }
00401 
00402   static const char* value(const articulation_msgs::GetModelPriorSrv&) { return value(); } 
00403 };
00404 
00405 template<>
00406 struct DataType<articulation_msgs::GetModelPriorSrv> {
00407   static const char* value() 
00408   {
00409     return "articulation_msgs/GetModelPriorSrv";
00410   }
00411 
00412   static const char* value(const articulation_msgs::GetModelPriorSrv&) { return value(); } 
00413 };
00414 
00415 template<class ContainerAllocator>
00416 struct MD5Sum<articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > {
00417   static const char* value() 
00418   {
00419     return "492b025b4d335f83e3fab65eb3211a27";
00420   }
00421 
00422   static const char* value(const articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> &) { return value(); } 
00423 };
00424 
00425 template<class ContainerAllocator>
00426 struct DataType<articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> > {
00427   static const char* value() 
00428   {
00429     return "articulation_msgs/GetModelPriorSrv";
00430   }
00431 
00432   static const char* value(const articulation_msgs::GetModelPriorSrvRequest_<ContainerAllocator> &) { return value(); } 
00433 };
00434 
00435 template<class ContainerAllocator>
00436 struct MD5Sum<articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > {
00437   static const char* value() 
00438   {
00439     return "492b025b4d335f83e3fab65eb3211a27";
00440   }
00441 
00442   static const char* value(const articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> &) { return value(); } 
00443 };
00444 
00445 template<class ContainerAllocator>
00446 struct DataType<articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> > {
00447   static const char* value() 
00448   {
00449     return "articulation_msgs/GetModelPriorSrv";
00450   }
00451 
00452   static const char* value(const articulation_msgs::GetModelPriorSrvResponse_<ContainerAllocator> &) { return value(); } 
00453 };
00454 
00455 } // namespace service_traits
00456 } // namespace ros
00457 
00458 #endif // ARTICULATION_MSGS_SERVICE_GETMODELPRIORSRV_H
00459 
 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