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