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