Go to the documentation of this file.00001
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_SYNCPLANNINGSCENEGOAL_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_SYNCPLANNINGSCENEGOAL_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "arm_navigation_msgs/PlanningScene.h"
00018
00019 namespace arm_navigation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SyncPlanningSceneGoal_ {
00023 typedef SyncPlanningSceneGoal_<ContainerAllocator> Type;
00024
00025 SyncPlanningSceneGoal_()
00026 : planning_scene()
00027 {
00028 }
00029
00030 SyncPlanningSceneGoal_(const ContainerAllocator& _alloc)
00031 : planning_scene(_alloc)
00032 {
00033 }
00034
00035 typedef ::arm_navigation_msgs::PlanningScene_<ContainerAllocator> _planning_scene_type;
00036 ::arm_navigation_msgs::PlanningScene_<ContainerAllocator> planning_scene;
00037
00038
00039 typedef boost::shared_ptr< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::arm_navigation_msgs::SyncPlanningSceneGoal_<std::allocator<void> > SyncPlanningSceneGoal;
00044
00045 typedef boost::shared_ptr< ::arm_navigation_msgs::SyncPlanningSceneGoal> SyncPlanningSceneGoalPtr;
00046 typedef boost::shared_ptr< ::arm_navigation_msgs::SyncPlanningSceneGoal const> SyncPlanningSceneGoalConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "285525c9abe002fbafa99af84a14b4cb";
00068 }
00069
00070 static const char* value(const ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x285525c9abe002fbULL;
00072 static const uint64_t static_value2 = 0xafa99af84a14b4cbULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "arm_navigation_msgs/SyncPlanningSceneGoal";
00080 }
00081
00082 static const char* value(const ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # THIS MESSAGE IS FOR INTERNAL COMMUNICATION BETWEEN\n\
00091 # PLANNING ENVIRONMENT COMPONENTS ONLY\n\
00092 \n\
00093 #Full planning scene\n\
00094 PlanningScene planning_scene\n\
00095 \n\
00096 ================================================================================\n\
00097 MSG: arm_navigation_msgs/PlanningScene\n\
00098 #full robot state\n\
00099 arm_navigation_msgs/RobotState robot_state\n\
00100 \n\
00101 #additional frames for duplicating tf\n\
00102 geometry_msgs/TransformStamped[] fixed_frame_transforms\n\
00103 \n\
00104 #full allowed collision matrix\n\
00105 AllowedCollisionMatrix allowed_collision_matrix\n\
00106 \n\
00107 #allowed contacts\n\
00108 arm_navigation_msgs/AllowedContactSpecification[] allowed_contacts\n\
00109 \n\
00110 #all link paddings\n\
00111 arm_navigation_msgs/LinkPadding[] link_padding\n\
00112 \n\
00113 #collision objects\n\
00114 arm_navigation_msgs/CollisionObject[] collision_objects\n\
00115 arm_navigation_msgs/AttachedCollisionObject[] attached_collision_objects\n\
00116 \n\
00117 #the collision map\n\
00118 arm_navigation_msgs/CollisionMap collision_map\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: arm_navigation_msgs/RobotState\n\
00122 # This message contains information about the robot state, i.e. the positions of its joints and links\n\
00123 sensor_msgs/JointState joint_state\n\
00124 arm_navigation_msgs/MultiDOFJointState multi_dof_joint_state\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: sensor_msgs/JointState\n\
00128 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00129 #\n\
00130 # The state of each joint (revolute or prismatic) is defined by:\n\
00131 # * the position of the joint (rad or m),\n\
00132 # * the velocity of the joint (rad/s or m/s) and \n\
00133 # * the effort that is applied in the joint (Nm or N).\n\
00134 #\n\
00135 # Each joint is uniquely identified by its name\n\
00136 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00137 # in one message have to be recorded at the same time.\n\
00138 #\n\
00139 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00140 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00141 # effort associated with them, you can leave the effort array empty. \n\
00142 #\n\
00143 # All arrays in this message should have the same size, or be empty.\n\
00144 # This is the only way to uniquely associate the joint name with the correct\n\
00145 # states.\n\
00146 \n\
00147 \n\
00148 Header header\n\
00149 \n\
00150 string[] name\n\
00151 float64[] position\n\
00152 float64[] velocity\n\
00153 float64[] effort\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: std_msgs/Header\n\
00157 # Standard metadata for higher-level stamped data types.\n\
00158 # This is generally used to communicate timestamped data \n\
00159 # in a particular coordinate frame.\n\
00160 # \n\
00161 # sequence ID: consecutively increasing ID \n\
00162 uint32 seq\n\
00163 #Two-integer timestamp that is expressed as:\n\
00164 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00165 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00166 # time-handling sugar is provided by the client library\n\
00167 time stamp\n\
00168 #Frame this data is associated with\n\
00169 # 0: no frame\n\
00170 # 1: global frame\n\
00171 string frame_id\n\
00172 \n\
00173 ================================================================================\n\
00174 MSG: arm_navigation_msgs/MultiDOFJointState\n\
00175 #A representation of a multi-dof joint state\n\
00176 time stamp\n\
00177 string[] joint_names\n\
00178 string[] frame_ids\n\
00179 string[] child_frame_ids\n\
00180 geometry_msgs/Pose[] poses\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: geometry_msgs/Pose\n\
00184 # A representation of pose in free space, composed of postion and orientation. \n\
00185 Point position\n\
00186 Quaternion orientation\n\
00187 \n\
00188 ================================================================================\n\
00189 MSG: geometry_msgs/Point\n\
00190 # This contains the position of a point in free space\n\
00191 float64 x\n\
00192 float64 y\n\
00193 float64 z\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: geometry_msgs/Quaternion\n\
00197 # This represents an orientation in free space in quaternion form.\n\
00198 \n\
00199 float64 x\n\
00200 float64 y\n\
00201 float64 z\n\
00202 float64 w\n\
00203 \n\
00204 ================================================================================\n\
00205 MSG: geometry_msgs/TransformStamped\n\
00206 # This expresses a transform from coordinate frame header.frame_id\n\
00207 # to the coordinate frame child_frame_id\n\
00208 #\n\
00209 # This message is mostly used by the \n\
00210 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00211 # See its documentation for more information.\n\
00212 \n\
00213 Header header\n\
00214 string child_frame_id # the frame id of the child frame\n\
00215 Transform transform\n\
00216 \n\
00217 ================================================================================\n\
00218 MSG: geometry_msgs/Transform\n\
00219 # This represents the transform between two coordinate frames in free space.\n\
00220 \n\
00221 Vector3 translation\n\
00222 Quaternion rotation\n\
00223 \n\
00224 ================================================================================\n\
00225 MSG: geometry_msgs/Vector3\n\
00226 # This represents a vector in free space. \n\
00227 \n\
00228 float64 x\n\
00229 float64 y\n\
00230 float64 z\n\
00231 ================================================================================\n\
00232 MSG: arm_navigation_msgs/AllowedCollisionMatrix\n\
00233 # the list of link names in the matrix\n\
00234 string[] link_names\n\
00235 \n\
00236 # the individual entries in the allowed collision matrix\n\
00237 # symmetric, with same order as link_names\n\
00238 AllowedCollisionEntry[] entries\n\
00239 \n\
00240 ================================================================================\n\
00241 MSG: arm_navigation_msgs/AllowedCollisionEntry\n\
00242 # whether or not collision checking is enabled\n\
00243 bool[] enabled\n\
00244 \n\
00245 ================================================================================\n\
00246 MSG: arm_navigation_msgs/AllowedContactSpecification\n\
00247 # The names of the regions\n\
00248 string name\n\
00249 \n\
00250 # The shape of the region in the environment\n\
00251 arm_navigation_msgs/Shape shape\n\
00252 \n\
00253 # The pose of the space defining the region\n\
00254 geometry_msgs/PoseStamped pose_stamped\n\
00255 \n\
00256 # The set of links that will be allowed to have penetration contact within this region\n\
00257 string[] link_names\n\
00258 \n\
00259 # The maximum penetration depth allowed for every link\n\
00260 float64 penetration_depth\n\
00261 \n\
00262 ================================================================================\n\
00263 MSG: arm_navigation_msgs/Shape\n\
00264 byte SPHERE=0\n\
00265 byte BOX=1\n\
00266 byte CYLINDER=2\n\
00267 byte MESH=3\n\
00268 \n\
00269 byte type\n\
00270 \n\
00271 \n\
00272 #### define sphere, box, cylinder ####\n\
00273 # the origin of each shape is considered at the shape's center\n\
00274 \n\
00275 # for sphere\n\
00276 # radius := dimensions[0]\n\
00277 \n\
00278 # for cylinder\n\
00279 # radius := dimensions[0]\n\
00280 # length := dimensions[1]\n\
00281 # the length is along the Z axis\n\
00282 \n\
00283 # for box\n\
00284 # size_x := dimensions[0]\n\
00285 # size_y := dimensions[1]\n\
00286 # size_z := dimensions[2]\n\
00287 float64[] dimensions\n\
00288 \n\
00289 \n\
00290 #### define mesh ####\n\
00291 \n\
00292 # list of triangles; triangle k is defined by tre vertices located\n\
00293 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00294 int32[] triangles\n\
00295 geometry_msgs/Point[] vertices\n\
00296 \n\
00297 ================================================================================\n\
00298 MSG: geometry_msgs/PoseStamped\n\
00299 # A Pose with reference coordinate frame and timestamp\n\
00300 Header header\n\
00301 Pose pose\n\
00302 \n\
00303 ================================================================================\n\
00304 MSG: arm_navigation_msgs/LinkPadding\n\
00305 #name for the link\n\
00306 string link_name\n\
00307 \n\
00308 # padding to apply to the link\n\
00309 float64 padding\n\
00310 \n\
00311 ================================================================================\n\
00312 MSG: arm_navigation_msgs/CollisionObject\n\
00313 # a header, used for interpreting the poses\n\
00314 Header header\n\
00315 \n\
00316 # the id of the object\n\
00317 string id\n\
00318 \n\
00319 # The padding used for filtering points near the object.\n\
00320 # This does not affect collision checking for the object. \n\
00321 # Set to negative to get zero padding.\n\
00322 float32 padding\n\
00323 \n\
00324 #This contains what is to be done with the object\n\
00325 CollisionObjectOperation operation\n\
00326 \n\
00327 #the shapes associated with the object\n\
00328 arm_navigation_msgs/Shape[] shapes\n\
00329 \n\
00330 #the poses associated with the shapes - will be transformed using the header\n\
00331 geometry_msgs/Pose[] poses\n\
00332 \n\
00333 ================================================================================\n\
00334 MSG: arm_navigation_msgs/CollisionObjectOperation\n\
00335 #Puts the object into the environment\n\
00336 #or updates the object if already added\n\
00337 byte ADD=0\n\
00338 \n\
00339 #Removes the object from the environment entirely\n\
00340 byte REMOVE=1\n\
00341 \n\
00342 #Only valid within the context of a CollisionAttachedObject message\n\
00343 #Will be ignored if sent with an CollisionObject message\n\
00344 #Takes an attached object, detaches from the attached link\n\
00345 #But adds back in as regular object\n\
00346 byte DETACH_AND_ADD_AS_OBJECT=2\n\
00347 \n\
00348 #Only valid within the context of a CollisionAttachedObject message\n\
00349 #Will be ignored if sent with an CollisionObject message\n\
00350 #Takes current object in the environment and removes it as\n\
00351 #a regular object\n\
00352 byte ATTACH_AND_REMOVE_AS_OBJECT=3\n\
00353 \n\
00354 # Byte code for operation\n\
00355 byte operation\n\
00356 \n\
00357 ================================================================================\n\
00358 MSG: arm_navigation_msgs/AttachedCollisionObject\n\
00359 # The CollisionObject will be attached with a fixed joint to this link\n\
00360 # If link name is set to REMOVE_ALL_ATTACHED_OBJECTS and object.operation \n\
00361 # is set to REMOVE will remove all attached bodies attached to any object\n\
00362 string link_name\n\
00363 \n\
00364 #Reserved for indicating that all attached objects should be removed\n\
00365 string REMOVE_ALL_ATTACHED_OBJECTS = \"all\"\n\
00366 \n\
00367 #This contains the actual shapes and poses for the CollisionObject\n\
00368 #to be attached to the link\n\
00369 #If action is remove and no object.id is set, all objects\n\
00370 #attached to the link indicated by link_name will be removed\n\
00371 CollisionObject object\n\
00372 \n\
00373 # The set of links that the attached objects are allowed to touch\n\
00374 # by default - the link_name is included by default\n\
00375 string[] touch_links\n\
00376 \n\
00377 ================================================================================\n\
00378 MSG: arm_navigation_msgs/CollisionMap\n\
00379 #header for interpreting box positions\n\
00380 Header header\n\
00381 \n\
00382 #boxes for use in collision testing\n\
00383 OrientedBoundingBox[] boxes\n\
00384 \n\
00385 ================================================================================\n\
00386 MSG: arm_navigation_msgs/OrientedBoundingBox\n\
00387 #the center of the box\n\
00388 geometry_msgs/Point32 center\n\
00389 \n\
00390 #the extents of the box, assuming the center is at the point\n\
00391 geometry_msgs/Point32 extents\n\
00392 \n\
00393 #the axis of the box\n\
00394 geometry_msgs/Point32 axis\n\
00395 \n\
00396 #the angle of rotation around the axis\n\
00397 float32 angle\n\
00398 \n\
00399 ================================================================================\n\
00400 MSG: geometry_msgs/Point32\n\
00401 # This contains the position of a point in free space(with 32 bits of precision).\n\
00402 # It is recommeded to use Point wherever possible instead of Point32. \n\
00403 # \n\
00404 # This recommendation is to promote interoperability. \n\
00405 #\n\
00406 # This message is designed to take up less space when sending\n\
00407 # lots of points at once, as in the case of a PointCloud. \n\
00408 \n\
00409 float32 x\n\
00410 float32 y\n\
00411 float32 z\n\
00412 ";
00413 }
00414
00415 static const char* value(const ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> &) { return value(); }
00416 };
00417
00418 }
00419 }
00420
00421 namespace ros
00422 {
00423 namespace serialization
00424 {
00425
00426 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> >
00427 {
00428 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00429 {
00430 stream.next(m.planning_scene);
00431 }
00432
00433 ROS_DECLARE_ALLINONE_SERIALIZER;
00434 };
00435 }
00436 }
00437
00438 namespace ros
00439 {
00440 namespace message_operations
00441 {
00442
00443 template<class ContainerAllocator>
00444 struct Printer< ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> >
00445 {
00446 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::SyncPlanningSceneGoal_<ContainerAllocator> & v)
00447 {
00448 s << indent << "planning_scene: ";
00449 s << std::endl;
00450 Printer< ::arm_navigation_msgs::PlanningScene_<ContainerAllocator> >::stream(s, indent + " ", v.planning_scene);
00451 }
00452 };
00453
00454
00455 }
00456 }
00457
00458 #endif // ARM_NAVIGATION_MSGS_MESSAGE_SYNCPLANNINGSCENEGOAL_H
00459