Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVCOLLOBJ_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVCOLLOBJ_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 "geometry_msgs/PoseStamped.h"
00020 #include "geometry_msgs/Point.h"
00021
00022
00023
00024 namespace srs_assisted_arm_navigation_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct ArmNavCollObjRequest_ {
00028 typedef ArmNavCollObjRequest_<ContainerAllocator> Type;
00029
00030 ArmNavCollObjRequest_()
00031 : object_name()
00032 , pose()
00033 , bb_lwh()
00034 , allow_collision(false)
00035 , attached(false)
00036 , attach_to_frame_id()
00037 , allow_pregrasps(false)
00038 {
00039 }
00040
00041 ArmNavCollObjRequest_(const ContainerAllocator& _alloc)
00042 : object_name(_alloc)
00043 , pose(_alloc)
00044 , bb_lwh(_alloc)
00045 , allow_collision(false)
00046 , attached(false)
00047 , attach_to_frame_id(_alloc)
00048 , allow_pregrasps(false)
00049 {
00050 }
00051
00052 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type;
00053 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name;
00054
00055 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00056 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00057
00058 typedef ::geometry_msgs::Point_<ContainerAllocator> _bb_lwh_type;
00059 ::geometry_msgs::Point_<ContainerAllocator> bb_lwh;
00060
00061 typedef uint8_t _allow_collision_type;
00062 uint8_t allow_collision;
00063
00064 typedef uint8_t _attached_type;
00065 uint8_t attached;
00066
00067 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _attach_to_frame_id_type;
00068 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > attach_to_frame_id;
00069
00070 typedef uint8_t _allow_pregrasps_type;
00071 uint8_t allow_pregrasps;
00072
00073
00074 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > Ptr;
00075 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> const> ConstPtr;
00076 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 };
00078 typedef ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<std::allocator<void> > ArmNavCollObjRequest;
00079
00080 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest> ArmNavCollObjRequestPtr;
00081 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest const> ArmNavCollObjRequestConstPtr;
00082
00083
00084
00085 template <class ContainerAllocator>
00086 struct ArmNavCollObjResponse_ {
00087 typedef ArmNavCollObjResponse_<ContainerAllocator> Type;
00088
00089 ArmNavCollObjResponse_()
00090 : completed(false)
00091 , msg()
00092 {
00093 }
00094
00095 ArmNavCollObjResponse_(const ContainerAllocator& _alloc)
00096 : completed(false)
00097 , msg(_alloc)
00098 {
00099 }
00100
00101 typedef uint8_t _completed_type;
00102 uint8_t completed;
00103
00104 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type;
00105 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg;
00106
00107
00108 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > Ptr;
00109 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> const> ConstPtr;
00110 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00111 };
00112 typedef ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<std::allocator<void> > ArmNavCollObjResponse;
00113
00114 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse> ArmNavCollObjResponsePtr;
00115 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse const> ArmNavCollObjResponseConstPtr;
00116
00117
00118 struct ArmNavCollObj
00119 {
00120
00121 typedef ArmNavCollObjRequest Request;
00122 typedef ArmNavCollObjResponse Response;
00123 Request request;
00124 Response response;
00125
00126 typedef Request RequestType;
00127 typedef Response ResponseType;
00128 };
00129 }
00130
00131 namespace ros
00132 {
00133 namespace message_traits
00134 {
00135 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > : public TrueType {};
00136 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> const> : public TrueType {};
00137 template<class ContainerAllocator>
00138 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "97c8e64e0da61b2f0eb0ea8f7b85c3de";
00142 }
00143
00144 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> &) { return value(); }
00145 static const uint64_t static_value1 = 0x97c8e64e0da61b2fULL;
00146 static const uint64_t static_value2 = 0x0eb0ea8f7b85c3deULL;
00147 };
00148
00149 template<class ContainerAllocator>
00150 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > {
00151 static const char* value()
00152 {
00153 return "srs_assisted_arm_navigation_msgs/ArmNavCollObjRequest";
00154 }
00155
00156 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> &) { return value(); }
00157 };
00158
00159 template<class ContainerAllocator>
00160 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > {
00161 static const char* value()
00162 {
00163 return "string object_name\n\
00164 geometry_msgs/PoseStamped pose\n\
00165 geometry_msgs/Point bb_lwh\n\
00166 bool allow_collision\n\
00167 bool attached\n\
00168 string attach_to_frame_id\n\
00169 bool allow_pregrasps\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/PoseStamped\n\
00173 # A Pose with reference coordinate frame and timestamp\n\
00174 Header header\n\
00175 Pose pose\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: std_msgs/Header\n\
00179 # Standard metadata for higher-level stamped data types.\n\
00180 # This is generally used to communicate timestamped data \n\
00181 # in a particular coordinate frame.\n\
00182 # \n\
00183 # sequence ID: consecutively increasing ID \n\
00184 uint32 seq\n\
00185 #Two-integer timestamp that is expressed as:\n\
00186 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00187 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00188 # time-handling sugar is provided by the client library\n\
00189 time stamp\n\
00190 #Frame this data is associated with\n\
00191 # 0: no frame\n\
00192 # 1: global frame\n\
00193 string frame_id\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: geometry_msgs/Pose\n\
00197 # A representation of pose in free space, composed of postion and orientation. \n\
00198 Point position\n\
00199 Quaternion orientation\n\
00200 \n\
00201 ================================================================================\n\
00202 MSG: geometry_msgs/Point\n\
00203 # This contains the position of a point in free space\n\
00204 float64 x\n\
00205 float64 y\n\
00206 float64 z\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: geometry_msgs/Quaternion\n\
00210 # This represents an orientation in free space in quaternion form.\n\
00211 \n\
00212 float64 x\n\
00213 float64 y\n\
00214 float64 z\n\
00215 float64 w\n\
00216 \n\
00217 ";
00218 }
00219
00220 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> &) { return value(); }
00221 };
00222
00223 }
00224 }
00225
00226
00227 namespace ros
00228 {
00229 namespace message_traits
00230 {
00231 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > : public TrueType {};
00232 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> const> : public TrueType {};
00233 template<class ContainerAllocator>
00234 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > {
00235 static const char* value()
00236 {
00237 return "7de7f4695a268566c2ce9ae9e3a34e73";
00238 }
00239
00240 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> &) { return value(); }
00241 static const uint64_t static_value1 = 0x7de7f4695a268566ULL;
00242 static const uint64_t static_value2 = 0xc2ce9ae9e3a34e73ULL;
00243 };
00244
00245 template<class ContainerAllocator>
00246 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > {
00247 static const char* value()
00248 {
00249 return "srs_assisted_arm_navigation_msgs/ArmNavCollObjResponse";
00250 }
00251
00252 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> &) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "bool completed\n\
00260 string msg\n\
00261 \n\
00262 ";
00263 }
00264
00265 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 }
00269 }
00270
00271 namespace ros
00272 {
00273 namespace serialization
00274 {
00275
00276 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> >
00277 {
00278 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00279 {
00280 stream.next(m.object_name);
00281 stream.next(m.pose);
00282 stream.next(m.bb_lwh);
00283 stream.next(m.allow_collision);
00284 stream.next(m.attached);
00285 stream.next(m.attach_to_frame_id);
00286 stream.next(m.allow_pregrasps);
00287 }
00288
00289 ROS_DECLARE_ALLINONE_SERIALIZER;
00290 };
00291 }
00292 }
00293
00294
00295 namespace ros
00296 {
00297 namespace serialization
00298 {
00299
00300 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> >
00301 {
00302 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00303 {
00304 stream.next(m.completed);
00305 stream.next(m.msg);
00306 }
00307
00308 ROS_DECLARE_ALLINONE_SERIALIZER;
00309 };
00310 }
00311 }
00312
00313 namespace ros
00314 {
00315 namespace service_traits
00316 {
00317 template<>
00318 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavCollObj> {
00319 static const char* value()
00320 {
00321 return "63b0a204272b75794df041b3be314a82";
00322 }
00323
00324 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavCollObj&) { return value(); }
00325 };
00326
00327 template<>
00328 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavCollObj> {
00329 static const char* value()
00330 {
00331 return "srs_assisted_arm_navigation_msgs/ArmNavCollObj";
00332 }
00333
00334 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavCollObj&) { return value(); }
00335 };
00336
00337 template<class ContainerAllocator>
00338 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > {
00339 static const char* value()
00340 {
00341 return "63b0a204272b75794df041b3be314a82";
00342 }
00343
00344 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> &) { return value(); }
00345 };
00346
00347 template<class ContainerAllocator>
00348 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> > {
00349 static const char* value()
00350 {
00351 return "srs_assisted_arm_navigation_msgs/ArmNavCollObj";
00352 }
00353
00354 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavCollObjRequest_<ContainerAllocator> &) { return value(); }
00355 };
00356
00357 template<class ContainerAllocator>
00358 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > {
00359 static const char* value()
00360 {
00361 return "63b0a204272b75794df041b3be314a82";
00362 }
00363
00364 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> &) { return value(); }
00365 };
00366
00367 template<class ContainerAllocator>
00368 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> > {
00369 static const char* value()
00370 {
00371 return "srs_assisted_arm_navigation_msgs/ArmNavCollObj";
00372 }
00373
00374 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavCollObjResponse_<ContainerAllocator> &) { return value(); }
00375 };
00376
00377 }
00378 }
00379
00380 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVCOLLOBJ_H
00381