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 ROS_DEPRECATED uint32_t get_max_joint_vels_size() const { return (uint32_t)max_joint_vels.size(); }
00088 ROS_DEPRECATED void set_max_joint_vels_size(uint32_t size) { max_joint_vels.resize((size_t)size); }
00089 ROS_DEPRECATED void get_max_joint_vels_vec(std::vector<double, typename ContainerAllocator::template rebind<double>::other > & vec) const { vec = this->max_joint_vels; }
00090 ROS_DEPRECATED void set_max_joint_vels_vec(const std::vector<double, typename ContainerAllocator::template rebind<double>::other > & vec) { this->max_joint_vels = vec; }
00091 ROS_DEPRECATED uint32_t get_max_joint_accs_size() const { return (uint32_t)max_joint_accs.size(); }
00092 ROS_DEPRECATED void set_max_joint_accs_size(uint32_t size) { max_joint_accs.resize((size_t)size); }
00093 ROS_DEPRECATED void get_max_joint_accs_vec(std::vector<double, typename ContainerAllocator::template rebind<double>::other > & vec) const { vec = this->max_joint_accs; }
00094 ROS_DEPRECATED void set_max_joint_accs_vec(const std::vector<double, typename ContainerAllocator::template rebind<double>::other > & vec) { this->max_joint_accs = vec; }
00095 private:
00096 static const char* __s_getDataType_() { return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParamsRequest"; }
00097 public:
00098 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00099
00100 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00101
00102 private:
00103 static const char* __s_getMD5Sum_() { return "351122754b3043b9f5602d68d4eec5db"; }
00104 public:
00105 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00106
00107 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00108
00109 private:
00110 static const char* __s_getServerMD5Sum_() { return "351122754b3043b9f5602d68d4eec5db"; }
00111 public:
00112 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00113
00114 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00115
00116 private:
00117 static const char* __s_getMessageDefinition_() { return "\n\
00118 \n\
00119 \n\
00120 int32 num_steps\n\
00121 \n\
00122 \n\
00123 \n\
00124 float64 consistent_angle\n\
00125 \n\
00126 \n\
00127 \n\
00128 int32 collision_check_resolution\n\
00129 \n\
00130 \n\
00131 \n\
00132 \n\
00133 \n\
00134 int32 steps_before_abort\n\
00135 \n\
00136 \n\
00137 \n\
00138 float64 pos_spacing\n\
00139 \n\
00140 \n\
00141 \n\
00142 float64 rot_spacing\n\
00143 \n\
00144 \n\
00145 \n\
00146 byte collision_aware\n\
00147 \n\
00148 \n\
00149 \n\
00150 byte start_from_end\n\
00151 \n\
00152 \n\
00153 \n\
00154 float64[] max_joint_vels\n\
00155 \n\
00156 \n\
00157 \n\
00158 float64[] max_joint_accs\n\
00159 \n\
00160 \n\
00161 "; }
00162 public:
00163 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00164
00165 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00166
00167 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00168 {
00169 ros::serialization::OStream stream(write_ptr, 1000000000);
00170 ros::serialization::serialize(stream, num_steps);
00171 ros::serialization::serialize(stream, consistent_angle);
00172 ros::serialization::serialize(stream, collision_check_resolution);
00173 ros::serialization::serialize(stream, steps_before_abort);
00174 ros::serialization::serialize(stream, pos_spacing);
00175 ros::serialization::serialize(stream, rot_spacing);
00176 ros::serialization::serialize(stream, collision_aware);
00177 ros::serialization::serialize(stream, start_from_end);
00178 ros::serialization::serialize(stream, max_joint_vels);
00179 ros::serialization::serialize(stream, max_joint_accs);
00180 return stream.getData();
00181 }
00182
00183 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00184 {
00185 ros::serialization::IStream stream(read_ptr, 1000000000);
00186 ros::serialization::deserialize(stream, num_steps);
00187 ros::serialization::deserialize(stream, consistent_angle);
00188 ros::serialization::deserialize(stream, collision_check_resolution);
00189 ros::serialization::deserialize(stream, steps_before_abort);
00190 ros::serialization::deserialize(stream, pos_spacing);
00191 ros::serialization::deserialize(stream, rot_spacing);
00192 ros::serialization::deserialize(stream, collision_aware);
00193 ros::serialization::deserialize(stream, start_from_end);
00194 ros::serialization::deserialize(stream, max_joint_vels);
00195 ros::serialization::deserialize(stream, max_joint_accs);
00196 return stream.getData();
00197 }
00198
00199 ROS_DEPRECATED virtual uint32_t serializationLength() const
00200 {
00201 uint32_t size = 0;
00202 size += ros::serialization::serializationLength(num_steps);
00203 size += ros::serialization::serializationLength(consistent_angle);
00204 size += ros::serialization::serializationLength(collision_check_resolution);
00205 size += ros::serialization::serializationLength(steps_before_abort);
00206 size += ros::serialization::serializationLength(pos_spacing);
00207 size += ros::serialization::serializationLength(rot_spacing);
00208 size += ros::serialization::serializationLength(collision_aware);
00209 size += ros::serialization::serializationLength(start_from_end);
00210 size += ros::serialization::serializationLength(max_joint_vels);
00211 size += ros::serialization::serializationLength(max_joint_accs);
00212 return size;
00213 }
00214
00215 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > Ptr;
00216 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> const> ConstPtr;
00217 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00218 };
00219 typedef ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<std::allocator<void> > SetInterpolatedIKMotionPlanParamsRequest;
00220
00221 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest> SetInterpolatedIKMotionPlanParamsRequestPtr;
00222 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest const> SetInterpolatedIKMotionPlanParamsRequestConstPtr;
00223
00224
00225 template <class ContainerAllocator>
00226 struct SetInterpolatedIKMotionPlanParamsResponse_ {
00227 typedef SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> Type;
00228
00229 SetInterpolatedIKMotionPlanParamsResponse_()
00230 {
00231 }
00232
00233 SetInterpolatedIKMotionPlanParamsResponse_(const ContainerAllocator& _alloc)
00234 {
00235 }
00236
00237
00238 private:
00239 static const char* __s_getDataType_() { return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParamsResponse"; }
00240 public:
00241 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00242
00243 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00244
00245 private:
00246 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00247 public:
00248 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00249
00250 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00251
00252 private:
00253 static const char* __s_getServerMD5Sum_() { return "351122754b3043b9f5602d68d4eec5db"; }
00254 public:
00255 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00256
00257 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00258
00259 private:
00260 static const char* __s_getMessageDefinition_() { return "\n\
00261 \n\
00262 "; }
00263 public:
00264 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00265
00266 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00267
00268 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00269 {
00270 ros::serialization::OStream stream(write_ptr, 1000000000);
00271 return stream.getData();
00272 }
00273
00274 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00275 {
00276 ros::serialization::IStream stream(read_ptr, 1000000000);
00277 return stream.getData();
00278 }
00279
00280 ROS_DEPRECATED virtual uint32_t serializationLength() const
00281 {
00282 uint32_t size = 0;
00283 return size;
00284 }
00285
00286 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > Ptr;
00287 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> const> ConstPtr;
00288 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00289 };
00290 typedef ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<std::allocator<void> > SetInterpolatedIKMotionPlanParamsResponse;
00291
00292 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse> SetInterpolatedIKMotionPlanParamsResponsePtr;
00293 typedef boost::shared_ptr< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse const> SetInterpolatedIKMotionPlanParamsResponseConstPtr;
00294
00295 struct SetInterpolatedIKMotionPlanParams
00296 {
00297
00298 typedef SetInterpolatedIKMotionPlanParamsRequest Request;
00299 typedef SetInterpolatedIKMotionPlanParamsResponse Response;
00300 Request request;
00301 Response response;
00302
00303 typedef Request RequestType;
00304 typedef Response ResponseType;
00305 };
00306 }
00307
00308 namespace ros
00309 {
00310 namespace message_traits
00311 {
00312 template<class ContainerAllocator> struct IsMessage< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > : public TrueType {};
00313 template<class ContainerAllocator> struct IsMessage< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> const> : public TrueType {};
00314 template<class ContainerAllocator>
00315 struct MD5Sum< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > {
00316 static const char* value()
00317 {
00318 return "351122754b3043b9f5602d68d4eec5db";
00319 }
00320
00321 static const char* value(const ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> &) { return value(); }
00322 static const uint64_t static_value1 = 0x351122754b3043b9ULL;
00323 static const uint64_t static_value2 = 0xf5602d68d4eec5dbULL;
00324 };
00325
00326 template<class ContainerAllocator>
00327 struct DataType< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > {
00328 static const char* value()
00329 {
00330 return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParamsRequest";
00331 }
00332
00333 static const char* value(const ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> &) { return value(); }
00334 };
00335
00336 template<class ContainerAllocator>
00337 struct Definition< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > {
00338 static const char* value()
00339 {
00340 return "\n\
00341 \n\
00342 \n\
00343 int32 num_steps\n\
00344 \n\
00345 \n\
00346 \n\
00347 float64 consistent_angle\n\
00348 \n\
00349 \n\
00350 \n\
00351 int32 collision_check_resolution\n\
00352 \n\
00353 \n\
00354 \n\
00355 \n\
00356 \n\
00357 int32 steps_before_abort\n\
00358 \n\
00359 \n\
00360 \n\
00361 float64 pos_spacing\n\
00362 \n\
00363 \n\
00364 \n\
00365 float64 rot_spacing\n\
00366 \n\
00367 \n\
00368 \n\
00369 byte collision_aware\n\
00370 \n\
00371 \n\
00372 \n\
00373 byte start_from_end\n\
00374 \n\
00375 \n\
00376 \n\
00377 float64[] max_joint_vels\n\
00378 \n\
00379 \n\
00380 \n\
00381 float64[] max_joint_accs\n\
00382 \n\
00383 \n\
00384 ";
00385 }
00386
00387 static const char* value(const ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> &) { return value(); }
00388 };
00389
00390 }
00391 }
00392
00393
00394 namespace ros
00395 {
00396 namespace message_traits
00397 {
00398 template<class ContainerAllocator> struct IsMessage< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > : public TrueType {};
00399 template<class ContainerAllocator> struct IsMessage< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> const> : public TrueType {};
00400 template<class ContainerAllocator>
00401 struct MD5Sum< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > {
00402 static const char* value()
00403 {
00404 return "d41d8cd98f00b204e9800998ecf8427e";
00405 }
00406
00407 static const char* value(const ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> &) { return value(); }
00408 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00409 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00410 };
00411
00412 template<class ContainerAllocator>
00413 struct DataType< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > {
00414 static const char* value()
00415 {
00416 return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParamsResponse";
00417 }
00418
00419 static const char* value(const ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> &) { return value(); }
00420 };
00421
00422 template<class ContainerAllocator>
00423 struct Definition< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > {
00424 static const char* value()
00425 {
00426 return "\n\
00427 \n\
00428 ";
00429 }
00430
00431 static const char* value(const ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> &) { return value(); }
00432 };
00433
00434 template<class ContainerAllocator> struct IsFixedSize< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > : public TrueType {};
00435 }
00436 }
00437
00438 namespace ros
00439 {
00440 namespace serialization
00441 {
00442
00443 template<class ContainerAllocator> struct Serializer< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> >
00444 {
00445 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00446 {
00447 stream.next(m.num_steps);
00448 stream.next(m.consistent_angle);
00449 stream.next(m.collision_check_resolution);
00450 stream.next(m.steps_before_abort);
00451 stream.next(m.pos_spacing);
00452 stream.next(m.rot_spacing);
00453 stream.next(m.collision_aware);
00454 stream.next(m.start_from_end);
00455 stream.next(m.max_joint_vels);
00456 stream.next(m.max_joint_accs);
00457 }
00458
00459 ROS_DECLARE_ALLINONE_SERIALIZER;
00460 };
00461 }
00462 }
00463
00464
00465 namespace ros
00466 {
00467 namespace serialization
00468 {
00469
00470 template<class ContainerAllocator> struct Serializer< ::interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> >
00471 {
00472 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00473 {
00474 }
00475
00476 ROS_DECLARE_ALLINONE_SERIALIZER;
00477 };
00478 }
00479 }
00480
00481 namespace ros
00482 {
00483 namespace service_traits
00484 {
00485 template<>
00486 struct MD5Sum<interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParams> {
00487 static const char* value()
00488 {
00489 return "351122754b3043b9f5602d68d4eec5db";
00490 }
00491
00492 static const char* value(const interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParams&) { return value(); }
00493 };
00494
00495 template<>
00496 struct DataType<interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParams> {
00497 static const char* value()
00498 {
00499 return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParams";
00500 }
00501
00502 static const char* value(const interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParams&) { return value(); }
00503 };
00504
00505 template<class ContainerAllocator>
00506 struct MD5Sum<interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > {
00507 static const char* value()
00508 {
00509 return "351122754b3043b9f5602d68d4eec5db";
00510 }
00511
00512 static const char* value(const interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> &) { return value(); }
00513 };
00514
00515 template<class ContainerAllocator>
00516 struct DataType<interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> > {
00517 static const char* value()
00518 {
00519 return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParams";
00520 }
00521
00522 static const char* value(const interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsRequest_<ContainerAllocator> &) { return value(); }
00523 };
00524
00525 template<class ContainerAllocator>
00526 struct MD5Sum<interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > {
00527 static const char* value()
00528 {
00529 return "351122754b3043b9f5602d68d4eec5db";
00530 }
00531
00532 static const char* value(const interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> &) { return value(); }
00533 };
00534
00535 template<class ContainerAllocator>
00536 struct DataType<interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> > {
00537 static const char* value()
00538 {
00539 return "interpolated_ik_motion_planner/SetInterpolatedIKMotionPlanParams";
00540 }
00541
00542 static const char* value(const interpolated_ik_motion_planner::SetInterpolatedIKMotionPlanParamsResponse_<ContainerAllocator> &) { return value(); }
00543 };
00544
00545 }
00546 }
00547
00548 #endif // INTERPOLATED_IK_MOTION_PLANNER_SERVICE_SETINTERPOLATEDIKMOTIONPLANPARAMS_H
00549