ObjectRecognitionGuiActionGoal.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/perception/interactive_perception_msgs/msg/ObjectRecognitionGuiActionGoal.msg */
00002 #ifndef INTERACTIVE_PERCEPTION_MSGS_MESSAGE_OBJECTRECOGNITIONGUIACTIONGOAL_H
00003 #define INTERACTIVE_PERCEPTION_MSGS_MESSAGE_OBJECTRECOGNITIONGUIACTIONGOAL_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 "interactive_perception_msgs/ObjectRecognitionGuiGoal.h"
00020 
00021 namespace interactive_perception_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct ObjectRecognitionGuiActionGoal_ {
00025   typedef ObjectRecognitionGuiActionGoal_<ContainerAllocator> Type;
00026 
00027   ObjectRecognitionGuiActionGoal_()
00028   : header()
00029   , goal_id()
00030   , goal()
00031   {
00032   }
00033 
00034   ObjectRecognitionGuiActionGoal_(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  ::interactive_perception_msgs::ObjectRecognitionGuiGoal_<ContainerAllocator>  _goal_type;
00048    ::interactive_perception_msgs::ObjectRecognitionGuiGoal_<ContainerAllocator>  goal;
00049 
00050 
00051   typedef boost::shared_ptr< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ObjectRecognitionGuiActionGoal
00055 typedef  ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<std::allocator<void> > ObjectRecognitionGuiActionGoal;
00056 
00057 typedef boost::shared_ptr< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal> ObjectRecognitionGuiActionGoalPtr;
00058 typedef boost::shared_ptr< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal const> ObjectRecognitionGuiActionGoalConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace interactive_perception_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "1e32fe3c98b77648d340d3bea5e19eeb";
00080   }
00081 
00082   static const char* value(const  ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x1e32fe3c98b77648ULL;
00084   static const uint64_t static_value2 = 0xd340d3bea5e19eebULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "interactive_perception_msgs/ObjectRecognitionGuiActionGoal";
00092   }
00093 
00094   static const char* value(const  ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 Header header\n\
00104 actionlib_msgs/GoalID goal_id\n\
00105 ObjectRecognitionGuiGoal goal\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: std_msgs/Header\n\
00109 # Standard metadata for higher-level stamped data types.\n\
00110 # This is generally used to communicate timestamped data \n\
00111 # in a particular coordinate frame.\n\
00112 # \n\
00113 # sequence ID: consecutively increasing ID \n\
00114 uint32 seq\n\
00115 #Two-integer timestamp that is expressed as:\n\
00116 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00117 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00118 # time-handling sugar is provided by the client library\n\
00119 time stamp\n\
00120 #Frame this data is associated with\n\
00121 # 0: no frame\n\
00122 # 1: global frame\n\
00123 string frame_id\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: actionlib_msgs/GoalID\n\
00127 # The stamp should store the time at which this goal was requested.\n\
00128 # It is used by an action server when it tries to preempt all\n\
00129 # goals that were requested before a certain time\n\
00130 time stamp\n\
00131 \n\
00132 # The id provides a way to associate feedback and\n\
00133 # result message with specific goal requests. The id\n\
00134 # specified must be unique.\n\
00135 string id\n\
00136 \n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: interactive_perception_msgs/ObjectRecognitionGuiGoal\n\
00140 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00141 \n\
00142 #the original sensor data (depth/disparity image)\n\
00143 sensor_msgs/Image image\n\
00144 sensor_msgs/CameraInfo camera_info\n\
00145 \n\
00146 #list of mesh/pose hypotheses for each recognized point cluster\n\
00147 ModelHypothesisList[] model_hypotheses\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: sensor_msgs/Image\n\
00151 # This message contains an uncompressed image\n\
00152 # (0, 0) is at top-left corner of image\n\
00153 #\n\
00154 \n\
00155 Header header        # Header timestamp should be acquisition time of image\n\
00156                      # Header frame_id should be optical frame of camera\n\
00157                      # origin of frame should be optical center of cameara\n\
00158                      # +x should point to the right in the image\n\
00159                      # +y should point down in the image\n\
00160                      # +z should point into to plane of the image\n\
00161                      # If the frame_id here and the frame_id of the CameraInfo\n\
00162                      # message associated with the image conflict\n\
00163                      # the behavior is undefined\n\
00164 \n\
00165 uint32 height         # image height, that is, number of rows\n\
00166 uint32 width          # image width, that is, number of columns\n\
00167 \n\
00168 # The legal values for encoding are in file src/image_encodings.cpp\n\
00169 # If you want to standardize a new string format, join\n\
00170 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00171 \n\
00172 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00173                       # taken from the list of strings in include/sensor_msgs/image_encodings.h\n\
00174 \n\
00175 uint8 is_bigendian    # is this data bigendian?\n\
00176 uint32 step           # Full row length in bytes\n\
00177 uint8[] data          # actual matrix data, size is (step * rows)\n\
00178 \n\
00179 ================================================================================\n\
00180 MSG: sensor_msgs/CameraInfo\n\
00181 # This message defines meta information for a camera. It should be in a\n\
00182 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
00183 # image topics named:\n\
00184 #\n\
00185 #   image_raw - raw data from the camera driver, possibly Bayer encoded\n\
00186 #   image            - monochrome, distorted\n\
00187 #   image_color      - color, distorted\n\
00188 #   image_rect       - monochrome, rectified\n\
00189 #   image_rect_color - color, rectified\n\
00190 #\n\
00191 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
00192 # for producing the four processed image topics from image_raw and\n\
00193 # camera_info. The meaning of the camera parameters are described in\n\
00194 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
00195 #\n\
00196 # The image_geometry package provides a user-friendly interface to\n\
00197 # common operations using this meta information. If you want to, e.g.,\n\
00198 # project a 3d point into image coordinates, we strongly recommend\n\
00199 # using image_geometry.\n\
00200 #\n\
00201 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
00202 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
00203 # indicates an uncalibrated camera.\n\
00204 \n\
00205 #######################################################################\n\
00206 #                     Image acquisition info                          #\n\
00207 #######################################################################\n\
00208 \n\
00209 # Time of image acquisition, camera coordinate frame ID\n\
00210 Header header    # Header timestamp should be acquisition time of image\n\
00211                  # Header frame_id should be optical frame of camera\n\
00212                  # origin of frame should be optical center of camera\n\
00213                  # +x should point to the right in the image\n\
00214                  # +y should point down in the image\n\
00215                  # +z should point into the plane of the image\n\
00216 \n\
00217 \n\
00218 #######################################################################\n\
00219 #                      Calibration Parameters                         #\n\
00220 #######################################################################\n\
00221 # These are fixed during camera calibration. Their values will be the #\n\
00222 # same in all messages until the camera is recalibrated. Note that    #\n\
00223 # self-calibrating systems may \"recalibrate\" frequently.              #\n\
00224 #                                                                     #\n\
00225 # The internal parameters can be used to warp a raw (distorted) image #\n\
00226 # to:                                                                 #\n\
00227 #   1. An undistorted image (requires D and K)                        #\n\
00228 #   2. A rectified image (requires D, K, R)                           #\n\
00229 # The projection matrix P projects 3D points into the rectified image.#\n\
00230 #######################################################################\n\
00231 \n\
00232 # The image dimensions with which the camera was calibrated. Normally\n\
00233 # this will be the full camera resolution in pixels.\n\
00234 uint32 height\n\
00235 uint32 width\n\
00236 \n\
00237 # The distortion model used. Supported models are listed in\n\
00238 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
00239 # simple model of radial and tangential distortion - is sufficent.\n\
00240 string distortion_model\n\
00241 \n\
00242 # The distortion parameters, size depending on the distortion model.\n\
00243 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
00244 float64[] D\n\
00245 \n\
00246 # Intrinsic camera matrix for the raw (distorted) images.\n\
00247 #     [fx  0 cx]\n\
00248 # K = [ 0 fy cy]\n\
00249 #     [ 0  0  1]\n\
00250 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
00251 # coordinates using the focal lengths (fx, fy) and principal point\n\
00252 # (cx, cy).\n\
00253 float64[9]  K # 3x3 row-major matrix\n\
00254 \n\
00255 # Rectification matrix (stereo cameras only)\n\
00256 # A rotation matrix aligning the camera coordinate system to the ideal\n\
00257 # stereo image plane so that epipolar lines in both stereo images are\n\
00258 # parallel.\n\
00259 float64[9]  R # 3x3 row-major matrix\n\
00260 \n\
00261 # Projection/camera matrix\n\
00262 #     [fx'  0  cx' Tx]\n\
00263 # P = [ 0  fy' cy' Ty]\n\
00264 #     [ 0   0   1   0]\n\
00265 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
00266 #  of the processed (rectified) image. That is, the left 3x3 portion\n\
00267 #  is the normal camera intrinsic matrix for the rectified image.\n\
00268 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
00269 #  coordinates using the focal lengths (fx', fy') and principal point\n\
00270 #  (cx', cy') - these may differ from the values in K.\n\
00271 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
00272 #  also have R = the identity and P[1:3,1:3] = K.\n\
00273 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
00274 #  position of the optical center of the second camera in the first\n\
00275 #  camera's frame. We assume Tz = 0 so both cameras are in the same\n\
00276 #  stereo image plane. The first camera always has Tx = Ty = 0. For\n\
00277 #  the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
00278 #  Tx = -fx' * B, where B is the baseline between the cameras.\n\
00279 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
00280 #  the rectified image is given by:\n\
00281 #  [u v w]' = P * [X Y Z 1]'\n\
00282 #         x = u / w\n\
00283 #         y = v / w\n\
00284 #  This holds for both images of a stereo pair.\n\
00285 float64[12] P # 3x4 row-major matrix\n\
00286 \n\
00287 \n\
00288 #######################################################################\n\
00289 #                      Operational Parameters                         #\n\
00290 #######################################################################\n\
00291 # These define the image region actually captured by the camera       #\n\
00292 # driver. Although they affect the geometry of the output image, they #\n\
00293 # may be changed freely without recalibrating the camera.             #\n\
00294 #######################################################################\n\
00295 \n\
00296 # Binning refers here to any camera setting which combines rectangular\n\
00297 #  neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
00298 #  resolution of the output image to\n\
00299 #  (width / binning_x) x (height / binning_y).\n\
00300 # The default values binning_x = binning_y = 0 is considered the same\n\
00301 #  as binning_x = binning_y = 1 (no subsampling).\n\
00302 uint32 binning_x\n\
00303 uint32 binning_y\n\
00304 \n\
00305 # Region of interest (subwindow of full camera resolution), given in\n\
00306 #  full resolution (unbinned) image coordinates. A particular ROI\n\
00307 #  always denotes the same window of pixels on the camera sensor,\n\
00308 #  regardless of binning settings.\n\
00309 # The default setting of roi (all values 0) is considered the same as\n\
00310 #  full resolution (roi.width = width, roi.height = height).\n\
00311 RegionOfInterest roi\n\
00312 \n\
00313 ================================================================================\n\
00314 MSG: sensor_msgs/RegionOfInterest\n\
00315 # This message is used to specify a region of interest within an image.\n\
00316 #\n\
00317 # When used to specify the ROI setting of the camera when the image was\n\
00318 # taken, the height and width fields should either match the height and\n\
00319 # width fields for the associated image; or height = width = 0\n\
00320 # indicates that the full resolution image was captured.\n\
00321 \n\
00322 uint32 x_offset  # Leftmost pixel of the ROI\n\
00323                  # (0 if the ROI includes the left edge of the image)\n\
00324 uint32 y_offset  # Topmost pixel of the ROI\n\
00325                  # (0 if the ROI includes the top edge of the image)\n\
00326 uint32 height    # Height of ROI\n\
00327 uint32 width     # Width of ROI\n\
00328 \n\
00329 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
00330 # ROI in this message. Typically this should be False if the full image\n\
00331 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
00332 # used).\n\
00333 bool do_rectify\n\
00334 \n\
00335 ================================================================================\n\
00336 MSG: interactive_perception_msgs/ModelHypothesisList\n\
00337 ModelHypothesis[] hypotheses\n\
00338 \n\
00339 #initial guess if this can be a correct recognition result at all\n\
00340 bool accept\n\
00341 ================================================================================\n\
00342 MSG: interactive_perception_msgs/ModelHypothesis\n\
00343 #describes a hypothesis about a recognized object (mesh+pose)\n\
00344 \n\
00345 shape_msgs/Mesh mesh\n\
00346 geometry_msgs/PoseStamped pose\n\
00347 \n\
00348 ================================================================================\n\
00349 MSG: shape_msgs/Mesh\n\
00350 # Definition of a mesh\n\
00351 \n\
00352 # list of triangles; the index values refer to positions in vertices[]\n\
00353 MeshTriangle[] triangles\n\
00354 \n\
00355 # the actual vertices that make up the mesh\n\
00356 geometry_msgs/Point[] vertices\n\
00357 \n\
00358 ================================================================================\n\
00359 MSG: shape_msgs/MeshTriangle\n\
00360 # Definition of a triangle's vertices\n\
00361 uint32[3] vertex_indices\n\
00362 \n\
00363 ================================================================================\n\
00364 MSG: geometry_msgs/Point\n\
00365 # This contains the position of a point in free space\n\
00366 float64 x\n\
00367 float64 y\n\
00368 float64 z\n\
00369 \n\
00370 ================================================================================\n\
00371 MSG: geometry_msgs/PoseStamped\n\
00372 # A Pose with reference coordinate frame and timestamp\n\
00373 Header header\n\
00374 Pose pose\n\
00375 \n\
00376 ================================================================================\n\
00377 MSG: geometry_msgs/Pose\n\
00378 # A representation of pose in free space, composed of postion and orientation. \n\
00379 Point position\n\
00380 Quaternion orientation\n\
00381 \n\
00382 ================================================================================\n\
00383 MSG: geometry_msgs/Quaternion\n\
00384 # This represents an orientation in free space in quaternion form.\n\
00385 \n\
00386 float64 x\n\
00387 float64 y\n\
00388 float64 z\n\
00389 float64 w\n\
00390 \n\
00391 ";
00392   }
00393 
00394   static const char* value(const  ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> &) { return value(); } 
00395 };
00396 
00397 template<class ContainerAllocator> struct HasHeader< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > : public TrueType {};
00398 template<class ContainerAllocator> struct HasHeader< const ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> > : public TrueType {};
00399 } // namespace message_traits
00400 } // namespace ros
00401 
00402 namespace ros
00403 {
00404 namespace serialization
00405 {
00406 
00407 template<class ContainerAllocator> struct Serializer< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> >
00408 {
00409   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00410   {
00411     stream.next(m.header);
00412     stream.next(m.goal_id);
00413     stream.next(m.goal);
00414   }
00415 
00416   ROS_DECLARE_ALLINONE_SERIALIZER;
00417 }; // struct ObjectRecognitionGuiActionGoal_
00418 } // namespace serialization
00419 } // namespace ros
00420 
00421 namespace ros
00422 {
00423 namespace message_operations
00424 {
00425 
00426 template<class ContainerAllocator>
00427 struct Printer< ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> >
00428 {
00429   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::interactive_perception_msgs::ObjectRecognitionGuiActionGoal_<ContainerAllocator> & v) 
00430   {
00431     s << indent << "header: ";
00432 s << std::endl;
00433     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00434     s << indent << "goal_id: ";
00435 s << std::endl;
00436     Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + "  ", v.goal_id);
00437     s << indent << "goal: ";
00438 s << std::endl;
00439     Printer< ::interactive_perception_msgs::ObjectRecognitionGuiGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.goal);
00440   }
00441 };
00442 
00443 
00444 } // namespace message_operations
00445 } // namespace ros
00446 
00447 #endif // INTERACTIVE_PERCEPTION_MSGS_MESSAGE_OBJECTRECOGNITIONGUIACTIONGOAL_H
00448 


interactive_perception_msgs
Author(s): jbinney
autogenerated on Mon Oct 6 2014 11:51:21