00001
00002 #ifndef MOTION_PLANNING_MSGS_MESSAGE_CONSTRAINTS_H
00003 #define MOTION_PLANNING_MSGS_MESSAGE_CONSTRAINTS_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 "motion_planning_msgs/JointConstraint.h"
00014 #include "motion_planning_msgs/PositionConstraint.h"
00015 #include "motion_planning_msgs/OrientationConstraint.h"
00016 #include "motion_planning_msgs/VisibilityConstraint.h"
00017
00018 namespace motion_planning_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Constraints_ : public ros::Message
00022 {
00023 typedef Constraints_<ContainerAllocator> Type;
00024
00025 Constraints_()
00026 : joint_constraints()
00027 , position_constraints()
00028 , orientation_constraints()
00029 , visibility_constraints()
00030 {
00031 }
00032
00033 Constraints_(const ContainerAllocator& _alloc)
00034 : joint_constraints(_alloc)
00035 , position_constraints(_alloc)
00036 , orientation_constraints(_alloc)
00037 , visibility_constraints(_alloc)
00038 {
00039 }
00040
00041 typedef std::vector< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> >::other > _joint_constraints_type;
00042 std::vector< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> >::other > joint_constraints;
00043
00044 typedef std::vector< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> >::other > _position_constraints_type;
00045 std::vector< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> >::other > position_constraints;
00046
00047 typedef std::vector< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> >::other > _orientation_constraints_type;
00048 std::vector< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> >::other > orientation_constraints;
00049
00050 typedef std::vector< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> >::other > _visibility_constraints_type;
00051 std::vector< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> >::other > visibility_constraints;
00052
00053
00054 ROS_DEPRECATED uint32_t get_joint_constraints_size() const { return (uint32_t)joint_constraints.size(); }
00055 ROS_DEPRECATED void set_joint_constraints_size(uint32_t size) { joint_constraints.resize((size_t)size); }
00056 ROS_DEPRECATED void get_joint_constraints_vec(std::vector< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> >::other > & vec) const { vec = this->joint_constraints; }
00057 ROS_DEPRECATED void set_joint_constraints_vec(const std::vector< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> >::other > & vec) { this->joint_constraints = vec; }
00058 ROS_DEPRECATED uint32_t get_position_constraints_size() const { return (uint32_t)position_constraints.size(); }
00059 ROS_DEPRECATED void set_position_constraints_size(uint32_t size) { position_constraints.resize((size_t)size); }
00060 ROS_DEPRECATED void get_position_constraints_vec(std::vector< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> >::other > & vec) const { vec = this->position_constraints; }
00061 ROS_DEPRECATED void set_position_constraints_vec(const std::vector< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> >::other > & vec) { this->position_constraints = vec; }
00062 ROS_DEPRECATED uint32_t get_orientation_constraints_size() const { return (uint32_t)orientation_constraints.size(); }
00063 ROS_DEPRECATED void set_orientation_constraints_size(uint32_t size) { orientation_constraints.resize((size_t)size); }
00064 ROS_DEPRECATED void get_orientation_constraints_vec(std::vector< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> >::other > & vec) const { vec = this->orientation_constraints; }
00065 ROS_DEPRECATED void set_orientation_constraints_vec(const std::vector< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> >::other > & vec) { this->orientation_constraints = vec; }
00066 ROS_DEPRECATED uint32_t get_visibility_constraints_size() const { return (uint32_t)visibility_constraints.size(); }
00067 ROS_DEPRECATED void set_visibility_constraints_size(uint32_t size) { visibility_constraints.resize((size_t)size); }
00068 ROS_DEPRECATED void get_visibility_constraints_vec(std::vector< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> >::other > & vec) const { vec = this->visibility_constraints; }
00069 ROS_DEPRECATED void set_visibility_constraints_vec(const std::vector< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> >::other > & vec) { this->visibility_constraints = vec; }
00070 private:
00071 static const char* __s_getDataType_() { return "motion_planning_msgs/Constraints"; }
00072 public:
00073 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00074
00075 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00076
00077 private:
00078 static const char* __s_getMD5Sum_() { return "fe6b6f09c687fd46c05a2de4ca18378a"; }
00079 public:
00080 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00081
00082 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00083
00084 private:
00085 static const char* __s_getMessageDefinition_() { return "# This message contains a list of motion planning constraints.\n\
00086 \n\
00087 motion_planning_msgs/JointConstraint[] joint_constraints\n\
00088 motion_planning_msgs/PositionConstraint[] position_constraints\n\
00089 motion_planning_msgs/OrientationConstraint[] orientation_constraints\n\
00090 motion_planning_msgs/VisibilityConstraint[] visibility_constraints\n\
00091 \n\
00092 ================================================================================\n\
00093 MSG: motion_planning_msgs/JointConstraint\n\
00094 # Constrain the position of a joint to be within a certain bound\n\
00095 string joint_name\n\
00096 \n\
00097 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00098 float64 position\n\
00099 float64 tolerance_above\n\
00100 float64 tolerance_below\n\
00101 \n\
00102 # A weighting factor for this constraint\n\
00103 float64 weight\n\
00104 ================================================================================\n\
00105 MSG: motion_planning_msgs/PositionConstraint\n\
00106 # This message contains the definition of a position constraint.\n\
00107 Header header\n\
00108 \n\
00109 # The robot link this constraint refers to\n\
00110 string link_name\n\
00111 \n\
00112 # The offset (in the link frame) for the target point on the link we are planning for\n\
00113 geometry_msgs/Point target_point_offset\n\
00114 \n\
00115 # The nominal/target position for the point we are planning for\n\
00116 geometry_msgs/Point position\n\
00117 \n\
00118 # The shape of the bounded region that constrains the position of the end-effector\n\
00119 # This region is always centered at the position defined above\n\
00120 geometric_shapes_msgs/Shape constraint_region_shape\n\
00121 \n\
00122 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00123 # This allows the specification of non-axis aligned constraints\n\
00124 geometry_msgs/Quaternion constraint_region_orientation\n\
00125 \n\
00126 # Constraint weighting factor - a weight for this constraint\n\
00127 float64 weight\n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Point\n\
00148 # This contains the position of a point in free space\n\
00149 float64 x\n\
00150 float64 y\n\
00151 float64 z\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: geometric_shapes_msgs/Shape\n\
00155 byte SPHERE=0\n\
00156 byte BOX=1\n\
00157 byte CYLINDER=2\n\
00158 byte MESH=3\n\
00159 \n\
00160 byte type\n\
00161 \n\
00162 \n\
00163 #### define sphere, box, cylinder ####\n\
00164 # the origin of each shape is considered at the shape's center\n\
00165 \n\
00166 # for sphere\n\
00167 # radius := dimensions[0]\n\
00168 \n\
00169 # for cylinder\n\
00170 # radius := dimensions[0]\n\
00171 # length := dimensions[1]\n\
00172 # the length is along the Z axis\n\
00173 \n\
00174 # for box\n\
00175 # size_x := dimensions[0]\n\
00176 # size_y := dimensions[1]\n\
00177 # size_z := dimensions[2]\n\
00178 float64[] dimensions\n\
00179 \n\
00180 \n\
00181 #### define mesh ####\n\
00182 \n\
00183 # list of triangles; triangle k is defined by tre vertices located\n\
00184 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00185 int32[] triangles\n\
00186 geometry_msgs/Point[] vertices\n\
00187 \n\
00188 ================================================================================\n\
00189 MSG: geometry_msgs/Quaternion\n\
00190 # This represents an orientation in free space in quaternion form.\n\
00191 \n\
00192 float64 x\n\
00193 float64 y\n\
00194 float64 z\n\
00195 float64 w\n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: motion_planning_msgs/OrientationConstraint\n\
00199 # This message contains the definition of an orientation constraint.\n\
00200 Header header\n\
00201 \n\
00202 # The robot link this constraint refers to\n\
00203 string link_name\n\
00204 \n\
00205 # The type of the constraint\n\
00206 int32 type\n\
00207 int32 LINK_FRAME=0\n\
00208 int32 HEADER_FRAME=1\n\
00209 \n\
00210 # The desired orientation of the robot link specified as a quaternion\n\
00211 geometry_msgs/Quaternion orientation\n\
00212 \n\
00213 # optional RPY error tolerances specified if \n\
00214 float64 absolute_roll_tolerance\n\
00215 float64 absolute_pitch_tolerance\n\
00216 float64 absolute_yaw_tolerance\n\
00217 \n\
00218 # Constraint weighting factor - a weight for this constraint\n\
00219 float64 weight\n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: motion_planning_msgs/VisibilityConstraint\n\
00223 # This message contains the definition of a visibility constraint.\n\
00224 Header header\n\
00225 \n\
00226 # The point stamped target that needs to be kept within view of the sensor\n\
00227 geometry_msgs/PointStamped target\n\
00228 \n\
00229 # The local pose of the frame in which visibility is to be maintained\n\
00230 # The frame id should represent the robot link to which the sensor is attached\n\
00231 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00232 geometry_msgs/PoseStamped sensor_pose\n\
00233 \n\
00234 # The deviation (in radians) that will be tolerated\n\
00235 # Constraint error will be measured as the solid angle between the \n\
00236 # X axis of the frame defined above and the vector between the origin \n\
00237 # of the frame defined above and the target location\n\
00238 float64 absolute_tolerance\n\
00239 \n\
00240 \n\
00241 ================================================================================\n\
00242 MSG: geometry_msgs/PointStamped\n\
00243 # This represents a Point with reference coordinate frame and timestamp\n\
00244 Header header\n\
00245 Point point\n\
00246 \n\
00247 ================================================================================\n\
00248 MSG: geometry_msgs/PoseStamped\n\
00249 # A Pose with reference coordinate frame and timestamp\n\
00250 Header header\n\
00251 Pose pose\n\
00252 \n\
00253 ================================================================================\n\
00254 MSG: geometry_msgs/Pose\n\
00255 # A representation of pose in free space, composed of postion and orientation. \n\
00256 Point position\n\
00257 Quaternion orientation\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 ros::serialization::serialize(stream, joint_constraints);
00269 ros::serialization::serialize(stream, position_constraints);
00270 ros::serialization::serialize(stream, orientation_constraints);
00271 ros::serialization::serialize(stream, visibility_constraints);
00272 return stream.getData();
00273 }
00274
00275 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00276 {
00277 ros::serialization::IStream stream(read_ptr, 1000000000);
00278 ros::serialization::deserialize(stream, joint_constraints);
00279 ros::serialization::deserialize(stream, position_constraints);
00280 ros::serialization::deserialize(stream, orientation_constraints);
00281 ros::serialization::deserialize(stream, visibility_constraints);
00282 return stream.getData();
00283 }
00284
00285 ROS_DEPRECATED virtual uint32_t serializationLength() const
00286 {
00287 uint32_t size = 0;
00288 size += ros::serialization::serializationLength(joint_constraints);
00289 size += ros::serialization::serializationLength(position_constraints);
00290 size += ros::serialization::serializationLength(orientation_constraints);
00291 size += ros::serialization::serializationLength(visibility_constraints);
00292 return size;
00293 }
00294
00295 typedef boost::shared_ptr< ::motion_planning_msgs::Constraints_<ContainerAllocator> > Ptr;
00296 typedef boost::shared_ptr< ::motion_planning_msgs::Constraints_<ContainerAllocator> const> ConstPtr;
00297 };
00298 typedef ::motion_planning_msgs::Constraints_<std::allocator<void> > Constraints;
00299
00300 typedef boost::shared_ptr< ::motion_planning_msgs::Constraints> ConstraintsPtr;
00301 typedef boost::shared_ptr< ::motion_planning_msgs::Constraints const> ConstraintsConstPtr;
00302
00303
00304 template<typename ContainerAllocator>
00305 std::ostream& operator<<(std::ostream& s, const ::motion_planning_msgs::Constraints_<ContainerAllocator> & v)
00306 {
00307 ros::message_operations::Printer< ::motion_planning_msgs::Constraints_<ContainerAllocator> >::stream(s, "", v);
00308 return s;}
00309
00310 }
00311
00312 namespace ros
00313 {
00314 namespace message_traits
00315 {
00316 template<class ContainerAllocator>
00317 struct MD5Sum< ::motion_planning_msgs::Constraints_<ContainerAllocator> > {
00318 static const char* value()
00319 {
00320 return "fe6b6f09c687fd46c05a2de4ca18378a";
00321 }
00322
00323 static const char* value(const ::motion_planning_msgs::Constraints_<ContainerAllocator> &) { return value(); }
00324 static const uint64_t static_value1 = 0xfe6b6f09c687fd46ULL;
00325 static const uint64_t static_value2 = 0xc05a2de4ca18378aULL;
00326 };
00327
00328 template<class ContainerAllocator>
00329 struct DataType< ::motion_planning_msgs::Constraints_<ContainerAllocator> > {
00330 static const char* value()
00331 {
00332 return "motion_planning_msgs/Constraints";
00333 }
00334
00335 static const char* value(const ::motion_planning_msgs::Constraints_<ContainerAllocator> &) { return value(); }
00336 };
00337
00338 template<class ContainerAllocator>
00339 struct Definition< ::motion_planning_msgs::Constraints_<ContainerAllocator> > {
00340 static const char* value()
00341 {
00342 return "# This message contains a list of motion planning constraints.\n\
00343 \n\
00344 motion_planning_msgs/JointConstraint[] joint_constraints\n\
00345 motion_planning_msgs/PositionConstraint[] position_constraints\n\
00346 motion_planning_msgs/OrientationConstraint[] orientation_constraints\n\
00347 motion_planning_msgs/VisibilityConstraint[] visibility_constraints\n\
00348 \n\
00349 ================================================================================\n\
00350 MSG: motion_planning_msgs/JointConstraint\n\
00351 # Constrain the position of a joint to be within a certain bound\n\
00352 string joint_name\n\
00353 \n\
00354 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00355 float64 position\n\
00356 float64 tolerance_above\n\
00357 float64 tolerance_below\n\
00358 \n\
00359 # A weighting factor for this constraint\n\
00360 float64 weight\n\
00361 ================================================================================\n\
00362 MSG: motion_planning_msgs/PositionConstraint\n\
00363 # This message contains the definition of a position constraint.\n\
00364 Header header\n\
00365 \n\
00366 # The robot link this constraint refers to\n\
00367 string link_name\n\
00368 \n\
00369 # The offset (in the link frame) for the target point on the link we are planning for\n\
00370 geometry_msgs/Point target_point_offset\n\
00371 \n\
00372 # The nominal/target position for the point we are planning for\n\
00373 geometry_msgs/Point position\n\
00374 \n\
00375 # The shape of the bounded region that constrains the position of the end-effector\n\
00376 # This region is always centered at the position defined above\n\
00377 geometric_shapes_msgs/Shape constraint_region_shape\n\
00378 \n\
00379 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00380 # This allows the specification of non-axis aligned constraints\n\
00381 geometry_msgs/Quaternion constraint_region_orientation\n\
00382 \n\
00383 # Constraint weighting factor - a weight for this constraint\n\
00384 float64 weight\n\
00385 ================================================================================\n\
00386 MSG: std_msgs/Header\n\
00387 # Standard metadata for higher-level stamped data types.\n\
00388 # This is generally used to communicate timestamped data \n\
00389 # in a particular coordinate frame.\n\
00390 # \n\
00391 # sequence ID: consecutively increasing ID \n\
00392 uint32 seq\n\
00393 #Two-integer timestamp that is expressed as:\n\
00394 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00395 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00396 # time-handling sugar is provided by the client library\n\
00397 time stamp\n\
00398 #Frame this data is associated with\n\
00399 # 0: no frame\n\
00400 # 1: global frame\n\
00401 string frame_id\n\
00402 \n\
00403 ================================================================================\n\
00404 MSG: geometry_msgs/Point\n\
00405 # This contains the position of a point in free space\n\
00406 float64 x\n\
00407 float64 y\n\
00408 float64 z\n\
00409 \n\
00410 ================================================================================\n\
00411 MSG: geometric_shapes_msgs/Shape\n\
00412 byte SPHERE=0\n\
00413 byte BOX=1\n\
00414 byte CYLINDER=2\n\
00415 byte MESH=3\n\
00416 \n\
00417 byte type\n\
00418 \n\
00419 \n\
00420 #### define sphere, box, cylinder ####\n\
00421 # the origin of each shape is considered at the shape's center\n\
00422 \n\
00423 # for sphere\n\
00424 # radius := dimensions[0]\n\
00425 \n\
00426 # for cylinder\n\
00427 # radius := dimensions[0]\n\
00428 # length := dimensions[1]\n\
00429 # the length is along the Z axis\n\
00430 \n\
00431 # for box\n\
00432 # size_x := dimensions[0]\n\
00433 # size_y := dimensions[1]\n\
00434 # size_z := dimensions[2]\n\
00435 float64[] dimensions\n\
00436 \n\
00437 \n\
00438 #### define mesh ####\n\
00439 \n\
00440 # list of triangles; triangle k is defined by tre vertices located\n\
00441 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00442 int32[] triangles\n\
00443 geometry_msgs/Point[] vertices\n\
00444 \n\
00445 ================================================================================\n\
00446 MSG: geometry_msgs/Quaternion\n\
00447 # This represents an orientation in free space in quaternion form.\n\
00448 \n\
00449 float64 x\n\
00450 float64 y\n\
00451 float64 z\n\
00452 float64 w\n\
00453 \n\
00454 ================================================================================\n\
00455 MSG: motion_planning_msgs/OrientationConstraint\n\
00456 # This message contains the definition of an orientation constraint.\n\
00457 Header header\n\
00458 \n\
00459 # The robot link this constraint refers to\n\
00460 string link_name\n\
00461 \n\
00462 # The type of the constraint\n\
00463 int32 type\n\
00464 int32 LINK_FRAME=0\n\
00465 int32 HEADER_FRAME=1\n\
00466 \n\
00467 # The desired orientation of the robot link specified as a quaternion\n\
00468 geometry_msgs/Quaternion orientation\n\
00469 \n\
00470 # optional RPY error tolerances specified if \n\
00471 float64 absolute_roll_tolerance\n\
00472 float64 absolute_pitch_tolerance\n\
00473 float64 absolute_yaw_tolerance\n\
00474 \n\
00475 # Constraint weighting factor - a weight for this constraint\n\
00476 float64 weight\n\
00477 \n\
00478 ================================================================================\n\
00479 MSG: motion_planning_msgs/VisibilityConstraint\n\
00480 # This message contains the definition of a visibility constraint.\n\
00481 Header header\n\
00482 \n\
00483 # The point stamped target that needs to be kept within view of the sensor\n\
00484 geometry_msgs/PointStamped target\n\
00485 \n\
00486 # The local pose of the frame in which visibility is to be maintained\n\
00487 # The frame id should represent the robot link to which the sensor is attached\n\
00488 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00489 geometry_msgs/PoseStamped sensor_pose\n\
00490 \n\
00491 # The deviation (in radians) that will be tolerated\n\
00492 # Constraint error will be measured as the solid angle between the \n\
00493 # X axis of the frame defined above and the vector between the origin \n\
00494 # of the frame defined above and the target location\n\
00495 float64 absolute_tolerance\n\
00496 \n\
00497 \n\
00498 ================================================================================\n\
00499 MSG: geometry_msgs/PointStamped\n\
00500 # This represents a Point with reference coordinate frame and timestamp\n\
00501 Header header\n\
00502 Point point\n\
00503 \n\
00504 ================================================================================\n\
00505 MSG: geometry_msgs/PoseStamped\n\
00506 # A Pose with reference coordinate frame and timestamp\n\
00507 Header header\n\
00508 Pose pose\n\
00509 \n\
00510 ================================================================================\n\
00511 MSG: geometry_msgs/Pose\n\
00512 # A representation of pose in free space, composed of postion and orientation. \n\
00513 Point position\n\
00514 Quaternion orientation\n\
00515 \n\
00516 ";
00517 }
00518
00519 static const char* value(const ::motion_planning_msgs::Constraints_<ContainerAllocator> &) { return value(); }
00520 };
00521
00522 }
00523 }
00524
00525 namespace ros
00526 {
00527 namespace serialization
00528 {
00529
00530 template<class ContainerAllocator> struct Serializer< ::motion_planning_msgs::Constraints_<ContainerAllocator> >
00531 {
00532 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00533 {
00534 stream.next(m.joint_constraints);
00535 stream.next(m.position_constraints);
00536 stream.next(m.orientation_constraints);
00537 stream.next(m.visibility_constraints);
00538 }
00539
00540 ROS_DECLARE_ALLINONE_SERIALIZER;
00541 };
00542 }
00543 }
00544
00545 namespace ros
00546 {
00547 namespace message_operations
00548 {
00549
00550 template<class ContainerAllocator>
00551 struct Printer< ::motion_planning_msgs::Constraints_<ContainerAllocator> >
00552 {
00553 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::motion_planning_msgs::Constraints_<ContainerAllocator> & v)
00554 {
00555 s << indent << "joint_constraints[]" << std::endl;
00556 for (size_t i = 0; i < v.joint_constraints.size(); ++i)
00557 {
00558 s << indent << " joint_constraints[" << i << "]: ";
00559 s << std::endl;
00560 s << indent;
00561 Printer< ::motion_planning_msgs::JointConstraint_<ContainerAllocator> >::stream(s, indent + " ", v.joint_constraints[i]);
00562 }
00563 s << indent << "position_constraints[]" << std::endl;
00564 for (size_t i = 0; i < v.position_constraints.size(); ++i)
00565 {
00566 s << indent << " position_constraints[" << i << "]: ";
00567 s << std::endl;
00568 s << indent;
00569 Printer< ::motion_planning_msgs::PositionConstraint_<ContainerAllocator> >::stream(s, indent + " ", v.position_constraints[i]);
00570 }
00571 s << indent << "orientation_constraints[]" << std::endl;
00572 for (size_t i = 0; i < v.orientation_constraints.size(); ++i)
00573 {
00574 s << indent << " orientation_constraints[" << i << "]: ";
00575 s << std::endl;
00576 s << indent;
00577 Printer< ::motion_planning_msgs::OrientationConstraint_<ContainerAllocator> >::stream(s, indent + " ", v.orientation_constraints[i]);
00578 }
00579 s << indent << "visibility_constraints[]" << std::endl;
00580 for (size_t i = 0; i < v.visibility_constraints.size(); ++i)
00581 {
00582 s << indent << " visibility_constraints[" << i << "]: ";
00583 s << std::endl;
00584 s << indent;
00585 Printer< ::motion_planning_msgs::VisibilityConstraint_<ContainerAllocator> >::stream(s, indent + " ", v.visibility_constraints[i]);
00586 }
00587 }
00588 };
00589
00590
00591 }
00592 }
00593
00594 #endif // MOTION_PLANNING_MSGS_MESSAGE_CONSTRAINTS_H
00595