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