00001
00002 #ifndef PLANNING_ENVIRONMENT_MSGS_SERVICE_GETSTATEVALIDITY_H
00003 #define PLANNING_ENVIRONMENT_MSGS_SERVICE_GETSTATEVALIDITY_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 #include "motion_planning_msgs/RobotState.h"
00016 #include "motion_planning_msgs/OrderedCollisionOperations.h"
00017 #include "motion_planning_msgs/AllowedContactSpecification.h"
00018 #include "motion_planning_msgs/Constraints.h"
00019 #include "motion_planning_msgs/Constraints.h"
00020 #include "motion_planning_msgs/LinkPadding.h"
00021
00022
00023 #include "motion_planning_msgs/ArmNavigationErrorCodes.h"
00024 #include "planning_environment_msgs/ContactInformation.h"
00025
00026 namespace planning_environment_msgs
00027 {
00028 template <class ContainerAllocator>
00029 struct GetStateValidityRequest_ : public ros::Message
00030 {
00031 typedef GetStateValidityRequest_<ContainerAllocator> Type;
00032
00033 GetStateValidityRequest_()
00034 : robot_state()
00035 , check_collisions(false)
00036 , check_path_constraints(false)
00037 , check_goal_constraints(false)
00038 , check_joint_limits(false)
00039 , ordered_collision_operations()
00040 , allowed_contacts()
00041 , path_constraints()
00042 , goal_constraints()
00043 , link_padding()
00044 {
00045 }
00046
00047 GetStateValidityRequest_(const ContainerAllocator& _alloc)
00048 : robot_state(_alloc)
00049 , check_collisions(false)
00050 , check_path_constraints(false)
00051 , check_goal_constraints(false)
00052 , check_joint_limits(false)
00053 , ordered_collision_operations(_alloc)
00054 , allowed_contacts(_alloc)
00055 , path_constraints(_alloc)
00056 , goal_constraints(_alloc)
00057 , link_padding(_alloc)
00058 {
00059 }
00060
00061 typedef ::motion_planning_msgs::RobotState_<ContainerAllocator> _robot_state_type;
00062 ::motion_planning_msgs::RobotState_<ContainerAllocator> robot_state;
00063
00064 typedef uint8_t _check_collisions_type;
00065 uint8_t check_collisions;
00066
00067 typedef uint8_t _check_path_constraints_type;
00068 uint8_t check_path_constraints;
00069
00070 typedef uint8_t _check_goal_constraints_type;
00071 uint8_t check_goal_constraints;
00072
00073 typedef uint8_t _check_joint_limits_type;
00074 uint8_t check_joint_limits;
00075
00076 typedef ::motion_planning_msgs::OrderedCollisionOperations_<ContainerAllocator> _ordered_collision_operations_type;
00077 ::motion_planning_msgs::OrderedCollisionOperations_<ContainerAllocator> ordered_collision_operations;
00078
00079 typedef std::vector< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> >::other > _allowed_contacts_type;
00080 std::vector< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> >::other > allowed_contacts;
00081
00082 typedef ::motion_planning_msgs::Constraints_<ContainerAllocator> _path_constraints_type;
00083 ::motion_planning_msgs::Constraints_<ContainerAllocator> path_constraints;
00084
00085 typedef ::motion_planning_msgs::Constraints_<ContainerAllocator> _goal_constraints_type;
00086 ::motion_planning_msgs::Constraints_<ContainerAllocator> goal_constraints;
00087
00088 typedef std::vector< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> >::other > _link_padding_type;
00089 std::vector< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> >::other > link_padding;
00090
00091
00092 ROS_DEPRECATED uint32_t get_allowed_contacts_size() const { return (uint32_t)allowed_contacts.size(); }
00093 ROS_DEPRECATED void set_allowed_contacts_size(uint32_t size) { allowed_contacts.resize((size_t)size); }
00094 ROS_DEPRECATED void get_allowed_contacts_vec(std::vector< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> >::other > & vec) const { vec = this->allowed_contacts; }
00095 ROS_DEPRECATED void set_allowed_contacts_vec(const std::vector< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::AllowedContactSpecification_<ContainerAllocator> >::other > & vec) { this->allowed_contacts = vec; }
00096 ROS_DEPRECATED uint32_t get_link_padding_size() const { return (uint32_t)link_padding.size(); }
00097 ROS_DEPRECATED void set_link_padding_size(uint32_t size) { link_padding.resize((size_t)size); }
00098 ROS_DEPRECATED void get_link_padding_vec(std::vector< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> >::other > & vec) const { vec = this->link_padding; }
00099 ROS_DEPRECATED void set_link_padding_vec(const std::vector< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::motion_planning_msgs::LinkPadding_<ContainerAllocator> >::other > & vec) { this->link_padding = vec; }
00100 private:
00101 static const char* __s_getDataType_() { return "planning_environment_msgs/GetStateValidityRequest"; }
00102 public:
00103 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00104
00105 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00106
00107 private:
00108 static const char* __s_getMD5Sum_() { return "51feb5b18c7233f093d0dd580be73f74"; }
00109 public:
00110 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00111
00112 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00113
00114 private:
00115 static const char* __s_getServerMD5Sum_() { return "949f543dd2458b3b998df6c470e86c54"; }
00116 public:
00117 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00118
00119 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00120
00121 private:
00122 static const char* __s_getMessageDefinition_() { return "\n\
00123 \n\
00124 motion_planning_msgs/RobotState robot_state\n\
00125 \n\
00126 \n\
00127 bool check_collisions\n\
00128 \n\
00129 \n\
00130 bool check_path_constraints\n\
00131 \n\
00132 \n\
00133 bool check_goal_constraints\n\
00134 \n\
00135 \n\
00136 bool check_joint_limits\n\
00137 \n\
00138 \n\
00139 \n\
00140 \n\
00141 motion_planning_msgs/OrderedCollisionOperations ordered_collision_operations\n\
00142 \n\
00143 \n\
00144 \n\
00145 motion_planning_msgs/AllowedContactSpecification[] allowed_contacts\n\
00146 \n\
00147 \n\
00148 \n\
00149 \n\
00150 motion_planning_msgs/Constraints path_constraints\n\
00151 \n\
00152 \n\
00153 \n\
00154 \n\
00155 motion_planning_msgs/Constraints goal_constraints\n\
00156 \n\
00157 \n\
00158 \n\
00159 motion_planning_msgs/LinkPadding[] link_padding\n\
00160 \n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: motion_planning_msgs/RobotState\n\
00164 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00165 sensor_msgs/JointState joint_state\n\
00166 motion_planning_msgs/MultiDOFJointState multi_dof_joint_state\n\
00167 ================================================================================\n\
00168 MSG: sensor_msgs/JointState\n\
00169 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00170 #\n\
00171 # The state of each joint (revolute or prismatic) is defined by:\n\
00172 # * the position of the joint (rad or m),\n\
00173 # * the velocity of the joint (rad/s or m/s) and \n\
00174 # * the effort that is applied in the joint (Nm or N).\n\
00175 #\n\
00176 # Each joint is uniquely identified by its name\n\
00177 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00178 # in one message have to be recorded at the same time.\n\
00179 #\n\
00180 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00181 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00182 # effort associated with them, you can leave the effort array empty. \n\
00183 #\n\
00184 # All arrays in this message should have the same size, or be empty.\n\
00185 # This is the only way to uniquely associate the joint name with the correct\n\
00186 # states.\n\
00187 \n\
00188 \n\
00189 Header header\n\
00190 \n\
00191 string[] name\n\
00192 float64[] position\n\
00193 float64[] velocity\n\
00194 float64[] effort\n\
00195 \n\
00196 ================================================================================\n\
00197 MSG: std_msgs/Header\n\
00198 # Standard metadata for higher-level stamped data types.\n\
00199 # This is generally used to communicate timestamped data \n\
00200 # in a particular coordinate frame.\n\
00201 # \n\
00202 # sequence ID: consecutively increasing ID \n\
00203 uint32 seq\n\
00204 #Two-integer timestamp that is expressed as:\n\
00205 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00206 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00207 # time-handling sugar is provided by the client library\n\
00208 time stamp\n\
00209 #Frame this data is associated with\n\
00210 # 0: no frame\n\
00211 # 1: global frame\n\
00212 string frame_id\n\
00213 \n\
00214 ================================================================================\n\
00215 MSG: motion_planning_msgs/MultiDOFJointState\n\
00216 #A representation of a multi-dof joint state\n\
00217 time stamp\n\
00218 string[] joint_names\n\
00219 string[] frame_ids\n\
00220 string[] child_frame_ids\n\
00221 geometry_msgs/Pose[] poses\n\
00222 \n\
00223 ================================================================================\n\
00224 MSG: geometry_msgs/Pose\n\
00225 # A representation of pose in free space, composed of postion and orientation. \n\
00226 Point position\n\
00227 Quaternion orientation\n\
00228 \n\
00229 ================================================================================\n\
00230 MSG: geometry_msgs/Point\n\
00231 # This contains the position of a point in free space\n\
00232 float64 x\n\
00233 float64 y\n\
00234 float64 z\n\
00235 \n\
00236 ================================================================================\n\
00237 MSG: geometry_msgs/Quaternion\n\
00238 # This represents an orientation in free space in quaternion form.\n\
00239 \n\
00240 float64 x\n\
00241 float64 y\n\
00242 float64 z\n\
00243 float64 w\n\
00244 \n\
00245 ================================================================================\n\
00246 MSG: motion_planning_msgs/OrderedCollisionOperations\n\
00247 # A set of collision operations that will be performed in the order they are specified\n\
00248 CollisionOperation[] collision_operations\n\
00249 ================================================================================\n\
00250 MSG: motion_planning_msgs/CollisionOperation\n\
00251 # A definition of a collision operation\n\
00252 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
00253 # between the gripper and all objects in the collision space\n\
00254 \n\
00255 string object1\n\
00256 string object2\n\
00257 string COLLISION_SET_ALL=\"all\"\n\
00258 string COLLISION_SET_OBJECTS=\"objects\"\n\
00259 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
00260 \n\
00261 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
00262 float64 penetration_distance\n\
00263 \n\
00264 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
00265 int32 operation\n\
00266 int32 DISABLE=0\n\
00267 int32 ENABLE=1\n\
00268 \n\
00269 ================================================================================\n\
00270 MSG: motion_planning_msgs/AllowedContactSpecification\n\
00271 # The names of the regions\n\
00272 string name\n\
00273 \n\
00274 # The shape of the region in the environment\n\
00275 geometric_shapes_msgs/Shape shape\n\
00276 \n\
00277 # The pose of the space defining the region\n\
00278 geometry_msgs/PoseStamped pose_stamped\n\
00279 \n\
00280 # The set of links that will be allowed to have penetration contact within this region\n\
00281 string[] link_names\n\
00282 \n\
00283 # The maximum penetration depth allowed for every link\n\
00284 float64 penetration_depth\n\
00285 ================================================================================\n\
00286 MSG: geometric_shapes_msgs/Shape\n\
00287 byte SPHERE=0\n\
00288 byte BOX=1\n\
00289 byte CYLINDER=2\n\
00290 byte MESH=3\n\
00291 \n\
00292 byte type\n\
00293 \n\
00294 \n\
00295 #### define sphere, box, cylinder ####\n\
00296 # the origin of each shape is considered at the shape's center\n\
00297 \n\
00298 # for sphere\n\
00299 # radius := dimensions[0]\n\
00300 \n\
00301 # for cylinder\n\
00302 # radius := dimensions[0]\n\
00303 # length := dimensions[1]\n\
00304 # the length is along the Z axis\n\
00305 \n\
00306 # for box\n\
00307 # size_x := dimensions[0]\n\
00308 # size_y := dimensions[1]\n\
00309 # size_z := dimensions[2]\n\
00310 float64[] dimensions\n\
00311 \n\
00312 \n\
00313 #### define mesh ####\n\
00314 \n\
00315 # list of triangles; triangle k is defined by tre vertices located\n\
00316 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00317 int32[] triangles\n\
00318 geometry_msgs/Point[] vertices\n\
00319 \n\
00320 ================================================================================\n\
00321 MSG: geometry_msgs/PoseStamped\n\
00322 # A Pose with reference coordinate frame and timestamp\n\
00323 Header header\n\
00324 Pose pose\n\
00325 \n\
00326 ================================================================================\n\
00327 MSG: motion_planning_msgs/Constraints\n\
00328 # This message contains a list of motion planning constraints.\n\
00329 \n\
00330 motion_planning_msgs/JointConstraint[] joint_constraints\n\
00331 motion_planning_msgs/PositionConstraint[] position_constraints\n\
00332 motion_planning_msgs/OrientationConstraint[] orientation_constraints\n\
00333 motion_planning_msgs/VisibilityConstraint[] visibility_constraints\n\
00334 \n\
00335 ================================================================================\n\
00336 MSG: motion_planning_msgs/JointConstraint\n\
00337 # Constrain the position of a joint to be within a certain bound\n\
00338 string joint_name\n\
00339 \n\
00340 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00341 float64 position\n\
00342 float64 tolerance_above\n\
00343 float64 tolerance_below\n\
00344 \n\
00345 # A weighting factor for this constraint\n\
00346 float64 weight\n\
00347 ================================================================================\n\
00348 MSG: motion_planning_msgs/PositionConstraint\n\
00349 # This message contains the definition of a position constraint.\n\
00350 Header header\n\
00351 \n\
00352 # The robot link this constraint refers to\n\
00353 string link_name\n\
00354 \n\
00355 # The offset (in the link frame) for the target point on the link we are planning for\n\
00356 geometry_msgs/Point target_point_offset\n\
00357 \n\
00358 # The nominal/target position for the point we are planning for\n\
00359 geometry_msgs/Point position\n\
00360 \n\
00361 # The shape of the bounded region that constrains the position of the end-effector\n\
00362 # This region is always centered at the position defined above\n\
00363 geometric_shapes_msgs/Shape constraint_region_shape\n\
00364 \n\
00365 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00366 # This allows the specification of non-axis aligned constraints\n\
00367 geometry_msgs/Quaternion constraint_region_orientation\n\
00368 \n\
00369 # Constraint weighting factor - a weight for this constraint\n\
00370 float64 weight\n\
00371 ================================================================================\n\
00372 MSG: motion_planning_msgs/OrientationConstraint\n\
00373 # This message contains the definition of an orientation constraint.\n\
00374 Header header\n\
00375 \n\
00376 # The robot link this constraint refers to\n\
00377 string link_name\n\
00378 \n\
00379 # The type of the constraint\n\
00380 int32 type\n\
00381 int32 LINK_FRAME=0\n\
00382 int32 HEADER_FRAME=1\n\
00383 \n\
00384 # The desired orientation of the robot link specified as a quaternion\n\
00385 geometry_msgs/Quaternion orientation\n\
00386 \n\
00387 # optional RPY error tolerances specified if \n\
00388 float64 absolute_roll_tolerance\n\
00389 float64 absolute_pitch_tolerance\n\
00390 float64 absolute_yaw_tolerance\n\
00391 \n\
00392 # Constraint weighting factor - a weight for this constraint\n\
00393 float64 weight\n\
00394 \n\
00395 ================================================================================\n\
00396 MSG: motion_planning_msgs/VisibilityConstraint\n\
00397 # This message contains the definition of a visibility constraint.\n\
00398 Header header\n\
00399 \n\
00400 # The point stamped target that needs to be kept within view of the sensor\n\
00401 geometry_msgs/PointStamped target\n\
00402 \n\
00403 # The local pose of the frame in which visibility is to be maintained\n\
00404 # The frame id should represent the robot link to which the sensor is attached\n\
00405 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00406 geometry_msgs/PoseStamped sensor_pose\n\
00407 \n\
00408 # The deviation (in radians) that will be tolerated\n\
00409 # Constraint error will be measured as the solid angle between the \n\
00410 # X axis of the frame defined above and the vector between the origin \n\
00411 # of the frame defined above and the target location\n\
00412 float64 absolute_tolerance\n\
00413 \n\
00414 \n\
00415 ================================================================================\n\
00416 MSG: geometry_msgs/PointStamped\n\
00417 # This represents a Point with reference coordinate frame and timestamp\n\
00418 Header header\n\
00419 Point point\n\
00420 \n\
00421 ================================================================================\n\
00422 MSG: motion_planning_msgs/LinkPadding\n\
00423 #name for the link\n\
00424 string link_name\n\
00425 \n\
00426 # padding to apply to the link\n\
00427 float64 padding\n\
00428 \n\
00429 "; }
00430 public:
00431 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00432
00433 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00434
00435 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00436 {
00437 ros::serialization::OStream stream(write_ptr, 1000000000);
00438 ros::serialization::serialize(stream, robot_state);
00439 ros::serialization::serialize(stream, check_collisions);
00440 ros::serialization::serialize(stream, check_path_constraints);
00441 ros::serialization::serialize(stream, check_goal_constraints);
00442 ros::serialization::serialize(stream, check_joint_limits);
00443 ros::serialization::serialize(stream, ordered_collision_operations);
00444 ros::serialization::serialize(stream, allowed_contacts);
00445 ros::serialization::serialize(stream, path_constraints);
00446 ros::serialization::serialize(stream, goal_constraints);
00447 ros::serialization::serialize(stream, link_padding);
00448 return stream.getData();
00449 }
00450
00451 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00452 {
00453 ros::serialization::IStream stream(read_ptr, 1000000000);
00454 ros::serialization::deserialize(stream, robot_state);
00455 ros::serialization::deserialize(stream, check_collisions);
00456 ros::serialization::deserialize(stream, check_path_constraints);
00457 ros::serialization::deserialize(stream, check_goal_constraints);
00458 ros::serialization::deserialize(stream, check_joint_limits);
00459 ros::serialization::deserialize(stream, ordered_collision_operations);
00460 ros::serialization::deserialize(stream, allowed_contacts);
00461 ros::serialization::deserialize(stream, path_constraints);
00462 ros::serialization::deserialize(stream, goal_constraints);
00463 ros::serialization::deserialize(stream, link_padding);
00464 return stream.getData();
00465 }
00466
00467 ROS_DEPRECATED virtual uint32_t serializationLength() const
00468 {
00469 uint32_t size = 0;
00470 size += ros::serialization::serializationLength(robot_state);
00471 size += ros::serialization::serializationLength(check_collisions);
00472 size += ros::serialization::serializationLength(check_path_constraints);
00473 size += ros::serialization::serializationLength(check_goal_constraints);
00474 size += ros::serialization::serializationLength(check_joint_limits);
00475 size += ros::serialization::serializationLength(ordered_collision_operations);
00476 size += ros::serialization::serializationLength(allowed_contacts);
00477 size += ros::serialization::serializationLength(path_constraints);
00478 size += ros::serialization::serializationLength(goal_constraints);
00479 size += ros::serialization::serializationLength(link_padding);
00480 return size;
00481 }
00482
00483 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> > Ptr;
00484 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> const> ConstPtr;
00485 };
00486 typedef ::planning_environment_msgs::GetStateValidityRequest_<std::allocator<void> > GetStateValidityRequest;
00487
00488 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityRequest> GetStateValidityRequestPtr;
00489 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityRequest const> GetStateValidityRequestConstPtr;
00490
00491
00492 template <class ContainerAllocator>
00493 struct GetStateValidityResponse_ : public ros::Message
00494 {
00495 typedef GetStateValidityResponse_<ContainerAllocator> Type;
00496
00497 GetStateValidityResponse_()
00498 : error_code()
00499 , contacts()
00500 {
00501 }
00502
00503 GetStateValidityResponse_(const ContainerAllocator& _alloc)
00504 : error_code(_alloc)
00505 , contacts(_alloc)
00506 {
00507 }
00508
00509 typedef ::motion_planning_msgs::ArmNavigationErrorCodes_<ContainerAllocator> _error_code_type;
00510 ::motion_planning_msgs::ArmNavigationErrorCodes_<ContainerAllocator> error_code;
00511
00512 typedef std::vector< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> >::other > _contacts_type;
00513 std::vector< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> >::other > contacts;
00514
00515
00516 ROS_DEPRECATED uint32_t get_contacts_size() const { return (uint32_t)contacts.size(); }
00517 ROS_DEPRECATED void set_contacts_size(uint32_t size) { contacts.resize((size_t)size); }
00518 ROS_DEPRECATED void get_contacts_vec(std::vector< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> >::other > & vec) const { vec = this->contacts; }
00519 ROS_DEPRECATED void set_contacts_vec(const std::vector< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::planning_environment_msgs::ContactInformation_<ContainerAllocator> >::other > & vec) { this->contacts = vec; }
00520 private:
00521 static const char* __s_getDataType_() { return "planning_environment_msgs/GetStateValidityResponse"; }
00522 public:
00523 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00524
00525 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00526
00527 private:
00528 static const char* __s_getMD5Sum_() { return "3229301226a0605e3ffc9dfdaeac662f"; }
00529 public:
00530 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00531
00532 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00533
00534 private:
00535 static const char* __s_getServerMD5Sum_() { return "949f543dd2458b3b998df6c470e86c54"; }
00536 public:
00537 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00538
00539 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00540
00541 private:
00542 static const char* __s_getMessageDefinition_() { return "\n\
00543 \n\
00544 \n\
00545 \n\
00546 motion_planning_msgs/ArmNavigationErrorCodes error_code\n\
00547 \n\
00548 \n\
00549 planning_environment_msgs/ContactInformation[] contacts\n\
00550 \n\
00551 \n\
00552 ================================================================================\n\
00553 MSG: motion_planning_msgs/ArmNavigationErrorCodes\n\
00554 int32 val\n\
00555 \n\
00556 # overall behavior\n\
00557 int32 PLANNING_FAILED=-1\n\
00558 int32 SUCCESS=1\n\
00559 int32 TIMED_OUT=-2\n\
00560 \n\
00561 # start state errors\n\
00562 int32 START_STATE_IN_COLLISION=-3\n\
00563 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00564 \n\
00565 # goal errors\n\
00566 int32 GOAL_IN_COLLISION=-5\n\
00567 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00568 \n\
00569 # robot state\n\
00570 int32 INVALID_ROBOT_STATE=-7\n\
00571 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00572 \n\
00573 # planning request errors\n\
00574 int32 INVALID_PLANNER_ID=-9\n\
00575 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00576 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00577 int32 INVALID_GROUP_NAME=-12\n\
00578 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00579 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00580 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00581 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00582 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00583 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00584 \n\
00585 # state/trajectory monitor errors\n\
00586 int32 INVALID_TRAJECTORY=-19\n\
00587 int32 INVALID_INDEX=-20\n\
00588 int32 JOINT_LIMITS_VIOLATED=-21\n\
00589 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00590 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00591 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00592 int32 JOINTS_NOT_MOVING=-25\n\
00593 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00594 \n\
00595 # system errors\n\
00596 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00597 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00598 int32 ROBOT_STATE_STALE=-29\n\
00599 int32 SENSOR_INFO_STALE=-30\n\
00600 \n\
00601 # kinematics errors\n\
00602 int32 NO_IK_SOLUTION=-31\n\
00603 int32 INVALID_LINK_NAME=-32\n\
00604 int32 IK_LINK_IN_COLLISION=-33\n\
00605 int32 NO_FK_SOLUTION=-34\n\
00606 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00607 \n\
00608 # general errors\n\
00609 int32 INVALID_TIMEOUT=-36\n\
00610 \n\
00611 \n\
00612 ================================================================================\n\
00613 MSG: planning_environment_msgs/ContactInformation\n\
00614 # Standard ROS header contains information \n\
00615 # about the frame in which this \n\
00616 # contact is specified\n\
00617 Header header\n\
00618 \n\
00619 # Position of the contact point\n\
00620 geometry_msgs/Point position\n\
00621 \n\
00622 # Normal corresponding to the contact point\n\
00623 geometry_msgs/Vector3 normal \n\
00624 \n\
00625 # Depth of contact point\n\
00626 float64 depth\n\
00627 \n\
00628 # Name of the first body that is in contact\n\
00629 # This could be a link or a namespace that represents a body\n\
00630 string contact_body_1\n\
00631 string attached_body_1\n\
00632 uint32 body_type_1\n\
00633 \n\
00634 # Name of the second body that is in contact\n\
00635 # This could be a link or a namespace that represents a body\n\
00636 string contact_body_2\n\
00637 string attached_body_2\n\
00638 uint32 body_type_2\n\
00639 \n\
00640 uint32 ROBOT_LINK=0\n\
00641 uint32 OBJECT=1\n\
00642 uint32 ATTACHED_BODY=2\n\
00643 ================================================================================\n\
00644 MSG: std_msgs/Header\n\
00645 # Standard metadata for higher-level stamped data types.\n\
00646 # This is generally used to communicate timestamped data \n\
00647 # in a particular coordinate frame.\n\
00648 # \n\
00649 # sequence ID: consecutively increasing ID \n\
00650 uint32 seq\n\
00651 #Two-integer timestamp that is expressed as:\n\
00652 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00653 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00654 # time-handling sugar is provided by the client library\n\
00655 time stamp\n\
00656 #Frame this data is associated with\n\
00657 # 0: no frame\n\
00658 # 1: global frame\n\
00659 string frame_id\n\
00660 \n\
00661 ================================================================================\n\
00662 MSG: geometry_msgs/Point\n\
00663 # This contains the position of a point in free space\n\
00664 float64 x\n\
00665 float64 y\n\
00666 float64 z\n\
00667 \n\
00668 ================================================================================\n\
00669 MSG: geometry_msgs/Vector3\n\
00670 # This represents a vector in free space. \n\
00671 \n\
00672 float64 x\n\
00673 float64 y\n\
00674 float64 z\n\
00675 "; }
00676 public:
00677 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00678
00679 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00680
00681 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00682 {
00683 ros::serialization::OStream stream(write_ptr, 1000000000);
00684 ros::serialization::serialize(stream, error_code);
00685 ros::serialization::serialize(stream, contacts);
00686 return stream.getData();
00687 }
00688
00689 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00690 {
00691 ros::serialization::IStream stream(read_ptr, 1000000000);
00692 ros::serialization::deserialize(stream, error_code);
00693 ros::serialization::deserialize(stream, contacts);
00694 return stream.getData();
00695 }
00696
00697 ROS_DEPRECATED virtual uint32_t serializationLength() const
00698 {
00699 uint32_t size = 0;
00700 size += ros::serialization::serializationLength(error_code);
00701 size += ros::serialization::serializationLength(contacts);
00702 return size;
00703 }
00704
00705 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> > Ptr;
00706 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> const> ConstPtr;
00707 };
00708 typedef ::planning_environment_msgs::GetStateValidityResponse_<std::allocator<void> > GetStateValidityResponse;
00709
00710 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityResponse> GetStateValidityResponsePtr;
00711 typedef boost::shared_ptr< ::planning_environment_msgs::GetStateValidityResponse const> GetStateValidityResponseConstPtr;
00712
00713 struct GetStateValidity
00714 {
00715
00716 typedef GetStateValidityRequest Request;
00717 typedef GetStateValidityResponse Response;
00718 Request request;
00719 Response response;
00720
00721 typedef Request RequestType;
00722 typedef Response ResponseType;
00723 };
00724 }
00725
00726 namespace ros
00727 {
00728 namespace message_traits
00729 {
00730 template<class ContainerAllocator>
00731 struct MD5Sum< ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> > {
00732 static const char* value()
00733 {
00734 return "51feb5b18c7233f093d0dd580be73f74";
00735 }
00736
00737 static const char* value(const ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> &) { return value(); }
00738 static const uint64_t static_value1 = 0x51feb5b18c7233f0ULL;
00739 static const uint64_t static_value2 = 0x93d0dd580be73f74ULL;
00740 };
00741
00742 template<class ContainerAllocator>
00743 struct DataType< ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> > {
00744 static const char* value()
00745 {
00746 return "planning_environment_msgs/GetStateValidityRequest";
00747 }
00748
00749 static const char* value(const ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> &) { return value(); }
00750 };
00751
00752 template<class ContainerAllocator>
00753 struct Definition< ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> > {
00754 static const char* value()
00755 {
00756 return "\n\
00757 \n\
00758 motion_planning_msgs/RobotState robot_state\n\
00759 \n\
00760 \n\
00761 bool check_collisions\n\
00762 \n\
00763 \n\
00764 bool check_path_constraints\n\
00765 \n\
00766 \n\
00767 bool check_goal_constraints\n\
00768 \n\
00769 \n\
00770 bool check_joint_limits\n\
00771 \n\
00772 \n\
00773 \n\
00774 \n\
00775 motion_planning_msgs/OrderedCollisionOperations ordered_collision_operations\n\
00776 \n\
00777 \n\
00778 \n\
00779 motion_planning_msgs/AllowedContactSpecification[] allowed_contacts\n\
00780 \n\
00781 \n\
00782 \n\
00783 \n\
00784 motion_planning_msgs/Constraints path_constraints\n\
00785 \n\
00786 \n\
00787 \n\
00788 \n\
00789 motion_planning_msgs/Constraints goal_constraints\n\
00790 \n\
00791 \n\
00792 \n\
00793 motion_planning_msgs/LinkPadding[] link_padding\n\
00794 \n\
00795 \n\
00796 ================================================================================\n\
00797 MSG: motion_planning_msgs/RobotState\n\
00798 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00799 sensor_msgs/JointState joint_state\n\
00800 motion_planning_msgs/MultiDOFJointState multi_dof_joint_state\n\
00801 ================================================================================\n\
00802 MSG: sensor_msgs/JointState\n\
00803 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00804 #\n\
00805 # The state of each joint (revolute or prismatic) is defined by:\n\
00806 # * the position of the joint (rad or m),\n\
00807 # * the velocity of the joint (rad/s or m/s) and \n\
00808 # * the effort that is applied in the joint (Nm or N).\n\
00809 #\n\
00810 # Each joint is uniquely identified by its name\n\
00811 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00812 # in one message have to be recorded at the same time.\n\
00813 #\n\
00814 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00815 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00816 # effort associated with them, you can leave the effort array empty. \n\
00817 #\n\
00818 # All arrays in this message should have the same size, or be empty.\n\
00819 # This is the only way to uniquely associate the joint name with the correct\n\
00820 # states.\n\
00821 \n\
00822 \n\
00823 Header header\n\
00824 \n\
00825 string[] name\n\
00826 float64[] position\n\
00827 float64[] velocity\n\
00828 float64[] effort\n\
00829 \n\
00830 ================================================================================\n\
00831 MSG: std_msgs/Header\n\
00832 # Standard metadata for higher-level stamped data types.\n\
00833 # This is generally used to communicate timestamped data \n\
00834 # in a particular coordinate frame.\n\
00835 # \n\
00836 # sequence ID: consecutively increasing ID \n\
00837 uint32 seq\n\
00838 #Two-integer timestamp that is expressed as:\n\
00839 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00840 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00841 # time-handling sugar is provided by the client library\n\
00842 time stamp\n\
00843 #Frame this data is associated with\n\
00844 # 0: no frame\n\
00845 # 1: global frame\n\
00846 string frame_id\n\
00847 \n\
00848 ================================================================================\n\
00849 MSG: motion_planning_msgs/MultiDOFJointState\n\
00850 #A representation of a multi-dof joint state\n\
00851 time stamp\n\
00852 string[] joint_names\n\
00853 string[] frame_ids\n\
00854 string[] child_frame_ids\n\
00855 geometry_msgs/Pose[] poses\n\
00856 \n\
00857 ================================================================================\n\
00858 MSG: geometry_msgs/Pose\n\
00859 # A representation of pose in free space, composed of postion and orientation. \n\
00860 Point position\n\
00861 Quaternion orientation\n\
00862 \n\
00863 ================================================================================\n\
00864 MSG: geometry_msgs/Point\n\
00865 # This contains the position of a point in free space\n\
00866 float64 x\n\
00867 float64 y\n\
00868 float64 z\n\
00869 \n\
00870 ================================================================================\n\
00871 MSG: geometry_msgs/Quaternion\n\
00872 # This represents an orientation in free space in quaternion form.\n\
00873 \n\
00874 float64 x\n\
00875 float64 y\n\
00876 float64 z\n\
00877 float64 w\n\
00878 \n\
00879 ================================================================================\n\
00880 MSG: motion_planning_msgs/OrderedCollisionOperations\n\
00881 # A set of collision operations that will be performed in the order they are specified\n\
00882 CollisionOperation[] collision_operations\n\
00883 ================================================================================\n\
00884 MSG: motion_planning_msgs/CollisionOperation\n\
00885 # A definition of a collision operation\n\
00886 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
00887 # between the gripper and all objects in the collision space\n\
00888 \n\
00889 string object1\n\
00890 string object2\n\
00891 string COLLISION_SET_ALL=\"all\"\n\
00892 string COLLISION_SET_OBJECTS=\"objects\"\n\
00893 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
00894 \n\
00895 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
00896 float64 penetration_distance\n\
00897 \n\
00898 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
00899 int32 operation\n\
00900 int32 DISABLE=0\n\
00901 int32 ENABLE=1\n\
00902 \n\
00903 ================================================================================\n\
00904 MSG: motion_planning_msgs/AllowedContactSpecification\n\
00905 # The names of the regions\n\
00906 string name\n\
00907 \n\
00908 # The shape of the region in the environment\n\
00909 geometric_shapes_msgs/Shape shape\n\
00910 \n\
00911 # The pose of the space defining the region\n\
00912 geometry_msgs/PoseStamped pose_stamped\n\
00913 \n\
00914 # The set of links that will be allowed to have penetration contact within this region\n\
00915 string[] link_names\n\
00916 \n\
00917 # The maximum penetration depth allowed for every link\n\
00918 float64 penetration_depth\n\
00919 ================================================================================\n\
00920 MSG: geometric_shapes_msgs/Shape\n\
00921 byte SPHERE=0\n\
00922 byte BOX=1\n\
00923 byte CYLINDER=2\n\
00924 byte MESH=3\n\
00925 \n\
00926 byte type\n\
00927 \n\
00928 \n\
00929 #### define sphere, box, cylinder ####\n\
00930 # the origin of each shape is considered at the shape's center\n\
00931 \n\
00932 # for sphere\n\
00933 # radius := dimensions[0]\n\
00934 \n\
00935 # for cylinder\n\
00936 # radius := dimensions[0]\n\
00937 # length := dimensions[1]\n\
00938 # the length is along the Z axis\n\
00939 \n\
00940 # for box\n\
00941 # size_x := dimensions[0]\n\
00942 # size_y := dimensions[1]\n\
00943 # size_z := dimensions[2]\n\
00944 float64[] dimensions\n\
00945 \n\
00946 \n\
00947 #### define mesh ####\n\
00948 \n\
00949 # list of triangles; triangle k is defined by tre vertices located\n\
00950 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00951 int32[] triangles\n\
00952 geometry_msgs/Point[] vertices\n\
00953 \n\
00954 ================================================================================\n\
00955 MSG: geometry_msgs/PoseStamped\n\
00956 # A Pose with reference coordinate frame and timestamp\n\
00957 Header header\n\
00958 Pose pose\n\
00959 \n\
00960 ================================================================================\n\
00961 MSG: motion_planning_msgs/Constraints\n\
00962 # This message contains a list of motion planning constraints.\n\
00963 \n\
00964 motion_planning_msgs/JointConstraint[] joint_constraints\n\
00965 motion_planning_msgs/PositionConstraint[] position_constraints\n\
00966 motion_planning_msgs/OrientationConstraint[] orientation_constraints\n\
00967 motion_planning_msgs/VisibilityConstraint[] visibility_constraints\n\
00968 \n\
00969 ================================================================================\n\
00970 MSG: motion_planning_msgs/JointConstraint\n\
00971 # Constrain the position of a joint to be within a certain bound\n\
00972 string joint_name\n\
00973 \n\
00974 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00975 float64 position\n\
00976 float64 tolerance_above\n\
00977 float64 tolerance_below\n\
00978 \n\
00979 # A weighting factor for this constraint\n\
00980 float64 weight\n\
00981 ================================================================================\n\
00982 MSG: motion_planning_msgs/PositionConstraint\n\
00983 # This message contains the definition of a position constraint.\n\
00984 Header header\n\
00985 \n\
00986 # The robot link this constraint refers to\n\
00987 string link_name\n\
00988 \n\
00989 # The offset (in the link frame) for the target point on the link we are planning for\n\
00990 geometry_msgs/Point target_point_offset\n\
00991 \n\
00992 # The nominal/target position for the point we are planning for\n\
00993 geometry_msgs/Point position\n\
00994 \n\
00995 # The shape of the bounded region that constrains the position of the end-effector\n\
00996 # This region is always centered at the position defined above\n\
00997 geometric_shapes_msgs/Shape constraint_region_shape\n\
00998 \n\
00999 # The orientation of the bounded region that constrains the position of the end-effector. \n\
01000 # This allows the specification of non-axis aligned constraints\n\
01001 geometry_msgs/Quaternion constraint_region_orientation\n\
01002 \n\
01003 # Constraint weighting factor - a weight for this constraint\n\
01004 float64 weight\n\
01005 ================================================================================\n\
01006 MSG: motion_planning_msgs/OrientationConstraint\n\
01007 # This message contains the definition of an orientation constraint.\n\
01008 Header header\n\
01009 \n\
01010 # The robot link this constraint refers to\n\
01011 string link_name\n\
01012 \n\
01013 # The type of the constraint\n\
01014 int32 type\n\
01015 int32 LINK_FRAME=0\n\
01016 int32 HEADER_FRAME=1\n\
01017 \n\
01018 # The desired orientation of the robot link specified as a quaternion\n\
01019 geometry_msgs/Quaternion orientation\n\
01020 \n\
01021 # optional RPY error tolerances specified if \n\
01022 float64 absolute_roll_tolerance\n\
01023 float64 absolute_pitch_tolerance\n\
01024 float64 absolute_yaw_tolerance\n\
01025 \n\
01026 # Constraint weighting factor - a weight for this constraint\n\
01027 float64 weight\n\
01028 \n\
01029 ================================================================================\n\
01030 MSG: motion_planning_msgs/VisibilityConstraint\n\
01031 # This message contains the definition of a visibility constraint.\n\
01032 Header header\n\
01033 \n\
01034 # The point stamped target that needs to be kept within view of the sensor\n\
01035 geometry_msgs/PointStamped target\n\
01036 \n\
01037 # The local pose of the frame in which visibility is to be maintained\n\
01038 # The frame id should represent the robot link to which the sensor is attached\n\
01039 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
01040 geometry_msgs/PoseStamped sensor_pose\n\
01041 \n\
01042 # The deviation (in radians) that will be tolerated\n\
01043 # Constraint error will be measured as the solid angle between the \n\
01044 # X axis of the frame defined above and the vector between the origin \n\
01045 # of the frame defined above and the target location\n\
01046 float64 absolute_tolerance\n\
01047 \n\
01048 \n\
01049 ================================================================================\n\
01050 MSG: geometry_msgs/PointStamped\n\
01051 # This represents a Point with reference coordinate frame and timestamp\n\
01052 Header header\n\
01053 Point point\n\
01054 \n\
01055 ================================================================================\n\
01056 MSG: motion_planning_msgs/LinkPadding\n\
01057 #name for the link\n\
01058 string link_name\n\
01059 \n\
01060 # padding to apply to the link\n\
01061 float64 padding\n\
01062 \n\
01063 ";
01064 }
01065
01066 static const char* value(const ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> &) { return value(); }
01067 };
01068
01069 }
01070 }
01071
01072
01073 namespace ros
01074 {
01075 namespace message_traits
01076 {
01077 template<class ContainerAllocator>
01078 struct MD5Sum< ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> > {
01079 static const char* value()
01080 {
01081 return "3229301226a0605e3ffc9dfdaeac662f";
01082 }
01083
01084 static const char* value(const ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> &) { return value(); }
01085 static const uint64_t static_value1 = 0x3229301226a0605eULL;
01086 static const uint64_t static_value2 = 0x3ffc9dfdaeac662fULL;
01087 };
01088
01089 template<class ContainerAllocator>
01090 struct DataType< ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> > {
01091 static const char* value()
01092 {
01093 return "planning_environment_msgs/GetStateValidityResponse";
01094 }
01095
01096 static const char* value(const ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> &) { return value(); }
01097 };
01098
01099 template<class ContainerAllocator>
01100 struct Definition< ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> > {
01101 static const char* value()
01102 {
01103 return "\n\
01104 \n\
01105 \n\
01106 \n\
01107 motion_planning_msgs/ArmNavigationErrorCodes error_code\n\
01108 \n\
01109 \n\
01110 planning_environment_msgs/ContactInformation[] contacts\n\
01111 \n\
01112 \n\
01113 ================================================================================\n\
01114 MSG: motion_planning_msgs/ArmNavigationErrorCodes\n\
01115 int32 val\n\
01116 \n\
01117 # overall behavior\n\
01118 int32 PLANNING_FAILED=-1\n\
01119 int32 SUCCESS=1\n\
01120 int32 TIMED_OUT=-2\n\
01121 \n\
01122 # start state errors\n\
01123 int32 START_STATE_IN_COLLISION=-3\n\
01124 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
01125 \n\
01126 # goal errors\n\
01127 int32 GOAL_IN_COLLISION=-5\n\
01128 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
01129 \n\
01130 # robot state\n\
01131 int32 INVALID_ROBOT_STATE=-7\n\
01132 int32 INCOMPLETE_ROBOT_STATE=-8\n\
01133 \n\
01134 # planning request errors\n\
01135 int32 INVALID_PLANNER_ID=-9\n\
01136 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
01137 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
01138 int32 INVALID_GROUP_NAME=-12\n\
01139 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
01140 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
01141 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
01142 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
01143 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
01144 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
01145 \n\
01146 # state/trajectory monitor errors\n\
01147 int32 INVALID_TRAJECTORY=-19\n\
01148 int32 INVALID_INDEX=-20\n\
01149 int32 JOINT_LIMITS_VIOLATED=-21\n\
01150 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
01151 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
01152 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
01153 int32 JOINTS_NOT_MOVING=-25\n\
01154 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
01155 \n\
01156 # system errors\n\
01157 int32 FRAME_TRANSFORM_FAILURE=-27\n\
01158 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
01159 int32 ROBOT_STATE_STALE=-29\n\
01160 int32 SENSOR_INFO_STALE=-30\n\
01161 \n\
01162 # kinematics errors\n\
01163 int32 NO_IK_SOLUTION=-31\n\
01164 int32 INVALID_LINK_NAME=-32\n\
01165 int32 IK_LINK_IN_COLLISION=-33\n\
01166 int32 NO_FK_SOLUTION=-34\n\
01167 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
01168 \n\
01169 # general errors\n\
01170 int32 INVALID_TIMEOUT=-36\n\
01171 \n\
01172 \n\
01173 ================================================================================\n\
01174 MSG: planning_environment_msgs/ContactInformation\n\
01175 # Standard ROS header contains information \n\
01176 # about the frame in which this \n\
01177 # contact is specified\n\
01178 Header header\n\
01179 \n\
01180 # Position of the contact point\n\
01181 geometry_msgs/Point position\n\
01182 \n\
01183 # Normal corresponding to the contact point\n\
01184 geometry_msgs/Vector3 normal \n\
01185 \n\
01186 # Depth of contact point\n\
01187 float64 depth\n\
01188 \n\
01189 # Name of the first body that is in contact\n\
01190 # This could be a link or a namespace that represents a body\n\
01191 string contact_body_1\n\
01192 string attached_body_1\n\
01193 uint32 body_type_1\n\
01194 \n\
01195 # Name of the second body that is in contact\n\
01196 # This could be a link or a namespace that represents a body\n\
01197 string contact_body_2\n\
01198 string attached_body_2\n\
01199 uint32 body_type_2\n\
01200 \n\
01201 uint32 ROBOT_LINK=0\n\
01202 uint32 OBJECT=1\n\
01203 uint32 ATTACHED_BODY=2\n\
01204 ================================================================================\n\
01205 MSG: std_msgs/Header\n\
01206 # Standard metadata for higher-level stamped data types.\n\
01207 # This is generally used to communicate timestamped data \n\
01208 # in a particular coordinate frame.\n\
01209 # \n\
01210 # sequence ID: consecutively increasing ID \n\
01211 uint32 seq\n\
01212 #Two-integer timestamp that is expressed as:\n\
01213 # * stamp.secs: seconds (stamp_secs) since epoch\n\
01214 # * stamp.nsecs: nanoseconds since stamp_secs\n\
01215 # time-handling sugar is provided by the client library\n\
01216 time stamp\n\
01217 #Frame this data is associated with\n\
01218 # 0: no frame\n\
01219 # 1: global frame\n\
01220 string frame_id\n\
01221 \n\
01222 ================================================================================\n\
01223 MSG: geometry_msgs/Point\n\
01224 # This contains the position of a point in free space\n\
01225 float64 x\n\
01226 float64 y\n\
01227 float64 z\n\
01228 \n\
01229 ================================================================================\n\
01230 MSG: geometry_msgs/Vector3\n\
01231 # This represents a vector in free space. \n\
01232 \n\
01233 float64 x\n\
01234 float64 y\n\
01235 float64 z\n\
01236 ";
01237 }
01238
01239 static const char* value(const ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> &) { return value(); }
01240 };
01241
01242 }
01243 }
01244
01245 namespace ros
01246 {
01247 namespace serialization
01248 {
01249
01250 template<class ContainerAllocator> struct Serializer< ::planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> >
01251 {
01252 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
01253 {
01254 stream.next(m.robot_state);
01255 stream.next(m.check_collisions);
01256 stream.next(m.check_path_constraints);
01257 stream.next(m.check_goal_constraints);
01258 stream.next(m.check_joint_limits);
01259 stream.next(m.ordered_collision_operations);
01260 stream.next(m.allowed_contacts);
01261 stream.next(m.path_constraints);
01262 stream.next(m.goal_constraints);
01263 stream.next(m.link_padding);
01264 }
01265
01266 ROS_DECLARE_ALLINONE_SERIALIZER;
01267 };
01268 }
01269 }
01270
01271
01272 namespace ros
01273 {
01274 namespace serialization
01275 {
01276
01277 template<class ContainerAllocator> struct Serializer< ::planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> >
01278 {
01279 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
01280 {
01281 stream.next(m.error_code);
01282 stream.next(m.contacts);
01283 }
01284
01285 ROS_DECLARE_ALLINONE_SERIALIZER;
01286 };
01287 }
01288 }
01289
01290 namespace ros
01291 {
01292 namespace service_traits
01293 {
01294 template<>
01295 struct MD5Sum<planning_environment_msgs::GetStateValidity> {
01296 static const char* value()
01297 {
01298 return "949f543dd2458b3b998df6c470e86c54";
01299 }
01300
01301 static const char* value(const planning_environment_msgs::GetStateValidity&) { return value(); }
01302 };
01303
01304 template<>
01305 struct DataType<planning_environment_msgs::GetStateValidity> {
01306 static const char* value()
01307 {
01308 return "planning_environment_msgs/GetStateValidity";
01309 }
01310
01311 static const char* value(const planning_environment_msgs::GetStateValidity&) { return value(); }
01312 };
01313
01314 template<class ContainerAllocator>
01315 struct MD5Sum<planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> > {
01316 static const char* value()
01317 {
01318 return "949f543dd2458b3b998df6c470e86c54";
01319 }
01320
01321 static const char* value(const planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> &) { return value(); }
01322 };
01323
01324 template<class ContainerAllocator>
01325 struct DataType<planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> > {
01326 static const char* value()
01327 {
01328 return "planning_environment_msgs/GetStateValidity";
01329 }
01330
01331 static const char* value(const planning_environment_msgs::GetStateValidityRequest_<ContainerAllocator> &) { return value(); }
01332 };
01333
01334 template<class ContainerAllocator>
01335 struct MD5Sum<planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> > {
01336 static const char* value()
01337 {
01338 return "949f543dd2458b3b998df6c470e86c54";
01339 }
01340
01341 static const char* value(const planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> &) { return value(); }
01342 };
01343
01344 template<class ContainerAllocator>
01345 struct DataType<planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> > {
01346 static const char* value()
01347 {
01348 return "planning_environment_msgs/GetStateValidity";
01349 }
01350
01351 static const char* value(const planning_environment_msgs::GetStateValidityResponse_<ContainerAllocator> &) { return value(); }
01352 };
01353
01354 }
01355 }
01356
01357 #endif // PLANNING_ENVIRONMENT_MSGS_SERVICE_GETSTATEVALIDITY_H
01358