AddObject.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-hector_worldmodel/doc_stacks/2014-10-06_00-33-41.120387/hector_worldmodel/hector_worldmodel_msgs/srv/AddObject.srv */
00002 #ifndef HECTOR_WORLDMODEL_MSGS_SERVICE_ADDOBJECT_H
00003 #define HECTOR_WORLDMODEL_MSGS_SERVICE_ADDOBJECT_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 #include "hector_worldmodel_msgs/Object.h"
00020 
00021 
00022 #include "hector_worldmodel_msgs/Object.h"
00023 
00024 namespace hector_worldmodel_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct AddObjectRequest_ {
00028   typedef AddObjectRequest_<ContainerAllocator> Type;
00029 
00030   AddObjectRequest_()
00031   : object()
00032   , map_to_next_obstacle(false)
00033   {
00034   }
00035 
00036   AddObjectRequest_(const ContainerAllocator& _alloc)
00037   : object(_alloc)
00038   , map_to_next_obstacle(false)
00039   {
00040   }
00041 
00042   typedef  ::hector_worldmodel_msgs::Object_<ContainerAllocator>  _object_type;
00043    ::hector_worldmodel_msgs::Object_<ContainerAllocator>  object;
00044 
00045   typedef uint8_t _map_to_next_obstacle_type;
00046   uint8_t map_to_next_obstacle;
00047 
00048 
00049   typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct AddObjectRequest
00053 typedef  ::hector_worldmodel_msgs::AddObjectRequest_<std::allocator<void> > AddObjectRequest;
00054 
00055 typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectRequest> AddObjectRequestPtr;
00056 typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectRequest const> AddObjectRequestConstPtr;
00057 
00058 
00059 
00060 template <class ContainerAllocator>
00061 struct AddObjectResponse_ {
00062   typedef AddObjectResponse_<ContainerAllocator> Type;
00063 
00064   AddObjectResponse_()
00065   : object()
00066   {
00067   }
00068 
00069   AddObjectResponse_(const ContainerAllocator& _alloc)
00070   : object(_alloc)
00071   {
00072   }
00073 
00074   typedef  ::hector_worldmodel_msgs::Object_<ContainerAllocator>  _object_type;
00075    ::hector_worldmodel_msgs::Object_<ContainerAllocator>  object;
00076 
00077 
00078   typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > Ptr;
00079   typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator>  const> ConstPtr;
00080   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 }; // struct AddObjectResponse
00082 typedef  ::hector_worldmodel_msgs::AddObjectResponse_<std::allocator<void> > AddObjectResponse;
00083 
00084 typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectResponse> AddObjectResponsePtr;
00085 typedef boost::shared_ptr< ::hector_worldmodel_msgs::AddObjectResponse const> AddObjectResponseConstPtr;
00086 
00087 
00088 struct AddObject
00089 {
00090 
00091 typedef AddObjectRequest Request;
00092 typedef AddObjectResponse Response;
00093 Request request;
00094 Response response;
00095 
00096 typedef Request RequestType;
00097 typedef Response ResponseType;
00098 }; // struct AddObject
00099 } // namespace hector_worldmodel_msgs
00100 
00101 namespace ros
00102 {
00103 namespace message_traits
00104 {
00105 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator>  const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "e8c82f515de9d91badcd349a0de2b742";
00112   }
00113 
00114   static const char* value(const  ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00115   static const uint64_t static_value1 = 0xe8c82f515de9d91bULL;
00116   static const uint64_t static_value2 = 0xadcd349a0de2b742ULL;
00117 };
00118 
00119 template<class ContainerAllocator>
00120 struct DataType< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00121   static const char* value() 
00122   {
00123     return "hector_worldmodel_msgs/AddObjectRequest";
00124   }
00125 
00126   static const char* value(const  ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 template<class ContainerAllocator>
00130 struct Definition< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "\n\
00134 \n\
00135 \n\
00136 Object object\n\
00137 \n\
00138 \n\
00139 bool map_to_next_obstacle\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: hector_worldmodel_msgs/Object\n\
00143 # hector_worldmodel_msgs/Object\n\
00144 # This message represents an estimate of an object's pose and identity.\n\
00145 \n\
00146 # The header.\n\
00147 #   stamp: Timestamp of last update.\n\
00148 #   frame_id: Coordinate frame, in which the pose is given\n\
00149 Header header\n\
00150 \n\
00151 # The pose\n\
00152 geometry_msgs/PoseWithCovariance pose\n\
00153 \n\
00154 # Further information about the object\n\
00155 ObjectInfo info\n\
00156 \n\
00157 # The tracked state of the object\n\
00158 ObjectState state\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: std_msgs/Header\n\
00162 # Standard metadata for higher-level stamped data types.\n\
00163 # This is generally used to communicate timestamped data \n\
00164 # in a particular coordinate frame.\n\
00165 # \n\
00166 # sequence ID: consecutively increasing ID \n\
00167 uint32 seq\n\
00168 #Two-integer timestamp that is expressed as:\n\
00169 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00170 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00171 # time-handling sugar is provided by the client library\n\
00172 time stamp\n\
00173 #Frame this data is associated with\n\
00174 # 0: no frame\n\
00175 # 1: global frame\n\
00176 string frame_id\n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/PoseWithCovariance\n\
00180 # This represents a pose in free space with uncertainty.\n\
00181 \n\
00182 Pose pose\n\
00183 \n\
00184 # Row-major representation of the 6x6 covariance matrix\n\
00185 # The orientation parameters use a fixed-axis representation.\n\
00186 # In order, the parameters are:\n\
00187 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00188 float64[36] covariance\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geometry_msgs/Pose\n\
00192 # A representation of pose in free space, composed of postion and orientation. \n\
00193 Point position\n\
00194 Quaternion orientation\n\
00195 \n\
00196 ================================================================================\n\
00197 MSG: geometry_msgs/Point\n\
00198 # This contains the position of a point in free space\n\
00199 float64 x\n\
00200 float64 y\n\
00201 float64 z\n\
00202 \n\
00203 ================================================================================\n\
00204 MSG: geometry_msgs/Quaternion\n\
00205 # This represents an orientation in free space in quaternion form.\n\
00206 \n\
00207 float64 x\n\
00208 float64 y\n\
00209 float64 z\n\
00210 float64 w\n\
00211 \n\
00212 ================================================================================\n\
00213 MSG: hector_worldmodel_msgs/ObjectInfo\n\
00214 # hector_worldmodel_msgs/ObjectInfo\n\
00215 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00216 \n\
00217 # A string identifying the object's class (all objects of a class look the same)\n\
00218 string class_id\n\
00219 \n\
00220 # A string identifying the specific object\n\
00221 string object_id\n\
00222 \n\
00223 # A string that contains the name or a description of the specific object\n\
00224 string name\n\
00225 \n\
00226 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00227 float32 support\n\
00228 \n\
00229 \n\
00230 ================================================================================\n\
00231 MSG: hector_worldmodel_msgs/ObjectState\n\
00232 # The state of an object estimate used to track\n\
00233 # states smaller than 0 disable all updates\n\
00234 \n\
00235 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00236 int8 UNKNOWN = 0\n\
00237 int8 PENDING = 1\n\
00238 int8 ACTIVE  = 2\n\
00239 int8 INACTIVE = 3\n\
00240 int8 CONFIRMED = -1\n\
00241 int8 DISCARDED = -2\n\
00242 int8 APPROACHING = -3\n\
00243 \n\
00244 int8 state\n\
00245 \n\
00246 ";
00247   }
00248 
00249   static const char* value(const  ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00250 };
00251 
00252 } // namespace message_traits
00253 } // namespace ros
00254 
00255 
00256 namespace ros
00257 {
00258 namespace message_traits
00259 {
00260 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > : public TrueType {};
00261 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator>  const> : public TrueType {};
00262 template<class ContainerAllocator>
00263 struct MD5Sum< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00264   static const char* value() 
00265   {
00266     return "45a6d744054ce4dbd66f71ccfdc20273";
00267   }
00268 
00269   static const char* value(const  ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00270   static const uint64_t static_value1 = 0x45a6d744054ce4dbULL;
00271   static const uint64_t static_value2 = 0xd66f71ccfdc20273ULL;
00272 };
00273 
00274 template<class ContainerAllocator>
00275 struct DataType< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00276   static const char* value() 
00277   {
00278     return "hector_worldmodel_msgs/AddObjectResponse";
00279   }
00280 
00281   static const char* value(const  ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00282 };
00283 
00284 template<class ContainerAllocator>
00285 struct Definition< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00286   static const char* value() 
00287   {
00288     return "\n\
00289 Object object\n\
00290 \n\
00291 \n\
00292 ================================================================================\n\
00293 MSG: hector_worldmodel_msgs/Object\n\
00294 # hector_worldmodel_msgs/Object\n\
00295 # This message represents an estimate of an object's pose and identity.\n\
00296 \n\
00297 # The header.\n\
00298 #   stamp: Timestamp of last update.\n\
00299 #   frame_id: Coordinate frame, in which the pose is given\n\
00300 Header header\n\
00301 \n\
00302 # The pose\n\
00303 geometry_msgs/PoseWithCovariance pose\n\
00304 \n\
00305 # Further information about the object\n\
00306 ObjectInfo info\n\
00307 \n\
00308 # The tracked state of the object\n\
00309 ObjectState state\n\
00310 \n\
00311 ================================================================================\n\
00312 MSG: std_msgs/Header\n\
00313 # Standard metadata for higher-level stamped data types.\n\
00314 # This is generally used to communicate timestamped data \n\
00315 # in a particular coordinate frame.\n\
00316 # \n\
00317 # sequence ID: consecutively increasing ID \n\
00318 uint32 seq\n\
00319 #Two-integer timestamp that is expressed as:\n\
00320 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00321 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00322 # time-handling sugar is provided by the client library\n\
00323 time stamp\n\
00324 #Frame this data is associated with\n\
00325 # 0: no frame\n\
00326 # 1: global frame\n\
00327 string frame_id\n\
00328 \n\
00329 ================================================================================\n\
00330 MSG: geometry_msgs/PoseWithCovariance\n\
00331 # This represents a pose in free space with uncertainty.\n\
00332 \n\
00333 Pose pose\n\
00334 \n\
00335 # Row-major representation of the 6x6 covariance matrix\n\
00336 # The orientation parameters use a fixed-axis representation.\n\
00337 # In order, the parameters are:\n\
00338 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00339 float64[36] covariance\n\
00340 \n\
00341 ================================================================================\n\
00342 MSG: geometry_msgs/Pose\n\
00343 # A representation of pose in free space, composed of postion and orientation. \n\
00344 Point position\n\
00345 Quaternion orientation\n\
00346 \n\
00347 ================================================================================\n\
00348 MSG: geometry_msgs/Point\n\
00349 # This contains the position of a point in free space\n\
00350 float64 x\n\
00351 float64 y\n\
00352 float64 z\n\
00353 \n\
00354 ================================================================================\n\
00355 MSG: geometry_msgs/Quaternion\n\
00356 # This represents an orientation in free space in quaternion form.\n\
00357 \n\
00358 float64 x\n\
00359 float64 y\n\
00360 float64 z\n\
00361 float64 w\n\
00362 \n\
00363 ================================================================================\n\
00364 MSG: hector_worldmodel_msgs/ObjectInfo\n\
00365 # hector_worldmodel_msgs/ObjectInfo\n\
00366 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00367 \n\
00368 # A string identifying the object's class (all objects of a class look the same)\n\
00369 string class_id\n\
00370 \n\
00371 # A string identifying the specific object\n\
00372 string object_id\n\
00373 \n\
00374 # A string that contains the name or a description of the specific object\n\
00375 string name\n\
00376 \n\
00377 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00378 float32 support\n\
00379 \n\
00380 \n\
00381 ================================================================================\n\
00382 MSG: hector_worldmodel_msgs/ObjectState\n\
00383 # The state of an object estimate used to track\n\
00384 # states smaller than 0 disable all updates\n\
00385 \n\
00386 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00387 int8 UNKNOWN = 0\n\
00388 int8 PENDING = 1\n\
00389 int8 ACTIVE  = 2\n\
00390 int8 INACTIVE = 3\n\
00391 int8 CONFIRMED = -1\n\
00392 int8 DISCARDED = -2\n\
00393 int8 APPROACHING = -3\n\
00394 \n\
00395 int8 state\n\
00396 \n\
00397 ";
00398   }
00399 
00400   static const char* value(const  ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00401 };
00402 
00403 } // namespace message_traits
00404 } // namespace ros
00405 
00406 namespace ros
00407 {
00408 namespace serialization
00409 {
00410 
00411 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> >
00412 {
00413   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00414   {
00415     stream.next(m.object);
00416     stream.next(m.map_to_next_obstacle);
00417   }
00418 
00419   ROS_DECLARE_ALLINONE_SERIALIZER;
00420 }; // struct AddObjectRequest_
00421 } // namespace serialization
00422 } // namespace ros
00423 
00424 
00425 namespace ros
00426 {
00427 namespace serialization
00428 {
00429 
00430 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> >
00431 {
00432   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00433   {
00434     stream.next(m.object);
00435   }
00436 
00437   ROS_DECLARE_ALLINONE_SERIALIZER;
00438 }; // struct AddObjectResponse_
00439 } // namespace serialization
00440 } // namespace ros
00441 
00442 namespace ros
00443 {
00444 namespace service_traits
00445 {
00446 template<>
00447 struct MD5Sum<hector_worldmodel_msgs::AddObject> {
00448   static const char* value() 
00449   {
00450     return "3fb8af17854d0a0aa1df05f91f7ba459";
00451   }
00452 
00453   static const char* value(const hector_worldmodel_msgs::AddObject&) { return value(); } 
00454 };
00455 
00456 template<>
00457 struct DataType<hector_worldmodel_msgs::AddObject> {
00458   static const char* value() 
00459   {
00460     return "hector_worldmodel_msgs/AddObject";
00461   }
00462 
00463   static const char* value(const hector_worldmodel_msgs::AddObject&) { return value(); } 
00464 };
00465 
00466 template<class ContainerAllocator>
00467 struct MD5Sum<hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00468   static const char* value() 
00469   {
00470     return "3fb8af17854d0a0aa1df05f91f7ba459";
00471   }
00472 
00473   static const char* value(const hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00474 };
00475 
00476 template<class ContainerAllocator>
00477 struct DataType<hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> > {
00478   static const char* value() 
00479   {
00480     return "hector_worldmodel_msgs/AddObject";
00481   }
00482 
00483   static const char* value(const hector_worldmodel_msgs::AddObjectRequest_<ContainerAllocator> &) { return value(); } 
00484 };
00485 
00486 template<class ContainerAllocator>
00487 struct MD5Sum<hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00488   static const char* value() 
00489   {
00490     return "3fb8af17854d0a0aa1df05f91f7ba459";
00491   }
00492 
00493   static const char* value(const hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00494 };
00495 
00496 template<class ContainerAllocator>
00497 struct DataType<hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> > {
00498   static const char* value() 
00499   {
00500     return "hector_worldmodel_msgs/AddObject";
00501   }
00502 
00503   static const char* value(const hector_worldmodel_msgs::AddObjectResponse_<ContainerAllocator> &) { return value(); } 
00504 };
00505 
00506 } // namespace service_traits
00507 } // namespace ros
00508 
00509 #endif // HECTOR_WORLDMODEL_MSGS_SERVICE_ADDOBJECT_H
00510 


hector_worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Oct 6 2014 00:36:27