$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/perception/object_segmentation_gui/msg/ObjectSegmentationGuiActionResult.msg */ 00002 #ifndef OBJECT_SEGMENTATION_GUI_MESSAGE_OBJECTSEGMENTATIONGUIACTIONRESULT_H 00003 #define OBJECT_SEGMENTATION_GUI_MESSAGE_OBJECTSEGMENTATIONGUIACTIONRESULT_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/GoalStatus.h" 00019 #include "object_segmentation_gui/ObjectSegmentationGuiResult.h" 00020 00021 namespace object_segmentation_gui 00022 { 00023 template <class ContainerAllocator> 00024 struct ObjectSegmentationGuiActionResult_ { 00025 typedef ObjectSegmentationGuiActionResult_<ContainerAllocator> Type; 00026 00027 ObjectSegmentationGuiActionResult_() 00028 : header() 00029 , status() 00030 , result() 00031 { 00032 } 00033 00034 ObjectSegmentationGuiActionResult_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , status(_alloc) 00037 , result(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalStatus_<ContainerAllocator> _status_type; 00045 ::actionlib_msgs::GoalStatus_<ContainerAllocator> status; 00046 00047 typedef ::object_segmentation_gui::ObjectSegmentationGuiResult_<ContainerAllocator> _result_type; 00048 ::object_segmentation_gui::ObjectSegmentationGuiResult_<ContainerAllocator> result; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "object_segmentation_gui/ObjectSegmentationGuiActionResult"; } 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 "862ad847b21c3b6991ff08c9f9bd5b66"; } 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/GoalStatus status\n\ 00070 ObjectSegmentationGuiResult result\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/GoalStatus\n\ 00092 GoalID goal_id\n\ 00093 uint8 status\n\ 00094 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00095 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00096 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00097 # and has since completed its execution (Terminal State)\n\ 00098 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00099 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00100 # to some failure (Terminal State)\n\ 00101 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00102 # because the goal was unattainable or invalid (Terminal State)\n\ 00103 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00104 # and has not yet completed execution\n\ 00105 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00106 # but the action server has not yet confirmed that the goal is canceled\n\ 00107 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00108 # and was successfully cancelled (Terminal State)\n\ 00109 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00110 # sent over the wire by an action server\n\ 00111 \n\ 00112 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00113 string text\n\ 00114 \n\ 00115 \n\ 00116 ================================================================================\n\ 00117 MSG: actionlib_msgs/GoalID\n\ 00118 # The stamp should store the time at which this goal was requested.\n\ 00119 # It is used by an action server when it tries to preempt all\n\ 00120 # goals that were requested before a certain time\n\ 00121 time stamp\n\ 00122 \n\ 00123 # The id provides a way to associate feedback and\n\ 00124 # result message with specific goal requests. The id\n\ 00125 # specified must be unique.\n\ 00126 string id\n\ 00127 \n\ 00128 \n\ 00129 ================================================================================\n\ 00130 MSG: object_segmentation_gui/ObjectSegmentationGuiResult\n\ 00131 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00132 # The information for the plane that has been detected\n\ 00133 tabletop_object_detector/Table table\n\ 00134 \n\ 00135 # The raw clusters detected in the scan \n\ 00136 sensor_msgs/PointCloud[] clusters\n\ 00137 \n\ 00138 # Whether the detection has succeeded or failed\n\ 00139 int32 NO_CLOUD_RECEIVED = 1\n\ 00140 int32 NO_TABLE = 2\n\ 00141 int32 OTHER_ERROR = 3\n\ 00142 int32 SUCCESS = 4\n\ 00143 int32 result\n\ 00144 \n\ 00145 \n\ 00146 ================================================================================\n\ 00147 MSG: tabletop_object_detector/Table\n\ 00148 # Informs that a planar table has been detected at a given location\n\ 00149 \n\ 00150 # The pose gives you the transform that take you to the coordinate system\n\ 00151 # of the table, with the origin somewhere in the table plane and the \n\ 00152 # z axis normal to the plane\n\ 00153 geometry_msgs/PoseStamped pose\n\ 00154 \n\ 00155 # These values give you the observed extents of the table, along x and y,\n\ 00156 # in the table's own coordinate system (above)\n\ 00157 # there is no guarantee that the origin of the table coordinate system is\n\ 00158 # inside the boundary defined by these values. \n\ 00159 float32 x_min\n\ 00160 float32 x_max\n\ 00161 float32 y_min\n\ 00162 float32 y_max\n\ 00163 \n\ 00164 # There is no guarantee that the table does NOT extend further than these \n\ 00165 # values; this is just as far as we've observed it.\n\ 00166 \n\ 00167 \n\ 00168 # Newer table definition as triangle mesh of convex hull (relative to pose)\n\ 00169 arm_navigation_msgs/Shape convex_hull\n\ 00170 \n\ 00171 ================================================================================\n\ 00172 MSG: geometry_msgs/PoseStamped\n\ 00173 # A Pose with reference coordinate frame and timestamp\n\ 00174 Header header\n\ 00175 Pose pose\n\ 00176 \n\ 00177 ================================================================================\n\ 00178 MSG: geometry_msgs/Pose\n\ 00179 # A representation of pose in free space, composed of postion and orientation. \n\ 00180 Point position\n\ 00181 Quaternion orientation\n\ 00182 \n\ 00183 ================================================================================\n\ 00184 MSG: geometry_msgs/Point\n\ 00185 # This contains the position of a point in free space\n\ 00186 float64 x\n\ 00187 float64 y\n\ 00188 float64 z\n\ 00189 \n\ 00190 ================================================================================\n\ 00191 MSG: geometry_msgs/Quaternion\n\ 00192 # This represents an orientation in free space in quaternion form.\n\ 00193 \n\ 00194 float64 x\n\ 00195 float64 y\n\ 00196 float64 z\n\ 00197 float64 w\n\ 00198 \n\ 00199 ================================================================================\n\ 00200 MSG: arm_navigation_msgs/Shape\n\ 00201 byte SPHERE=0\n\ 00202 byte BOX=1\n\ 00203 byte CYLINDER=2\n\ 00204 byte MESH=3\n\ 00205 \n\ 00206 byte type\n\ 00207 \n\ 00208 \n\ 00209 #### define sphere, box, cylinder ####\n\ 00210 # the origin of each shape is considered at the shape's center\n\ 00211 \n\ 00212 # for sphere\n\ 00213 # radius := dimensions[0]\n\ 00214 \n\ 00215 # for cylinder\n\ 00216 # radius := dimensions[0]\n\ 00217 # length := dimensions[1]\n\ 00218 # the length is along the Z axis\n\ 00219 \n\ 00220 # for box\n\ 00221 # size_x := dimensions[0]\n\ 00222 # size_y := dimensions[1]\n\ 00223 # size_z := dimensions[2]\n\ 00224 float64[] dimensions\n\ 00225 \n\ 00226 \n\ 00227 #### define mesh ####\n\ 00228 \n\ 00229 # list of triangles; triangle k is defined by tre vertices located\n\ 00230 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\ 00231 int32[] triangles\n\ 00232 geometry_msgs/Point[] vertices\n\ 00233 \n\ 00234 ================================================================================\n\ 00235 MSG: sensor_msgs/PointCloud\n\ 00236 # This message holds a collection of 3d points, plus optional additional\n\ 00237 # information about each point.\n\ 00238 \n\ 00239 # Time of sensor data acquisition, coordinate frame ID.\n\ 00240 Header header\n\ 00241 \n\ 00242 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\ 00243 # in the frame given in the header.\n\ 00244 geometry_msgs/Point32[] points\n\ 00245 \n\ 00246 # Each channel should have the same number of elements as points array,\n\ 00247 # and the data in each channel should correspond 1:1 with each point.\n\ 00248 # Channel names in common practice are listed in ChannelFloat32.msg.\n\ 00249 ChannelFloat32[] channels\n\ 00250 \n\ 00251 ================================================================================\n\ 00252 MSG: geometry_msgs/Point32\n\ 00253 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00254 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00255 # \n\ 00256 # This recommendation is to promote interoperability. \n\ 00257 #\n\ 00258 # This message is designed to take up less space when sending\n\ 00259 # lots of points at once, as in the case of a PointCloud. \n\ 00260 \n\ 00261 float32 x\n\ 00262 float32 y\n\ 00263 float32 z\n\ 00264 ================================================================================\n\ 00265 MSG: sensor_msgs/ChannelFloat32\n\ 00266 # This message is used by the PointCloud message to hold optional data\n\ 00267 # associated with each point in the cloud. The length of the values\n\ 00268 # array should be the same as the length of the points array in the\n\ 00269 # PointCloud, and each value should be associated with the corresponding\n\ 00270 # point.\n\ 00271 \n\ 00272 # Channel names in existing practice include:\n\ 00273 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\ 00274 # This is opposite to usual conventions but remains for\n\ 00275 # historical reasons. The newer PointCloud2 message has no\n\ 00276 # such problem.\n\ 00277 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\ 00278 # (R,G,B) values packed into the least significant 24 bits,\n\ 00279 # in order.\n\ 00280 # \"intensity\" - laser or pixel intensity.\n\ 00281 # \"distance\"\n\ 00282 \n\ 00283 # The channel name should give semantics of the channel (e.g.\n\ 00284 # \"intensity\" instead of \"value\").\n\ 00285 string name\n\ 00286 \n\ 00287 # The values array should be 1-1 with the elements of the associated\n\ 00288 # PointCloud.\n\ 00289 float32[] values\n\ 00290 \n\ 00291 "; } 00292 public: 00293 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00294 00295 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00296 00297 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00298 { 00299 ros::serialization::OStream stream(write_ptr, 1000000000); 00300 ros::serialization::serialize(stream, header); 00301 ros::serialization::serialize(stream, status); 00302 ros::serialization::serialize(stream, result); 00303 return stream.getData(); 00304 } 00305 00306 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00307 { 00308 ros::serialization::IStream stream(read_ptr, 1000000000); 00309 ros::serialization::deserialize(stream, header); 00310 ros::serialization::deserialize(stream, status); 00311 ros::serialization::deserialize(stream, result); 00312 return stream.getData(); 00313 } 00314 00315 ROS_DEPRECATED virtual uint32_t serializationLength() const 00316 { 00317 uint32_t size = 0; 00318 size += ros::serialization::serializationLength(header); 00319 size += ros::serialization::serializationLength(status); 00320 size += ros::serialization::serializationLength(result); 00321 return size; 00322 } 00323 00324 typedef boost::shared_ptr< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > Ptr; 00325 typedef boost::shared_ptr< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> const> ConstPtr; 00326 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00327 }; // struct ObjectSegmentationGuiActionResult 00328 typedef ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<std::allocator<void> > ObjectSegmentationGuiActionResult; 00329 00330 typedef boost::shared_ptr< ::object_segmentation_gui::ObjectSegmentationGuiActionResult> ObjectSegmentationGuiActionResultPtr; 00331 typedef boost::shared_ptr< ::object_segmentation_gui::ObjectSegmentationGuiActionResult const> ObjectSegmentationGuiActionResultConstPtr; 00332 00333 00334 template<typename ContainerAllocator> 00335 std::ostream& operator<<(std::ostream& s, const ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> & v) 00336 { 00337 ros::message_operations::Printer< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> >::stream(s, "", v); 00338 return s;} 00339 00340 } // namespace object_segmentation_gui 00341 00342 namespace ros 00343 { 00344 namespace message_traits 00345 { 00346 template<class ContainerAllocator> struct IsMessage< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > : public TrueType {}; 00347 template<class ContainerAllocator> struct IsMessage< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> const> : public TrueType {}; 00348 template<class ContainerAllocator> 00349 struct MD5Sum< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > { 00350 static const char* value() 00351 { 00352 return "862ad847b21c3b6991ff08c9f9bd5b66"; 00353 } 00354 00355 static const char* value(const ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> &) { return value(); } 00356 static const uint64_t static_value1 = 0x862ad847b21c3b69ULL; 00357 static const uint64_t static_value2 = 0x91ff08c9f9bd5b66ULL; 00358 }; 00359 00360 template<class ContainerAllocator> 00361 struct DataType< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > { 00362 static const char* value() 00363 { 00364 return "object_segmentation_gui/ObjectSegmentationGuiActionResult"; 00365 } 00366 00367 static const char* value(const ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> &) { return value(); } 00368 }; 00369 00370 template<class ContainerAllocator> 00371 struct Definition< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > { 00372 static const char* value() 00373 { 00374 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00375 \n\ 00376 Header header\n\ 00377 actionlib_msgs/GoalStatus status\n\ 00378 ObjectSegmentationGuiResult result\n\ 00379 \n\ 00380 ================================================================================\n\ 00381 MSG: std_msgs/Header\n\ 00382 # Standard metadata for higher-level stamped data types.\n\ 00383 # This is generally used to communicate timestamped data \n\ 00384 # in a particular coordinate frame.\n\ 00385 # \n\ 00386 # sequence ID: consecutively increasing ID \n\ 00387 uint32 seq\n\ 00388 #Two-integer timestamp that is expressed as:\n\ 00389 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00390 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00391 # time-handling sugar is provided by the client library\n\ 00392 time stamp\n\ 00393 #Frame this data is associated with\n\ 00394 # 0: no frame\n\ 00395 # 1: global frame\n\ 00396 string frame_id\n\ 00397 \n\ 00398 ================================================================================\n\ 00399 MSG: actionlib_msgs/GoalStatus\n\ 00400 GoalID goal_id\n\ 00401 uint8 status\n\ 00402 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00403 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00404 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00405 # and has since completed its execution (Terminal State)\n\ 00406 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00407 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00408 # to some failure (Terminal State)\n\ 00409 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00410 # because the goal was unattainable or invalid (Terminal State)\n\ 00411 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00412 # and has not yet completed execution\n\ 00413 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00414 # but the action server has not yet confirmed that the goal is canceled\n\ 00415 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00416 # and was successfully cancelled (Terminal State)\n\ 00417 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00418 # sent over the wire by an action server\n\ 00419 \n\ 00420 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00421 string text\n\ 00422 \n\ 00423 \n\ 00424 ================================================================================\n\ 00425 MSG: actionlib_msgs/GoalID\n\ 00426 # The stamp should store the time at which this goal was requested.\n\ 00427 # It is used by an action server when it tries to preempt all\n\ 00428 # goals that were requested before a certain time\n\ 00429 time stamp\n\ 00430 \n\ 00431 # The id provides a way to associate feedback and\n\ 00432 # result message with specific goal requests. The id\n\ 00433 # specified must be unique.\n\ 00434 string id\n\ 00435 \n\ 00436 \n\ 00437 ================================================================================\n\ 00438 MSG: object_segmentation_gui/ObjectSegmentationGuiResult\n\ 00439 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00440 # The information for the plane that has been detected\n\ 00441 tabletop_object_detector/Table table\n\ 00442 \n\ 00443 # The raw clusters detected in the scan \n\ 00444 sensor_msgs/PointCloud[] clusters\n\ 00445 \n\ 00446 # Whether the detection has succeeded or failed\n\ 00447 int32 NO_CLOUD_RECEIVED = 1\n\ 00448 int32 NO_TABLE = 2\n\ 00449 int32 OTHER_ERROR = 3\n\ 00450 int32 SUCCESS = 4\n\ 00451 int32 result\n\ 00452 \n\ 00453 \n\ 00454 ================================================================================\n\ 00455 MSG: tabletop_object_detector/Table\n\ 00456 # Informs that a planar table has been detected at a given location\n\ 00457 \n\ 00458 # The pose gives you the transform that take you to the coordinate system\n\ 00459 # of the table, with the origin somewhere in the table plane and the \n\ 00460 # z axis normal to the plane\n\ 00461 geometry_msgs/PoseStamped pose\n\ 00462 \n\ 00463 # These values give you the observed extents of the table, along x and y,\n\ 00464 # in the table's own coordinate system (above)\n\ 00465 # there is no guarantee that the origin of the table coordinate system is\n\ 00466 # inside the boundary defined by these values. \n\ 00467 float32 x_min\n\ 00468 float32 x_max\n\ 00469 float32 y_min\n\ 00470 float32 y_max\n\ 00471 \n\ 00472 # There is no guarantee that the table does NOT extend further than these \n\ 00473 # values; this is just as far as we've observed it.\n\ 00474 \n\ 00475 \n\ 00476 # Newer table definition as triangle mesh of convex hull (relative to pose)\n\ 00477 arm_navigation_msgs/Shape convex_hull\n\ 00478 \n\ 00479 ================================================================================\n\ 00480 MSG: geometry_msgs/PoseStamped\n\ 00481 # A Pose with reference coordinate frame and timestamp\n\ 00482 Header header\n\ 00483 Pose pose\n\ 00484 \n\ 00485 ================================================================================\n\ 00486 MSG: geometry_msgs/Pose\n\ 00487 # A representation of pose in free space, composed of postion and orientation. \n\ 00488 Point position\n\ 00489 Quaternion orientation\n\ 00490 \n\ 00491 ================================================================================\n\ 00492 MSG: geometry_msgs/Point\n\ 00493 # This contains the position of a point in free space\n\ 00494 float64 x\n\ 00495 float64 y\n\ 00496 float64 z\n\ 00497 \n\ 00498 ================================================================================\n\ 00499 MSG: geometry_msgs/Quaternion\n\ 00500 # This represents an orientation in free space in quaternion form.\n\ 00501 \n\ 00502 float64 x\n\ 00503 float64 y\n\ 00504 float64 z\n\ 00505 float64 w\n\ 00506 \n\ 00507 ================================================================================\n\ 00508 MSG: arm_navigation_msgs/Shape\n\ 00509 byte SPHERE=0\n\ 00510 byte BOX=1\n\ 00511 byte CYLINDER=2\n\ 00512 byte MESH=3\n\ 00513 \n\ 00514 byte type\n\ 00515 \n\ 00516 \n\ 00517 #### define sphere, box, cylinder ####\n\ 00518 # the origin of each shape is considered at the shape's center\n\ 00519 \n\ 00520 # for sphere\n\ 00521 # radius := dimensions[0]\n\ 00522 \n\ 00523 # for cylinder\n\ 00524 # radius := dimensions[0]\n\ 00525 # length := dimensions[1]\n\ 00526 # the length is along the Z axis\n\ 00527 \n\ 00528 # for box\n\ 00529 # size_x := dimensions[0]\n\ 00530 # size_y := dimensions[1]\n\ 00531 # size_z := dimensions[2]\n\ 00532 float64[] dimensions\n\ 00533 \n\ 00534 \n\ 00535 #### define mesh ####\n\ 00536 \n\ 00537 # list of triangles; triangle k is defined by tre vertices located\n\ 00538 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\ 00539 int32[] triangles\n\ 00540 geometry_msgs/Point[] vertices\n\ 00541 \n\ 00542 ================================================================================\n\ 00543 MSG: sensor_msgs/PointCloud\n\ 00544 # This message holds a collection of 3d points, plus optional additional\n\ 00545 # information about each point.\n\ 00546 \n\ 00547 # Time of sensor data acquisition, coordinate frame ID.\n\ 00548 Header header\n\ 00549 \n\ 00550 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\ 00551 # in the frame given in the header.\n\ 00552 geometry_msgs/Point32[] points\n\ 00553 \n\ 00554 # Each channel should have the same number of elements as points array,\n\ 00555 # and the data in each channel should correspond 1:1 with each point.\n\ 00556 # Channel names in common practice are listed in ChannelFloat32.msg.\n\ 00557 ChannelFloat32[] channels\n\ 00558 \n\ 00559 ================================================================================\n\ 00560 MSG: geometry_msgs/Point32\n\ 00561 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00562 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00563 # \n\ 00564 # This recommendation is to promote interoperability. \n\ 00565 #\n\ 00566 # This message is designed to take up less space when sending\n\ 00567 # lots of points at once, as in the case of a PointCloud. \n\ 00568 \n\ 00569 float32 x\n\ 00570 float32 y\n\ 00571 float32 z\n\ 00572 ================================================================================\n\ 00573 MSG: sensor_msgs/ChannelFloat32\n\ 00574 # This message is used by the PointCloud message to hold optional data\n\ 00575 # associated with each point in the cloud. The length of the values\n\ 00576 # array should be the same as the length of the points array in the\n\ 00577 # PointCloud, and each value should be associated with the corresponding\n\ 00578 # point.\n\ 00579 \n\ 00580 # Channel names in existing practice include:\n\ 00581 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\ 00582 # This is opposite to usual conventions but remains for\n\ 00583 # historical reasons. The newer PointCloud2 message has no\n\ 00584 # such problem.\n\ 00585 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\ 00586 # (R,G,B) values packed into the least significant 24 bits,\n\ 00587 # in order.\n\ 00588 # \"intensity\" - laser or pixel intensity.\n\ 00589 # \"distance\"\n\ 00590 \n\ 00591 # The channel name should give semantics of the channel (e.g.\n\ 00592 # \"intensity\" instead of \"value\").\n\ 00593 string name\n\ 00594 \n\ 00595 # The values array should be 1-1 with the elements of the associated\n\ 00596 # PointCloud.\n\ 00597 float32[] values\n\ 00598 \n\ 00599 "; 00600 } 00601 00602 static const char* value(const ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> &) { return value(); } 00603 }; 00604 00605 template<class ContainerAllocator> struct HasHeader< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > : public TrueType {}; 00606 template<class ContainerAllocator> struct HasHeader< const ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > : public TrueType {}; 00607 } // namespace message_traits 00608 } // namespace ros 00609 00610 namespace ros 00611 { 00612 namespace serialization 00613 { 00614 00615 template<class ContainerAllocator> struct Serializer< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > 00616 { 00617 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00618 { 00619 stream.next(m.header); 00620 stream.next(m.status); 00621 stream.next(m.result); 00622 } 00623 00624 ROS_DECLARE_ALLINONE_SERIALIZER; 00625 }; // struct ObjectSegmentationGuiActionResult_ 00626 } // namespace serialization 00627 } // namespace ros 00628 00629 namespace ros 00630 { 00631 namespace message_operations 00632 { 00633 00634 template<class ContainerAllocator> 00635 struct Printer< ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> > 00636 { 00637 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_segmentation_gui::ObjectSegmentationGuiActionResult_<ContainerAllocator> & v) 00638 { 00639 s << indent << "header: "; 00640 s << std::endl; 00641 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00642 s << indent << "status: "; 00643 s << std::endl; 00644 Printer< ::actionlib_msgs::GoalStatus_<ContainerAllocator> >::stream(s, indent + " ", v.status); 00645 s << indent << "result: "; 00646 s << std::endl; 00647 Printer< ::object_segmentation_gui::ObjectSegmentationGuiResult_<ContainerAllocator> >::stream(s, indent + " ", v.result); 00648 } 00649 }; 00650 00651 00652 } // namespace message_operations 00653 } // namespace ros 00654 00655 #endif // OBJECT_SEGMENTATION_GUI_MESSAGE_OBJECTSEGMENTATIONGUIACTIONRESULT_H 00656