$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-humanoid_msgs/doc_stacks/2013-03-05_11-57-21.881989/humanoid_msgs/humanoid_nav_msgs/srv/StepTargetService.srv */ 00002 #ifndef HUMANOID_NAV_MSGS_SERVICE_STEPTARGETSERVICE_H 00003 #define HUMANOID_NAV_MSGS_SERVICE_STEPTARGETSERVICE_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 "humanoid_nav_msgs/StepTarget.h" 00020 00021 00022 00023 namespace humanoid_nav_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct StepTargetServiceRequest_ { 00027 typedef StepTargetServiceRequest_<ContainerAllocator> Type; 00028 00029 StepTargetServiceRequest_() 00030 : step() 00031 { 00032 } 00033 00034 StepTargetServiceRequest_(const ContainerAllocator& _alloc) 00035 : step(_alloc) 00036 { 00037 } 00038 00039 typedef ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> _step_type; 00040 ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> step; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "humanoid_nav_msgs/StepTargetServiceRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "f22cfce442b381849d82602383b052c7"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "f22cfce442b381849d82602383b052c7"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "\n\ 00066 humanoid_nav_msgs/StepTarget step\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: humanoid_nav_msgs/StepTarget\n\ 00070 # Target for a single stepping motion of a humanoid's leg\n\ 00071 \n\ 00072 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00073 uint8 leg # which leg to use (left/right, see below)\n\ 00074 \n\ 00075 uint8 right=0 # right leg constant\n\ 00076 uint8 left=1 # left leg constant\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: geometry_msgs/Pose2D\n\ 00080 # This expresses a position and orientation on a 2D manifold.\n\ 00081 \n\ 00082 float64 x\n\ 00083 float64 y\n\ 00084 float64 theta\n\ 00085 "; } 00086 public: 00087 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00088 00089 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00090 00091 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00092 { 00093 ros::serialization::OStream stream(write_ptr, 1000000000); 00094 ros::serialization::serialize(stream, step); 00095 return stream.getData(); 00096 } 00097 00098 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00099 { 00100 ros::serialization::IStream stream(read_ptr, 1000000000); 00101 ros::serialization::deserialize(stream, step); 00102 return stream.getData(); 00103 } 00104 00105 ROS_DEPRECATED virtual uint32_t serializationLength() const 00106 { 00107 uint32_t size = 0; 00108 size += ros::serialization::serializationLength(step); 00109 return size; 00110 } 00111 00112 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > Ptr; 00113 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> const> ConstPtr; 00114 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00115 }; // struct StepTargetServiceRequest 00116 typedef ::humanoid_nav_msgs::StepTargetServiceRequest_<std::allocator<void> > StepTargetServiceRequest; 00117 00118 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceRequest> StepTargetServiceRequestPtr; 00119 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceRequest const> StepTargetServiceRequestConstPtr; 00120 00121 00122 template <class ContainerAllocator> 00123 struct StepTargetServiceResponse_ { 00124 typedef StepTargetServiceResponse_<ContainerAllocator> Type; 00125 00126 StepTargetServiceResponse_() 00127 { 00128 } 00129 00130 StepTargetServiceResponse_(const ContainerAllocator& _alloc) 00131 { 00132 } 00133 00134 00135 private: 00136 static const char* __s_getDataType_() { return "humanoid_nav_msgs/StepTargetServiceResponse"; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00139 00140 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00141 00142 private: 00143 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00144 public: 00145 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00146 00147 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00148 00149 private: 00150 static const char* __s_getServerMD5Sum_() { return "f22cfce442b381849d82602383b052c7"; } 00151 public: 00152 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00153 00154 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00155 00156 private: 00157 static const char* __s_getMessageDefinition_() { return "\n\ 00158 \n\ 00159 "; } 00160 public: 00161 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00162 00163 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00164 00165 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00166 { 00167 ros::serialization::OStream stream(write_ptr, 1000000000); 00168 return stream.getData(); 00169 } 00170 00171 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00172 { 00173 ros::serialization::IStream stream(read_ptr, 1000000000); 00174 return stream.getData(); 00175 } 00176 00177 ROS_DEPRECATED virtual uint32_t serializationLength() const 00178 { 00179 uint32_t size = 0; 00180 return size; 00181 } 00182 00183 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > Ptr; 00184 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> const> ConstPtr; 00185 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00186 }; // struct StepTargetServiceResponse 00187 typedef ::humanoid_nav_msgs::StepTargetServiceResponse_<std::allocator<void> > StepTargetServiceResponse; 00188 00189 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceResponse> StepTargetServiceResponsePtr; 00190 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTargetServiceResponse const> StepTargetServiceResponseConstPtr; 00191 00192 struct StepTargetService 00193 { 00194 00195 typedef StepTargetServiceRequest Request; 00196 typedef StepTargetServiceResponse Response; 00197 Request request; 00198 Response response; 00199 00200 typedef Request RequestType; 00201 typedef Response ResponseType; 00202 }; // struct StepTargetService 00203 } // namespace humanoid_nav_msgs 00204 00205 namespace ros 00206 { 00207 namespace message_traits 00208 { 00209 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > : public TrueType {}; 00210 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> const> : public TrueType {}; 00211 template<class ContainerAllocator> 00212 struct MD5Sum< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > { 00213 static const char* value() 00214 { 00215 return "f22cfce442b381849d82602383b052c7"; 00216 } 00217 00218 static const char* value(const ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> &) { return value(); } 00219 static const uint64_t static_value1 = 0xf22cfce442b38184ULL; 00220 static const uint64_t static_value2 = 0x9d82602383b052c7ULL; 00221 }; 00222 00223 template<class ContainerAllocator> 00224 struct DataType< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > { 00225 static const char* value() 00226 { 00227 return "humanoid_nav_msgs/StepTargetServiceRequest"; 00228 } 00229 00230 static const char* value(const ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> &) { return value(); } 00231 }; 00232 00233 template<class ContainerAllocator> 00234 struct Definition< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > { 00235 static const char* value() 00236 { 00237 return "\n\ 00238 humanoid_nav_msgs/StepTarget step\n\ 00239 \n\ 00240 ================================================================================\n\ 00241 MSG: humanoid_nav_msgs/StepTarget\n\ 00242 # Target for a single stepping motion of a humanoid's leg\n\ 00243 \n\ 00244 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00245 uint8 leg # which leg to use (left/right, see below)\n\ 00246 \n\ 00247 uint8 right=0 # right leg constant\n\ 00248 uint8 left=1 # left leg constant\n\ 00249 \n\ 00250 ================================================================================\n\ 00251 MSG: geometry_msgs/Pose2D\n\ 00252 # This expresses a position and orientation on a 2D manifold.\n\ 00253 \n\ 00254 float64 x\n\ 00255 float64 y\n\ 00256 float64 theta\n\ 00257 "; 00258 } 00259 00260 static const char* value(const ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> struct IsFixedSize< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > : public TrueType {}; 00264 } // namespace message_traits 00265 } // namespace ros 00266 00267 00268 namespace ros 00269 { 00270 namespace message_traits 00271 { 00272 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > : public TrueType {}; 00273 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> const> : public TrueType {}; 00274 template<class ContainerAllocator> 00275 struct MD5Sum< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > { 00276 static const char* value() 00277 { 00278 return "d41d8cd98f00b204e9800998ecf8427e"; 00279 } 00280 00281 static const char* value(const ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> &) { return value(); } 00282 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00283 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00284 }; 00285 00286 template<class ContainerAllocator> 00287 struct DataType< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > { 00288 static const char* value() 00289 { 00290 return "humanoid_nav_msgs/StepTargetServiceResponse"; 00291 } 00292 00293 static const char* value(const ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> &) { return value(); } 00294 }; 00295 00296 template<class ContainerAllocator> 00297 struct Definition< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > { 00298 static const char* value() 00299 { 00300 return "\n\ 00301 \n\ 00302 "; 00303 } 00304 00305 static const char* value(const ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> &) { return value(); } 00306 }; 00307 00308 template<class ContainerAllocator> struct IsFixedSize< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > : public TrueType {}; 00309 } // namespace message_traits 00310 } // namespace ros 00311 00312 namespace ros 00313 { 00314 namespace serialization 00315 { 00316 00317 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > 00318 { 00319 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00320 { 00321 stream.next(m.step); 00322 } 00323 00324 ROS_DECLARE_ALLINONE_SERIALIZER; 00325 }; // struct StepTargetServiceRequest_ 00326 } // namespace serialization 00327 } // namespace ros 00328 00329 00330 namespace ros 00331 { 00332 namespace serialization 00333 { 00334 00335 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > 00336 { 00337 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00338 { 00339 } 00340 00341 ROS_DECLARE_ALLINONE_SERIALIZER; 00342 }; // struct StepTargetServiceResponse_ 00343 } // namespace serialization 00344 } // namespace ros 00345 00346 namespace ros 00347 { 00348 namespace service_traits 00349 { 00350 template<> 00351 struct MD5Sum<humanoid_nav_msgs::StepTargetService> { 00352 static const char* value() 00353 { 00354 return "f22cfce442b381849d82602383b052c7"; 00355 } 00356 00357 static const char* value(const humanoid_nav_msgs::StepTargetService&) { return value(); } 00358 }; 00359 00360 template<> 00361 struct DataType<humanoid_nav_msgs::StepTargetService> { 00362 static const char* value() 00363 { 00364 return "humanoid_nav_msgs/StepTargetService"; 00365 } 00366 00367 static const char* value(const humanoid_nav_msgs::StepTargetService&) { return value(); } 00368 }; 00369 00370 template<class ContainerAllocator> 00371 struct MD5Sum<humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > { 00372 static const char* value() 00373 { 00374 return "f22cfce442b381849d82602383b052c7"; 00375 } 00376 00377 static const char* value(const humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> &) { return value(); } 00378 }; 00379 00380 template<class ContainerAllocator> 00381 struct DataType<humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> > { 00382 static const char* value() 00383 { 00384 return "humanoid_nav_msgs/StepTargetService"; 00385 } 00386 00387 static const char* value(const humanoid_nav_msgs::StepTargetServiceRequest_<ContainerAllocator> &) { return value(); } 00388 }; 00389 00390 template<class ContainerAllocator> 00391 struct MD5Sum<humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > { 00392 static const char* value() 00393 { 00394 return "f22cfce442b381849d82602383b052c7"; 00395 } 00396 00397 static const char* value(const humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> &) { return value(); } 00398 }; 00399 00400 template<class ContainerAllocator> 00401 struct DataType<humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> > { 00402 static const char* value() 00403 { 00404 return "humanoid_nav_msgs/StepTargetService"; 00405 } 00406 00407 static const char* value(const humanoid_nav_msgs::StepTargetServiceResponse_<ContainerAllocator> &) { return value(); } 00408 }; 00409 00410 } // namespace service_traits 00411 } // namespace ros 00412 00413 #endif // HUMANOID_NAV_MSGS_SERVICE_STEPTARGETSERVICE_H 00414