SetPointClusterGraspParams.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/manipulation/pr2_gripper_grasp_planner_cluster/srv/SetPointClusterGraspParams.srv */
00002 #ifndef PR2_GRIPPER_GRASP_PLANNER_CLUSTER_SERVICE_SETPOINTCLUSTERGRASPPARAMS_H
00003 #define PR2_GRIPPER_GRASP_PLANNER_CLUSTER_SERVICE_SETPOINTCLUSTERGRASPPARAMS_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 
00020 
00021 
00022 namespace pr2_gripper_grasp_planner_cluster
00023 {
00024 template <class ContainerAllocator>
00025 struct SetPointClusterGraspParamsRequest_ {
00026   typedef SetPointClusterGraspParamsRequest_<ContainerAllocator> Type;
00027 
00028   SetPointClusterGraspParamsRequest_()
00029   : height_good_for_side_grasps(0.0)
00030   , gripper_opening(0.0)
00031   , side_step(0.0)
00032   , palm_step(0.0)
00033   , overhead_grasps_only(false)
00034   , side_grasps_only(false)
00035   , include_high_point_grasps(false)
00036   , pregrasp_just_outside_box(false)
00037   , backoff_depth_steps(0)
00038   , disable_grasp_neighbor_check(false)
00039   , randomize_grasps(false)
00040   {
00041   }
00042 
00043   SetPointClusterGraspParamsRequest_(const ContainerAllocator& _alloc)
00044   : height_good_for_side_grasps(0.0)
00045   , gripper_opening(0.0)
00046   , side_step(0.0)
00047   , palm_step(0.0)
00048   , overhead_grasps_only(false)
00049   , side_grasps_only(false)
00050   , include_high_point_grasps(false)
00051   , pregrasp_just_outside_box(false)
00052   , backoff_depth_steps(0)
00053   , disable_grasp_neighbor_check(false)
00054   , randomize_grasps(false)
00055   {
00056   }
00057 
00058   typedef double _height_good_for_side_grasps_type;
00059   double height_good_for_side_grasps;
00060 
00061   typedef double _gripper_opening_type;
00062   double gripper_opening;
00063 
00064   typedef double _side_step_type;
00065   double side_step;
00066 
00067   typedef double _palm_step_type;
00068   double palm_step;
00069 
00070   typedef uint8_t _overhead_grasps_only_type;
00071   uint8_t overhead_grasps_only;
00072 
00073   typedef uint8_t _side_grasps_only_type;
00074   uint8_t side_grasps_only;
00075 
00076   typedef uint8_t _include_high_point_grasps_type;
00077   uint8_t include_high_point_grasps;
00078 
00079   typedef uint8_t _pregrasp_just_outside_box_type;
00080   uint8_t pregrasp_just_outside_box;
00081 
00082   typedef int32_t _backoff_depth_steps_type;
00083   int32_t backoff_depth_steps;
00084 
00085   typedef uint8_t _disable_grasp_neighbor_check_type;
00086   uint8_t disable_grasp_neighbor_check;
00087 
00088   typedef uint8_t _randomize_grasps_type;
00089   uint8_t randomize_grasps;
00090 
00091 
00092   typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > Ptr;
00093   typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator>  const> ConstPtr;
00094   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00095 }; // struct SetPointClusterGraspParamsRequest
00096 typedef  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<std::allocator<void> > SetPointClusterGraspParamsRequest;
00097 
00098 typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest> SetPointClusterGraspParamsRequestPtr;
00099 typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest const> SetPointClusterGraspParamsRequestConstPtr;
00100 
00101 
00102 
00103 template <class ContainerAllocator>
00104 struct SetPointClusterGraspParamsResponse_ {
00105   typedef SetPointClusterGraspParamsResponse_<ContainerAllocator> Type;
00106 
00107   SetPointClusterGraspParamsResponse_()
00108   {
00109   }
00110 
00111   SetPointClusterGraspParamsResponse_(const ContainerAllocator& _alloc)
00112   {
00113   }
00114 
00115 
00116   typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > Ptr;
00117   typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator>  const> ConstPtr;
00118   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00119 }; // struct SetPointClusterGraspParamsResponse
00120 typedef  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<std::allocator<void> > SetPointClusterGraspParamsResponse;
00121 
00122 typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse> SetPointClusterGraspParamsResponsePtr;
00123 typedef boost::shared_ptr< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse const> SetPointClusterGraspParamsResponseConstPtr;
00124 
00125 
00126 struct SetPointClusterGraspParams
00127 {
00128 
00129 typedef SetPointClusterGraspParamsRequest Request;
00130 typedef SetPointClusterGraspParamsResponse Response;
00131 Request request;
00132 Response response;
00133 
00134 typedef Request RequestType;
00135 typedef Response ResponseType;
00136 }; // struct SetPointClusterGraspParams
00137 } // namespace pr2_gripper_grasp_planner_cluster
00138 
00139 namespace ros
00140 {
00141 namespace message_traits
00142 {
00143 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > : public TrueType {};
00144 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator>  const> : public TrueType {};
00145 template<class ContainerAllocator>
00146 struct MD5Sum< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > {
00147   static const char* value() 
00148   {
00149     return "176c495282fca5febd8468900b9ef915";
00150   }
00151 
00152   static const char* value(const  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> &) { return value(); } 
00153   static const uint64_t static_value1 = 0x176c495282fca5feULL;
00154   static const uint64_t static_value2 = 0xbd8468900b9ef915ULL;
00155 };
00156 
00157 template<class ContainerAllocator>
00158 struct DataType< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > {
00159   static const char* value() 
00160   {
00161     return "pr2_gripper_grasp_planner_cluster/SetPointClusterGraspParamsRequest";
00162   }
00163 
00164   static const char* value(const  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> &) { return value(); } 
00165 };
00166 
00167 template<class ContainerAllocator>
00168 struct Definition< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > {
00169   static const char* value() 
00170   {
00171     return "\n\
00172 float64 height_good_for_side_grasps\n\
00173 \n\
00174 \n\
00175 float64 gripper_opening\n\
00176 \n\
00177 \n\
00178 float64 side_step\n\
00179 \n\
00180 \n\
00181 float64 palm_step\n\
00182 \n\
00183 \n\
00184 bool overhead_grasps_only\n\
00185 \n\
00186 \n\
00187 bool side_grasps_only\n\
00188 \n\
00189 \n\
00190 bool include_high_point_grasps\n\
00191 \n\
00192 \n\
00193 bool pregrasp_just_outside_box\n\
00194 \n\
00195 \n\
00196 int32 backoff_depth_steps\n\
00197 \n\
00198 \n\
00199 bool disable_grasp_neighbor_check\n\
00200 \n\
00201 \n\
00202 bool randomize_grasps\n\
00203 \n\
00204 \n\
00205 ";
00206   }
00207 
00208   static const char* value(const  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> &) { return value(); } 
00209 };
00210 
00211 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > : public TrueType {};
00212 } // namespace message_traits
00213 } // namespace ros
00214 
00215 
00216 namespace ros
00217 {
00218 namespace message_traits
00219 {
00220 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > : public TrueType {};
00221 template<class ContainerAllocator> struct IsMessage< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator>  const> : public TrueType {};
00222 template<class ContainerAllocator>
00223 struct MD5Sum< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > {
00224   static const char* value() 
00225   {
00226     return "d41d8cd98f00b204e9800998ecf8427e";
00227   }
00228 
00229   static const char* value(const  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> &) { return value(); } 
00230   static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00231   static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00232 };
00233 
00234 template<class ContainerAllocator>
00235 struct DataType< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > {
00236   static const char* value() 
00237   {
00238     return "pr2_gripper_grasp_planner_cluster/SetPointClusterGraspParamsResponse";
00239   }
00240 
00241   static const char* value(const  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> &) { return value(); } 
00242 };
00243 
00244 template<class ContainerAllocator>
00245 struct Definition< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > {
00246   static const char* value() 
00247   {
00248     return "\n\
00249 ";
00250   }
00251 
00252   static const char* value(const  ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> &) { return value(); } 
00253 };
00254 
00255 template<class ContainerAllocator> struct IsFixedSize< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > : public TrueType {};
00256 } // namespace message_traits
00257 } // namespace ros
00258 
00259 namespace ros
00260 {
00261 namespace serialization
00262 {
00263 
00264 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> >
00265 {
00266   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00267   {
00268     stream.next(m.height_good_for_side_grasps);
00269     stream.next(m.gripper_opening);
00270     stream.next(m.side_step);
00271     stream.next(m.palm_step);
00272     stream.next(m.overhead_grasps_only);
00273     stream.next(m.side_grasps_only);
00274     stream.next(m.include_high_point_grasps);
00275     stream.next(m.pregrasp_just_outside_box);
00276     stream.next(m.backoff_depth_steps);
00277     stream.next(m.disable_grasp_neighbor_check);
00278     stream.next(m.randomize_grasps);
00279   }
00280 
00281   ROS_DECLARE_ALLINONE_SERIALIZER;
00282 }; // struct SetPointClusterGraspParamsRequest_
00283 } // namespace serialization
00284 } // namespace ros
00285 
00286 
00287 namespace ros
00288 {
00289 namespace serialization
00290 {
00291 
00292 template<class ContainerAllocator> struct Serializer< ::pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> >
00293 {
00294   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00295   {
00296   }
00297 
00298   ROS_DECLARE_ALLINONE_SERIALIZER;
00299 }; // struct SetPointClusterGraspParamsResponse_
00300 } // namespace serialization
00301 } // namespace ros
00302 
00303 namespace ros
00304 {
00305 namespace service_traits
00306 {
00307 template<>
00308 struct MD5Sum<pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParams> {
00309   static const char* value() 
00310   {
00311     return "176c495282fca5febd8468900b9ef915";
00312   }
00313 
00314   static const char* value(const pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParams&) { return value(); } 
00315 };
00316 
00317 template<>
00318 struct DataType<pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParams> {
00319   static const char* value() 
00320   {
00321     return "pr2_gripper_grasp_planner_cluster/SetPointClusterGraspParams";
00322   }
00323 
00324   static const char* value(const pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParams&) { return value(); } 
00325 };
00326 
00327 template<class ContainerAllocator>
00328 struct MD5Sum<pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > {
00329   static const char* value() 
00330   {
00331     return "176c495282fca5febd8468900b9ef915";
00332   }
00333 
00334   static const char* value(const pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> &) { return value(); } 
00335 };
00336 
00337 template<class ContainerAllocator>
00338 struct DataType<pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> > {
00339   static const char* value() 
00340   {
00341     return "pr2_gripper_grasp_planner_cluster/SetPointClusterGraspParams";
00342   }
00343 
00344   static const char* value(const pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsRequest_<ContainerAllocator> &) { return value(); } 
00345 };
00346 
00347 template<class ContainerAllocator>
00348 struct MD5Sum<pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > {
00349   static const char* value() 
00350   {
00351     return "176c495282fca5febd8468900b9ef915";
00352   }
00353 
00354   static const char* value(const pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> &) { return value(); } 
00355 };
00356 
00357 template<class ContainerAllocator>
00358 struct DataType<pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> > {
00359   static const char* value() 
00360   {
00361     return "pr2_gripper_grasp_planner_cluster/SetPointClusterGraspParams";
00362   }
00363 
00364   static const char* value(const pr2_gripper_grasp_planner_cluster::SetPointClusterGraspParamsResponse_<ContainerAllocator> &) { return value(); } 
00365 };
00366 
00367 } // namespace service_traits
00368 } // namespace ros
00369 
00370 #endif // PR2_GRIPPER_GRASP_PLANNER_CLUSTER_SERVICE_SETPOINTCLUSTERGRASPPARAMS_H
00371 


pr2_gripper_grasp_planner_cluster
Author(s): Kaijen Hsiao
autogenerated on Mon Oct 6 2014 12:13:03