Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> > Ptr;
00058 typedef boost::shared_ptr< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> const> ConstPtr;
00059 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 };
00061 typedef ::object_manipulation_msgs::FindContainerGoal_<std::allocator<void> > FindContainerGoal;
00062
00063 typedef boost::shared_ptr< ::object_manipulation_msgs::FindContainerGoal> FindContainerGoalPtr;
00064 typedef boost::shared_ptr< ::object_manipulation_msgs::FindContainerGoal const> FindContainerGoalConstPtr;
00065
00066
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> & v)
00069 {
00070 ros::message_operations::Printer< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> >::stream(s, "", v);
00071 return s;}
00072
00073 }
00074
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "97ad28247bca1903867d6a79d91c2a52";
00086 }
00087
00088 static const char* value(const ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> &) { return value(); }
00089 static const uint64_t static_value1 = 0x97ad28247bca1903ULL;
00090 static const uint64_t static_value2 = 0x867d6a79d91c2a52ULL;
00091 };
00092
00093 template<class ContainerAllocator>
00094 struct DataType< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> > {
00095 static const char* value()
00096 {
00097 return "object_manipulation_msgs/FindContainerGoal";
00098 }
00099
00100 static const char* value(const ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> &) { return value(); }
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct Definition< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00108 # The cloud\n\
00109 sensor_msgs/PointCloud2 cloud\n\
00110 \n\
00111 # starting estimate of bounding box\n\
00112 # all output will be in this frame\n\
00113 # Assumes axis-aligned with header frame, \n\
00114 # and WON'T take orientation into account.\n\
00115 geometry_msgs/PoseStamped box_pose\n\
00116 geometry_msgs/Vector3 box_dims\n\
00117 \n\
00118 # the direction that the container opens (in bounding box header frame)\n\
00119 geometry_msgs/Vector3 opening_dir\n\
00120 \n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: sensor_msgs/PointCloud2\n\
00124 # This message holds a collection of N-dimensional points, which may\n\
00125 # contain additional information such as normals, intensity, etc. The\n\
00126 # point data is stored as a binary blob, its layout described by the\n\
00127 # contents of the \"fields\" array.\n\
00128 \n\
00129 # The point cloud data may be organized 2d (image-like) or 1d\n\
00130 # (unordered). Point clouds organized as 2d images may be produced by\n\
00131 # camera depth sensors such as stereo or time-of-flight.\n\
00132 \n\
00133 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00134 # points).\n\
00135 Header header\n\
00136 \n\
00137 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00138 # 1 and width is the length of the point cloud.\n\
00139 uint32 height\n\
00140 uint32 width\n\
00141 \n\
00142 # Describes the channels and their layout in the binary data blob.\n\
00143 PointField[] fields\n\
00144 \n\
00145 bool is_bigendian # Is this data bigendian?\n\
00146 uint32 point_step # Length of a point in bytes\n\
00147 uint32 row_step # Length of a row in bytes\n\
00148 uint8[] data # Actual point data, size is (row_step*height)\n\
00149 \n\
00150 bool is_dense # True if there are no invalid points\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: std_msgs/Header\n\
00154 # Standard metadata for higher-level stamped data types.\n\
00155 # This is generally used to communicate timestamped data \n\
00156 # in a particular coordinate frame.\n\
00157 # \n\
00158 # sequence ID: consecutively increasing ID \n\
00159 uint32 seq\n\
00160 #Two-integer timestamp that is expressed as:\n\
00161 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00162 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00163 # time-handling sugar is provided by the client library\n\
00164 time stamp\n\
00165 #Frame this data is associated with\n\
00166 # 0: no frame\n\
00167 # 1: global frame\n\
00168 string frame_id\n\
00169 \n\
00170 ================================================================================\n\
00171 MSG: sensor_msgs/PointField\n\
00172 # This message holds the description of one point entry in the\n\
00173 # PointCloud2 message format.\n\
00174 uint8 INT8 = 1\n\
00175 uint8 UINT8 = 2\n\
00176 uint8 INT16 = 3\n\
00177 uint8 UINT16 = 4\n\
00178 uint8 INT32 = 5\n\
00179 uint8 UINT32 = 6\n\
00180 uint8 FLOAT32 = 7\n\
00181 uint8 FLOAT64 = 8\n\
00182 \n\
00183 string name # Name of field\n\
00184 uint32 offset # Offset from start of point struct\n\
00185 uint8 datatype # Datatype enumeration, see above\n\
00186 uint32 count # How many elements in the field\n\
00187 \n\
00188 ================================================================================\n\
00189 MSG: geometry_msgs/PoseStamped\n\
00190 # A Pose with reference coordinate frame and timestamp\n\
00191 Header header\n\
00192 Pose pose\n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: geometry_msgs/Pose\n\
00196 # A representation of pose in free space, composed of postion and orientation. \n\
00197 Point position\n\
00198 Quaternion orientation\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: geometry_msgs/Point\n\
00202 # This contains the position of a point in free space\n\
00203 float64 x\n\
00204 float64 y\n\
00205 float64 z\n\
00206 \n\
00207 ================================================================================\n\
00208 MSG: geometry_msgs/Quaternion\n\
00209 # This represents an orientation in free space in quaternion form.\n\
00210 \n\
00211 float64 x\n\
00212 float64 y\n\
00213 float64 z\n\
00214 float64 w\n\
00215 \n\
00216 ================================================================================\n\
00217 MSG: geometry_msgs/Vector3\n\
00218 # This represents a vector in free space. \n\
00219 \n\
00220 float64 x\n\
00221 float64 y\n\
00222 float64 z\n\
00223 ";
00224 }
00225
00226 static const char* value(const ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> &) { return value(); }
00227 };
00228
00229 }
00230 }
00231
00232 namespace ros
00233 {
00234 namespace serialization
00235 {
00236
00237 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> >
00238 {
00239 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00240 {
00241 stream.next(m.cloud);
00242 stream.next(m.box_pose);
00243 stream.next(m.box_dims);
00244 stream.next(m.opening_dir);
00245 }
00246
00247 ROS_DECLARE_ALLINONE_SERIALIZER;
00248 };
00249 }
00250 }
00251
00252 namespace ros
00253 {
00254 namespace message_operations
00255 {
00256
00257 template<class ContainerAllocator>
00258 struct Printer< ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> >
00259 {
00260 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::FindContainerGoal_<ContainerAllocator> & v)
00261 {
00262 s << indent << "cloud: ";
00263 s << std::endl;
00264 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.cloud);
00265 s << indent << "box_pose: ";
00266 s << std::endl;
00267 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.box_pose);
00268 s << indent << "box_dims: ";
00269 s << std::endl;
00270 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.box_dims);
00271 s << indent << "opening_dir: ";
00272 s << std::endl;
00273 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.opening_dir);
00274 }
00275 };
00276
00277
00278 }
00279 }
00280
00281 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_FINDCONTAINERGOAL_H
00282