$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/manipulation/pr2_grasp_adjust/msg/GraspAdjustActionGoal.msg */ 00002 #ifndef PR2_GRASP_ADJUST_MESSAGE_GRASPADJUSTACTIONGOAL_H 00003 #define PR2_GRASP_ADJUST_MESSAGE_GRASPADJUSTACTIONGOAL_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 "std_msgs/Header.h" 00018 #include "actionlib_msgs/GoalID.h" 00019 #include "pr2_grasp_adjust/GraspAdjustGoal.h" 00020 00021 namespace pr2_grasp_adjust 00022 { 00023 template <class ContainerAllocator> 00024 struct GraspAdjustActionGoal_ { 00025 typedef GraspAdjustActionGoal_<ContainerAllocator> Type; 00026 00027 GraspAdjustActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 GraspAdjustActionGoal_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , goal_id(_alloc) 00037 , goal(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type; 00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id; 00046 00047 typedef ::pr2_grasp_adjust::GraspAdjustGoal_<ContainerAllocator> _goal_type; 00048 ::pr2_grasp_adjust::GraspAdjustGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "pr2_grasp_adjust/GraspAdjustActionGoal"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "dcec75de1b67ec577ef7d0e121194cb5"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00067 \n\ 00068 Header header\n\ 00069 actionlib_msgs/GoalID goal_id\n\ 00070 GraspAdjustGoal goal\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: std_msgs/Header\n\ 00074 # Standard metadata for higher-level stamped data types.\n\ 00075 # This is generally used to communicate timestamped data \n\ 00076 # in a particular coordinate frame.\n\ 00077 # \n\ 00078 # sequence ID: consecutively increasing ID \n\ 00079 uint32 seq\n\ 00080 #Two-integer timestamp that is expressed as:\n\ 00081 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00082 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00083 # time-handling sugar is provided by the client library\n\ 00084 time stamp\n\ 00085 #Frame this data is associated with\n\ 00086 # 0: no frame\n\ 00087 # 1: global frame\n\ 00088 string frame_id\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: actionlib_msgs/GoalID\n\ 00092 # The stamp should store the time at which this goal was requested.\n\ 00093 # It is used by an action server when it tries to preempt all\n\ 00094 # goals that were requested before a certain time\n\ 00095 time stamp\n\ 00096 \n\ 00097 # The id provides a way to associate feedback and\n\ 00098 # result message with specific goal requests. The id\n\ 00099 # specified must be unique.\n\ 00100 string id\n\ 00101 \n\ 00102 \n\ 00103 ================================================================================\n\ 00104 MSG: pr2_grasp_adjust/GraspAdjustGoal\n\ 00105 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00106 #goal definition\n\ 00107 \n\ 00108 sensor_msgs/PointCloud2 cloud\n\ 00109 geometry_msgs/PoseStamped pose_stamped\n\ 00110 bool use_orientation\n\ 00111 int32 seed_index\n\ 00112 uint8 search_mode\n\ 00113 \n\ 00114 int32 GLOBAL_SEARCH = 0\n\ 00115 int32 LOCAL_SEARCH = 1\n\ 00116 int32 SINGLE_POSE = 2\n\ 00117 \n\ 00118 \n\ 00119 ================================================================================\n\ 00120 MSG: sensor_msgs/PointCloud2\n\ 00121 # This message holds a collection of N-dimensional points, which may\n\ 00122 # contain additional information such as normals, intensity, etc. The\n\ 00123 # point data is stored as a binary blob, its layout described by the\n\ 00124 # contents of the \"fields\" array.\n\ 00125 \n\ 00126 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00127 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00128 # camera depth sensors such as stereo or time-of-flight.\n\ 00129 \n\ 00130 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00131 # points).\n\ 00132 Header header\n\ 00133 \n\ 00134 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00135 # 1 and width is the length of the point cloud.\n\ 00136 uint32 height\n\ 00137 uint32 width\n\ 00138 \n\ 00139 # Describes the channels and their layout in the binary data blob.\n\ 00140 PointField[] fields\n\ 00141 \n\ 00142 bool is_bigendian # Is this data bigendian?\n\ 00143 uint32 point_step # Length of a point in bytes\n\ 00144 uint32 row_step # Length of a row in bytes\n\ 00145 uint8[] data # Actual point data, size is (row_step*height)\n\ 00146 \n\ 00147 bool is_dense # True if there are no invalid points\n\ 00148 \n\ 00149 ================================================================================\n\ 00150 MSG: sensor_msgs/PointField\n\ 00151 # This message holds the description of one point entry in the\n\ 00152 # PointCloud2 message format.\n\ 00153 uint8 INT8 = 1\n\ 00154 uint8 UINT8 = 2\n\ 00155 uint8 INT16 = 3\n\ 00156 uint8 UINT16 = 4\n\ 00157 uint8 INT32 = 5\n\ 00158 uint8 UINT32 = 6\n\ 00159 uint8 FLOAT32 = 7\n\ 00160 uint8 FLOAT64 = 8\n\ 00161 \n\ 00162 string name # Name of field\n\ 00163 uint32 offset # Offset from start of point struct\n\ 00164 uint8 datatype # Datatype enumeration, see above\n\ 00165 uint32 count # How many elements in the field\n\ 00166 \n\ 00167 ================================================================================\n\ 00168 MSG: geometry_msgs/PoseStamped\n\ 00169 # A Pose with reference coordinate frame and timestamp\n\ 00170 Header header\n\ 00171 Pose pose\n\ 00172 \n\ 00173 ================================================================================\n\ 00174 MSG: geometry_msgs/Pose\n\ 00175 # A representation of pose in free space, composed of postion and orientation. \n\ 00176 Point position\n\ 00177 Quaternion orientation\n\ 00178 \n\ 00179 ================================================================================\n\ 00180 MSG: geometry_msgs/Point\n\ 00181 # This contains the position of a point in free space\n\ 00182 float64 x\n\ 00183 float64 y\n\ 00184 float64 z\n\ 00185 \n\ 00186 ================================================================================\n\ 00187 MSG: geometry_msgs/Quaternion\n\ 00188 # This represents an orientation in free space in quaternion form.\n\ 00189 \n\ 00190 float64 x\n\ 00191 float64 y\n\ 00192 float64 z\n\ 00193 float64 w\n\ 00194 \n\ 00195 "; } 00196 public: 00197 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00198 00199 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00200 00201 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00202 { 00203 ros::serialization::OStream stream(write_ptr, 1000000000); 00204 ros::serialization::serialize(stream, header); 00205 ros::serialization::serialize(stream, goal_id); 00206 ros::serialization::serialize(stream, goal); 00207 return stream.getData(); 00208 } 00209 00210 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00211 { 00212 ros::serialization::IStream stream(read_ptr, 1000000000); 00213 ros::serialization::deserialize(stream, header); 00214 ros::serialization::deserialize(stream, goal_id); 00215 ros::serialization::deserialize(stream, goal); 00216 return stream.getData(); 00217 } 00218 00219 ROS_DEPRECATED virtual uint32_t serializationLength() const 00220 { 00221 uint32_t size = 0; 00222 size += ros::serialization::serializationLength(header); 00223 size += ros::serialization::serializationLength(goal_id); 00224 size += ros::serialization::serializationLength(goal); 00225 return size; 00226 } 00227 00228 typedef boost::shared_ptr< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > Ptr; 00229 typedef boost::shared_ptr< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> const> ConstPtr; 00230 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00231 }; // struct GraspAdjustActionGoal 00232 typedef ::pr2_grasp_adjust::GraspAdjustActionGoal_<std::allocator<void> > GraspAdjustActionGoal; 00233 00234 typedef boost::shared_ptr< ::pr2_grasp_adjust::GraspAdjustActionGoal> GraspAdjustActionGoalPtr; 00235 typedef boost::shared_ptr< ::pr2_grasp_adjust::GraspAdjustActionGoal const> GraspAdjustActionGoalConstPtr; 00236 00237 00238 template<typename ContainerAllocator> 00239 std::ostream& operator<<(std::ostream& s, const ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> & v) 00240 { 00241 ros::message_operations::Printer< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> >::stream(s, "", v); 00242 return s;} 00243 00244 } // namespace pr2_grasp_adjust 00245 00246 namespace ros 00247 { 00248 namespace message_traits 00249 { 00250 template<class ContainerAllocator> struct IsMessage< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > : public TrueType {}; 00251 template<class ContainerAllocator> struct IsMessage< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> const> : public TrueType {}; 00252 template<class ContainerAllocator> 00253 struct MD5Sum< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > { 00254 static const char* value() 00255 { 00256 return "dcec75de1b67ec577ef7d0e121194cb5"; 00257 } 00258 00259 static const char* value(const ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> &) { return value(); } 00260 static const uint64_t static_value1 = 0xdcec75de1b67ec57ULL; 00261 static const uint64_t static_value2 = 0x7ef7d0e121194cb5ULL; 00262 }; 00263 00264 template<class ContainerAllocator> 00265 struct DataType< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > { 00266 static const char* value() 00267 { 00268 return "pr2_grasp_adjust/GraspAdjustActionGoal"; 00269 } 00270 00271 static const char* value(const ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> &) { return value(); } 00272 }; 00273 00274 template<class ContainerAllocator> 00275 struct Definition< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > { 00276 static const char* value() 00277 { 00278 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00279 \n\ 00280 Header header\n\ 00281 actionlib_msgs/GoalID goal_id\n\ 00282 GraspAdjustGoal goal\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: std_msgs/Header\n\ 00286 # Standard metadata for higher-level stamped data types.\n\ 00287 # This is generally used to communicate timestamped data \n\ 00288 # in a particular coordinate frame.\n\ 00289 # \n\ 00290 # sequence ID: consecutively increasing ID \n\ 00291 uint32 seq\n\ 00292 #Two-integer timestamp that is expressed as:\n\ 00293 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00294 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00295 # time-handling sugar is provided by the client library\n\ 00296 time stamp\n\ 00297 #Frame this data is associated with\n\ 00298 # 0: no frame\n\ 00299 # 1: global frame\n\ 00300 string frame_id\n\ 00301 \n\ 00302 ================================================================================\n\ 00303 MSG: actionlib_msgs/GoalID\n\ 00304 # The stamp should store the time at which this goal was requested.\n\ 00305 # It is used by an action server when it tries to preempt all\n\ 00306 # goals that were requested before a certain time\n\ 00307 time stamp\n\ 00308 \n\ 00309 # The id provides a way to associate feedback and\n\ 00310 # result message with specific goal requests. The id\n\ 00311 # specified must be unique.\n\ 00312 string id\n\ 00313 \n\ 00314 \n\ 00315 ================================================================================\n\ 00316 MSG: pr2_grasp_adjust/GraspAdjustGoal\n\ 00317 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00318 #goal definition\n\ 00319 \n\ 00320 sensor_msgs/PointCloud2 cloud\n\ 00321 geometry_msgs/PoseStamped pose_stamped\n\ 00322 bool use_orientation\n\ 00323 int32 seed_index\n\ 00324 uint8 search_mode\n\ 00325 \n\ 00326 int32 GLOBAL_SEARCH = 0\n\ 00327 int32 LOCAL_SEARCH = 1\n\ 00328 int32 SINGLE_POSE = 2\n\ 00329 \n\ 00330 \n\ 00331 ================================================================================\n\ 00332 MSG: sensor_msgs/PointCloud2\n\ 00333 # This message holds a collection of N-dimensional points, which may\n\ 00334 # contain additional information such as normals, intensity, etc. The\n\ 00335 # point data is stored as a binary blob, its layout described by the\n\ 00336 # contents of the \"fields\" array.\n\ 00337 \n\ 00338 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00339 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00340 # camera depth sensors such as stereo or time-of-flight.\n\ 00341 \n\ 00342 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00343 # points).\n\ 00344 Header header\n\ 00345 \n\ 00346 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00347 # 1 and width is the length of the point cloud.\n\ 00348 uint32 height\n\ 00349 uint32 width\n\ 00350 \n\ 00351 # Describes the channels and their layout in the binary data blob.\n\ 00352 PointField[] fields\n\ 00353 \n\ 00354 bool is_bigendian # Is this data bigendian?\n\ 00355 uint32 point_step # Length of a point in bytes\n\ 00356 uint32 row_step # Length of a row in bytes\n\ 00357 uint8[] data # Actual point data, size is (row_step*height)\n\ 00358 \n\ 00359 bool is_dense # True if there are no invalid points\n\ 00360 \n\ 00361 ================================================================================\n\ 00362 MSG: sensor_msgs/PointField\n\ 00363 # This message holds the description of one point entry in the\n\ 00364 # PointCloud2 message format.\n\ 00365 uint8 INT8 = 1\n\ 00366 uint8 UINT8 = 2\n\ 00367 uint8 INT16 = 3\n\ 00368 uint8 UINT16 = 4\n\ 00369 uint8 INT32 = 5\n\ 00370 uint8 UINT32 = 6\n\ 00371 uint8 FLOAT32 = 7\n\ 00372 uint8 FLOAT64 = 8\n\ 00373 \n\ 00374 string name # Name of field\n\ 00375 uint32 offset # Offset from start of point struct\n\ 00376 uint8 datatype # Datatype enumeration, see above\n\ 00377 uint32 count # How many elements in the field\n\ 00378 \n\ 00379 ================================================================================\n\ 00380 MSG: geometry_msgs/PoseStamped\n\ 00381 # A Pose with reference coordinate frame and timestamp\n\ 00382 Header header\n\ 00383 Pose pose\n\ 00384 \n\ 00385 ================================================================================\n\ 00386 MSG: geometry_msgs/Pose\n\ 00387 # A representation of pose in free space, composed of postion and orientation. \n\ 00388 Point position\n\ 00389 Quaternion orientation\n\ 00390 \n\ 00391 ================================================================================\n\ 00392 MSG: geometry_msgs/Point\n\ 00393 # This contains the position of a point in free space\n\ 00394 float64 x\n\ 00395 float64 y\n\ 00396 float64 z\n\ 00397 \n\ 00398 ================================================================================\n\ 00399 MSG: geometry_msgs/Quaternion\n\ 00400 # This represents an orientation in free space in quaternion form.\n\ 00401 \n\ 00402 float64 x\n\ 00403 float64 y\n\ 00404 float64 z\n\ 00405 float64 w\n\ 00406 \n\ 00407 "; 00408 } 00409 00410 static const char* value(const ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> &) { return value(); } 00411 }; 00412 00413 template<class ContainerAllocator> struct HasHeader< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > : public TrueType {}; 00414 template<class ContainerAllocator> struct HasHeader< const ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > : public TrueType {}; 00415 } // namespace message_traits 00416 } // namespace ros 00417 00418 namespace ros 00419 { 00420 namespace serialization 00421 { 00422 00423 template<class ContainerAllocator> struct Serializer< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > 00424 { 00425 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00426 { 00427 stream.next(m.header); 00428 stream.next(m.goal_id); 00429 stream.next(m.goal); 00430 } 00431 00432 ROS_DECLARE_ALLINONE_SERIALIZER; 00433 }; // struct GraspAdjustActionGoal_ 00434 } // namespace serialization 00435 } // namespace ros 00436 00437 namespace ros 00438 { 00439 namespace message_operations 00440 { 00441 00442 template<class ContainerAllocator> 00443 struct Printer< ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> > 00444 { 00445 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_grasp_adjust::GraspAdjustActionGoal_<ContainerAllocator> & v) 00446 { 00447 s << indent << "header: "; 00448 s << std::endl; 00449 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00450 s << indent << "goal_id: "; 00451 s << std::endl; 00452 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00453 s << indent << "goal: "; 00454 s << std::endl; 00455 Printer< ::pr2_grasp_adjust::GraspAdjustGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00456 } 00457 }; 00458 00459 00460 } // namespace message_operations 00461 } // namespace ros 00462 00463 #endif // PR2_GRASP_ADJUST_MESSAGE_GRASPADJUSTACTIONGOAL_H 00464