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