$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/ClipFootstep.srv */ 00002 #ifndef HUMANOID_NAV_MSGS_SERVICE_CLIPFOOTSTEP_H 00003 #define HUMANOID_NAV_MSGS_SERVICE_CLIPFOOTSTEP_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 #include "humanoid_nav_msgs/StepTarget.h" 00023 00024 namespace humanoid_nav_msgs 00025 { 00026 template <class ContainerAllocator> 00027 struct ClipFootstepRequest_ { 00028 typedef ClipFootstepRequest_<ContainerAllocator> Type; 00029 00030 ClipFootstepRequest_() 00031 : step() 00032 { 00033 } 00034 00035 ClipFootstepRequest_(const ContainerAllocator& _alloc) 00036 : step(_alloc) 00037 { 00038 } 00039 00040 typedef ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> _step_type; 00041 ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> step; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "humanoid_nav_msgs/ClipFootstepRequest"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "f22cfce442b381849d82602383b052c7"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getServerMD5Sum_() { return "394ac576028f40af6569704f845b86a1"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "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::ClipFootstepRequest_<ContainerAllocator> > Ptr; 00113 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> const> ConstPtr; 00114 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00115 }; // struct ClipFootstepRequest 00116 typedef ::humanoid_nav_msgs::ClipFootstepRequest_<std::allocator<void> > ClipFootstepRequest; 00117 00118 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepRequest> ClipFootstepRequestPtr; 00119 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepRequest const> ClipFootstepRequestConstPtr; 00120 00121 00122 template <class ContainerAllocator> 00123 struct ClipFootstepResponse_ { 00124 typedef ClipFootstepResponse_<ContainerAllocator> Type; 00125 00126 ClipFootstepResponse_() 00127 : step() 00128 { 00129 } 00130 00131 ClipFootstepResponse_(const ContainerAllocator& _alloc) 00132 : step(_alloc) 00133 { 00134 } 00135 00136 typedef ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> _step_type; 00137 ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> step; 00138 00139 00140 private: 00141 static const char* __s_getDataType_() { return "humanoid_nav_msgs/ClipFootstepResponse"; } 00142 public: 00143 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00144 00145 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00146 00147 private: 00148 static const char* __s_getMD5Sum_() { return "f22cfce442b381849d82602383b052c7"; } 00149 public: 00150 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00151 00152 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00153 00154 private: 00155 static const char* __s_getServerMD5Sum_() { return "394ac576028f40af6569704f845b86a1"; } 00156 public: 00157 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00158 00159 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00160 00161 private: 00162 static const char* __s_getMessageDefinition_() { return "StepTarget step\n\ 00163 \n\ 00164 \n\ 00165 ================================================================================\n\ 00166 MSG: humanoid_nav_msgs/StepTarget\n\ 00167 # Target for a single stepping motion of a humanoid's leg\n\ 00168 \n\ 00169 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00170 uint8 leg # which leg to use (left/right, see below)\n\ 00171 \n\ 00172 uint8 right=0 # right leg constant\n\ 00173 uint8 left=1 # left leg constant\n\ 00174 \n\ 00175 ================================================================================\n\ 00176 MSG: geometry_msgs/Pose2D\n\ 00177 # This expresses a position and orientation on a 2D manifold.\n\ 00178 \n\ 00179 float64 x\n\ 00180 float64 y\n\ 00181 float64 theta\n\ 00182 "; } 00183 public: 00184 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00185 00186 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00187 00188 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00189 { 00190 ros::serialization::OStream stream(write_ptr, 1000000000); 00191 ros::serialization::serialize(stream, step); 00192 return stream.getData(); 00193 } 00194 00195 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00196 { 00197 ros::serialization::IStream stream(read_ptr, 1000000000); 00198 ros::serialization::deserialize(stream, step); 00199 return stream.getData(); 00200 } 00201 00202 ROS_DEPRECATED virtual uint32_t serializationLength() const 00203 { 00204 uint32_t size = 0; 00205 size += ros::serialization::serializationLength(step); 00206 return size; 00207 } 00208 00209 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > Ptr; 00210 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> const> ConstPtr; 00211 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00212 }; // struct ClipFootstepResponse 00213 typedef ::humanoid_nav_msgs::ClipFootstepResponse_<std::allocator<void> > ClipFootstepResponse; 00214 00215 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepResponse> ClipFootstepResponsePtr; 00216 typedef boost::shared_ptr< ::humanoid_nav_msgs::ClipFootstepResponse const> ClipFootstepResponseConstPtr; 00217 00218 struct ClipFootstep 00219 { 00220 00221 typedef ClipFootstepRequest Request; 00222 typedef ClipFootstepResponse Response; 00223 Request request; 00224 Response response; 00225 00226 typedef Request RequestType; 00227 typedef Response ResponseType; 00228 }; // struct ClipFootstep 00229 } // namespace humanoid_nav_msgs 00230 00231 namespace ros 00232 { 00233 namespace message_traits 00234 { 00235 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > : public TrueType {}; 00236 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> const> : public TrueType {}; 00237 template<class ContainerAllocator> 00238 struct MD5Sum< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > { 00239 static const char* value() 00240 { 00241 return "f22cfce442b381849d82602383b052c7"; 00242 } 00243 00244 static const char* value(const ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> &) { return value(); } 00245 static const uint64_t static_value1 = 0xf22cfce442b38184ULL; 00246 static const uint64_t static_value2 = 0x9d82602383b052c7ULL; 00247 }; 00248 00249 template<class ContainerAllocator> 00250 struct DataType< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > { 00251 static const char* value() 00252 { 00253 return "humanoid_nav_msgs/ClipFootstepRequest"; 00254 } 00255 00256 static const char* value(const ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> &) { return value(); } 00257 }; 00258 00259 template<class ContainerAllocator> 00260 struct Definition< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > { 00261 static const char* value() 00262 { 00263 return "StepTarget step\n\ 00264 \n\ 00265 ================================================================================\n\ 00266 MSG: humanoid_nav_msgs/StepTarget\n\ 00267 # Target for a single stepping motion of a humanoid's leg\n\ 00268 \n\ 00269 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00270 uint8 leg # which leg to use (left/right, see below)\n\ 00271 \n\ 00272 uint8 right=0 # right leg constant\n\ 00273 uint8 left=1 # left leg constant\n\ 00274 \n\ 00275 ================================================================================\n\ 00276 MSG: geometry_msgs/Pose2D\n\ 00277 # This expresses a position and orientation on a 2D manifold.\n\ 00278 \n\ 00279 float64 x\n\ 00280 float64 y\n\ 00281 float64 theta\n\ 00282 "; 00283 } 00284 00285 static const char* value(const ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> &) { return value(); } 00286 }; 00287 00288 template<class ContainerAllocator> struct IsFixedSize< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > : public TrueType {}; 00289 } // namespace message_traits 00290 } // namespace ros 00291 00292 00293 namespace ros 00294 { 00295 namespace message_traits 00296 { 00297 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > : public TrueType {}; 00298 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> const> : public TrueType {}; 00299 template<class ContainerAllocator> 00300 struct MD5Sum< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > { 00301 static const char* value() 00302 { 00303 return "f22cfce442b381849d82602383b052c7"; 00304 } 00305 00306 static const char* value(const ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> &) { return value(); } 00307 static const uint64_t static_value1 = 0xf22cfce442b38184ULL; 00308 static const uint64_t static_value2 = 0x9d82602383b052c7ULL; 00309 }; 00310 00311 template<class ContainerAllocator> 00312 struct DataType< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > { 00313 static const char* value() 00314 { 00315 return "humanoid_nav_msgs/ClipFootstepResponse"; 00316 } 00317 00318 static const char* value(const ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> &) { return value(); } 00319 }; 00320 00321 template<class ContainerAllocator> 00322 struct Definition< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > { 00323 static const char* value() 00324 { 00325 return "StepTarget step\n\ 00326 \n\ 00327 \n\ 00328 ================================================================================\n\ 00329 MSG: humanoid_nav_msgs/StepTarget\n\ 00330 # Target for a single stepping motion of a humanoid's leg\n\ 00331 \n\ 00332 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00333 uint8 leg # which leg to use (left/right, see below)\n\ 00334 \n\ 00335 uint8 right=0 # right leg constant\n\ 00336 uint8 left=1 # left leg constant\n\ 00337 \n\ 00338 ================================================================================\n\ 00339 MSG: geometry_msgs/Pose2D\n\ 00340 # This expresses a position and orientation on a 2D manifold.\n\ 00341 \n\ 00342 float64 x\n\ 00343 float64 y\n\ 00344 float64 theta\n\ 00345 "; 00346 } 00347 00348 static const char* value(const ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> &) { return value(); } 00349 }; 00350 00351 template<class ContainerAllocator> struct IsFixedSize< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > : public TrueType {}; 00352 } // namespace message_traits 00353 } // namespace ros 00354 00355 namespace ros 00356 { 00357 namespace serialization 00358 { 00359 00360 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > 00361 { 00362 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00363 { 00364 stream.next(m.step); 00365 } 00366 00367 ROS_DECLARE_ALLINONE_SERIALIZER; 00368 }; // struct ClipFootstepRequest_ 00369 } // namespace serialization 00370 } // namespace ros 00371 00372 00373 namespace ros 00374 { 00375 namespace serialization 00376 { 00377 00378 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > 00379 { 00380 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00381 { 00382 stream.next(m.step); 00383 } 00384 00385 ROS_DECLARE_ALLINONE_SERIALIZER; 00386 }; // struct ClipFootstepResponse_ 00387 } // namespace serialization 00388 } // namespace ros 00389 00390 namespace ros 00391 { 00392 namespace service_traits 00393 { 00394 template<> 00395 struct MD5Sum<humanoid_nav_msgs::ClipFootstep> { 00396 static const char* value() 00397 { 00398 return "394ac576028f40af6569704f845b86a1"; 00399 } 00400 00401 static const char* value(const humanoid_nav_msgs::ClipFootstep&) { return value(); } 00402 }; 00403 00404 template<> 00405 struct DataType<humanoid_nav_msgs::ClipFootstep> { 00406 static const char* value() 00407 { 00408 return "humanoid_nav_msgs/ClipFootstep"; 00409 } 00410 00411 static const char* value(const humanoid_nav_msgs::ClipFootstep&) { return value(); } 00412 }; 00413 00414 template<class ContainerAllocator> 00415 struct MD5Sum<humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > { 00416 static const char* value() 00417 { 00418 return "394ac576028f40af6569704f845b86a1"; 00419 } 00420 00421 static const char* value(const humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> &) { return value(); } 00422 }; 00423 00424 template<class ContainerAllocator> 00425 struct DataType<humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> > { 00426 static const char* value() 00427 { 00428 return "humanoid_nav_msgs/ClipFootstep"; 00429 } 00430 00431 static const char* value(const humanoid_nav_msgs::ClipFootstepRequest_<ContainerAllocator> &) { return value(); } 00432 }; 00433 00434 template<class ContainerAllocator> 00435 struct MD5Sum<humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > { 00436 static const char* value() 00437 { 00438 return "394ac576028f40af6569704f845b86a1"; 00439 } 00440 00441 static const char* value(const humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> &) { return value(); } 00442 }; 00443 00444 template<class ContainerAllocator> 00445 struct DataType<humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> > { 00446 static const char* value() 00447 { 00448 return "humanoid_nav_msgs/ClipFootstep"; 00449 } 00450 00451 static const char* value(const humanoid_nav_msgs::ClipFootstepResponse_<ContainerAllocator> &) { return value(); } 00452 }; 00453 00454 } // namespace service_traits 00455 } // namespace ros 00456 00457 #endif // HUMANOID_NAV_MSGS_SERVICE_CLIPFOOTSTEP_H 00458