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