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