00001
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIACTION_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIACTION_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 "pr2_object_manipulation_msgs/IMGUIActionGoal.h"
00018 #include "pr2_object_manipulation_msgs/IMGUIActionResult.h"
00019 #include "pr2_object_manipulation_msgs/IMGUIActionFeedback.h"
00020
00021 namespace pr2_object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct IMGUIAction_ {
00025 typedef IMGUIAction_<ContainerAllocator> Type;
00026
00027 IMGUIAction_()
00028 : action_goal()
00029 , action_result()
00030 , action_feedback()
00031 {
00032 }
00033
00034 IMGUIAction_(const ContainerAllocator& _alloc)
00035 : action_goal(_alloc)
00036 , action_result(_alloc)
00037 , action_feedback(_alloc)
00038 {
00039 }
00040
00041 typedef ::pr2_object_manipulation_msgs::IMGUIActionGoal_<ContainerAllocator> _action_goal_type;
00042 ::pr2_object_manipulation_msgs::IMGUIActionGoal_<ContainerAllocator> action_goal;
00043
00044 typedef ::pr2_object_manipulation_msgs::IMGUIActionResult_<ContainerAllocator> _action_result_type;
00045 ::pr2_object_manipulation_msgs::IMGUIActionResult_<ContainerAllocator> action_result;
00046
00047 typedef ::pr2_object_manipulation_msgs::IMGUIActionFeedback_<ContainerAllocator> _action_feedback_type;
00048 ::pr2_object_manipulation_msgs::IMGUIActionFeedback_<ContainerAllocator> action_feedback;
00049
00050
00051 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::pr2_object_manipulation_msgs::IMGUIAction_<std::allocator<void> > IMGUIAction;
00056
00057 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAction> IMGUIActionPtr;
00058 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::IMGUIAction const> IMGUIActionConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "61c52671c98ebe2204744df83f0f9c32";
00080 }
00081
00082 static const char* value(const ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x61c52671c98ebe22ULL;
00084 static const uint64_t static_value2 = 0x04744df83f0f9c32ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "pr2_object_manipulation_msgs/IMGUIAction";
00092 }
00093
00094 static const char* value(const ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 IMGUIActionGoal action_goal\n\
00104 IMGUIActionResult action_result\n\
00105 IMGUIActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: pr2_object_manipulation_msgs/IMGUIActionGoal\n\
00109 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00110 \n\
00111 Header header\n\
00112 actionlib_msgs/GoalID goal_id\n\
00113 IMGUIGoal goal\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: actionlib_msgs/GoalID\n\
00135 # The stamp should store the time at which this goal was requested.\n\
00136 # It is used by an action server when it tries to preempt all\n\
00137 # goals that were requested before a certain time\n\
00138 time stamp\n\
00139 \n\
00140 # The id provides a way to associate feedback and\n\
00141 # result message with specific goal requests. The id\n\
00142 # specified must be unique.\n\
00143 string id\n\
00144 \n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: pr2_object_manipulation_msgs/IMGUIGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 \n\
00150 IMGUIOptions options\n\
00151 IMGUICommand command\n\
00152 \n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: pr2_object_manipulation_msgs/IMGUIOptions\n\
00156 \n\
00157 # collision checking enabled\n\
00158 bool collision_checked\n\
00159 \n\
00160 # 0=call gripper click\n\
00161 # 1=grasp the provided graspable object\n\
00162 int32 grasp_selection\n\
00163 \n\
00164 # 0=right, 1=left arm\n\
00165 int32 arm_selection\n\
00166 \n\
00167 # for RESET commands\n\
00168 # 0=reset collision objects\n\
00169 # 1=reset attached objects\n\
00170 int32 reset_choice\n\
00171 \n\
00172 # for MOVE_ARM commands\n\
00173 # 0=side\n\
00174 # 1=front\n\
00175 # 2=side handoff\n\
00176 int32 arm_action_choice\n\
00177 \n\
00178 # for MOVE_ARM commands\n\
00179 # 0=open-loop\n\
00180 # 1=with planner\n\
00181 int32 arm_planner_choice\n\
00182 \n\
00183 # for MOVE_GRIPPER commands\n\
00184 # opening of gripper (0=closed..100=open)\n\
00185 int32 gripper_slider_position\n\
00186 \n\
00187 # used if grasp_selection == 1\n\
00188 object_manipulation_msgs/GraspableObject selected_object\n\
00189 \n\
00190 # indicates obstacles that can be moved during grasping\n\
00191 # presumably, the operator has marked these in some fashion\n\
00192 object_manipulation_msgs/GraspableObject[] movable_obstacles\n\
00193 \n\
00194 # more options..\n\
00195 IMGUIAdvancedOptions adv_options\n\
00196 \n\
00197 ================================================================================\n\
00198 MSG: object_manipulation_msgs/GraspableObject\n\
00199 # an object that the object_manipulator can work on\n\
00200 \n\
00201 # a graspable object can be represented in multiple ways. This message\n\
00202 # can contain all of them. Which one is actually used is up to the receiver\n\
00203 # of this message. When adding new representations, one must be careful that\n\
00204 # they have reasonable lightweight defaults indicating that that particular\n\
00205 # representation is not available.\n\
00206 \n\
00207 # the tf frame to be used as a reference frame when combining information from\n\
00208 # the different representations below\n\
00209 string reference_frame_id\n\
00210 \n\
00211 # potential recognition results from a database of models\n\
00212 # all poses are relative to the object reference pose\n\
00213 household_objects_database_msgs/DatabaseModelPose[] potential_models\n\
00214 \n\
00215 # the point cloud itself\n\
00216 sensor_msgs/PointCloud cluster\n\
00217 \n\
00218 # a region of a PointCloud2 of interest\n\
00219 object_manipulation_msgs/SceneRegion region\n\
00220 \n\
00221 # the name that this object has in the collision environment\n\
00222 string collision_name\n\
00223 ================================================================================\n\
00224 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00225 # Informs that a specific model from the Model Database has been \n\
00226 # identified at a certain location\n\
00227 \n\
00228 # the database id of the model\n\
00229 int32 model_id\n\
00230 \n\
00231 # the pose that it can be found in\n\
00232 geometry_msgs/PoseStamped pose\n\
00233 \n\
00234 # a measure of the confidence level in this detection result\n\
00235 float32 confidence\n\
00236 \n\
00237 # the name of the object detector that generated this detection result\n\
00238 string detector_name\n\
00239 \n\
00240 ================================================================================\n\
00241 MSG: geometry_msgs/PoseStamped\n\
00242 # A Pose with reference coordinate frame and timestamp\n\
00243 Header header\n\
00244 Pose pose\n\
00245 \n\
00246 ================================================================================\n\
00247 MSG: geometry_msgs/Pose\n\
00248 # A representation of pose in free space, composed of postion and orientation. \n\
00249 Point position\n\
00250 Quaternion orientation\n\
00251 \n\
00252 ================================================================================\n\
00253 MSG: geometry_msgs/Point\n\
00254 # This contains the position of a point in free space\n\
00255 float64 x\n\
00256 float64 y\n\
00257 float64 z\n\
00258 \n\
00259 ================================================================================\n\
00260 MSG: geometry_msgs/Quaternion\n\
00261 # This represents an orientation in free space in quaternion form.\n\
00262 \n\
00263 float64 x\n\
00264 float64 y\n\
00265 float64 z\n\
00266 float64 w\n\
00267 \n\
00268 ================================================================================\n\
00269 MSG: sensor_msgs/PointCloud\n\
00270 # This message holds a collection of 3d points, plus optional additional\n\
00271 # information about each point.\n\
00272 \n\
00273 # Time of sensor data acquisition, coordinate frame ID.\n\
00274 Header header\n\
00275 \n\
00276 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00277 # in the frame given in the header.\n\
00278 geometry_msgs/Point32[] points\n\
00279 \n\
00280 # Each channel should have the same number of elements as points array,\n\
00281 # and the data in each channel should correspond 1:1 with each point.\n\
00282 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00283 ChannelFloat32[] channels\n\
00284 \n\
00285 ================================================================================\n\
00286 MSG: geometry_msgs/Point32\n\
00287 # This contains the position of a point in free space(with 32 bits of precision).\n\
00288 # It is recommeded to use Point wherever possible instead of Point32. \n\
00289 # \n\
00290 # This recommendation is to promote interoperability. \n\
00291 #\n\
00292 # This message is designed to take up less space when sending\n\
00293 # lots of points at once, as in the case of a PointCloud. \n\
00294 \n\
00295 float32 x\n\
00296 float32 y\n\
00297 float32 z\n\
00298 ================================================================================\n\
00299 MSG: sensor_msgs/ChannelFloat32\n\
00300 # This message is used by the PointCloud message to hold optional data\n\
00301 # associated with each point in the cloud. The length of the values\n\
00302 # array should be the same as the length of the points array in the\n\
00303 # PointCloud, and each value should be associated with the corresponding\n\
00304 # point.\n\
00305 \n\
00306 # Channel names in existing practice include:\n\
00307 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00308 # This is opposite to usual conventions but remains for\n\
00309 # historical reasons. The newer PointCloud2 message has no\n\
00310 # such problem.\n\
00311 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00312 # (R,G,B) values packed into the least significant 24 bits,\n\
00313 # in order.\n\
00314 # \"intensity\" - laser or pixel intensity.\n\
00315 # \"distance\"\n\
00316 \n\
00317 # The channel name should give semantics of the channel (e.g.\n\
00318 # \"intensity\" instead of \"value\").\n\
00319 string name\n\
00320 \n\
00321 # The values array should be 1-1 with the elements of the associated\n\
00322 # PointCloud.\n\
00323 float32[] values\n\
00324 \n\
00325 ================================================================================\n\
00326 MSG: object_manipulation_msgs/SceneRegion\n\
00327 # Point cloud\n\
00328 sensor_msgs/PointCloud2 cloud\n\
00329 \n\
00330 # Indices for the region of interest\n\
00331 int32[] mask\n\
00332 \n\
00333 # One of the corresponding 2D images, if applicable\n\
00334 sensor_msgs/Image image\n\
00335 \n\
00336 # The disparity image, if applicable\n\
00337 sensor_msgs/Image disparity_image\n\
00338 \n\
00339 # Camera info for the camera that took the image\n\
00340 sensor_msgs/CameraInfo cam_info\n\
00341 \n\
00342 # a 3D region of interest for grasp planning\n\
00343 geometry_msgs/PoseStamped roi_box_pose\n\
00344 geometry_msgs/Vector3 roi_box_dims\n\
00345 \n\
00346 ================================================================================\n\
00347 MSG: sensor_msgs/PointCloud2\n\
00348 # This message holds a collection of N-dimensional points, which may\n\
00349 # contain additional information such as normals, intensity, etc. The\n\
00350 # point data is stored as a binary blob, its layout described by the\n\
00351 # contents of the \"fields\" array.\n\
00352 \n\
00353 # The point cloud data may be organized 2d (image-like) or 1d\n\
00354 # (unordered). Point clouds organized as 2d images may be produced by\n\
00355 # camera depth sensors such as stereo or time-of-flight.\n\
00356 \n\
00357 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00358 # points).\n\
00359 Header header\n\
00360 \n\
00361 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00362 # 1 and width is the length of the point cloud.\n\
00363 uint32 height\n\
00364 uint32 width\n\
00365 \n\
00366 # Describes the channels and their layout in the binary data blob.\n\
00367 PointField[] fields\n\
00368 \n\
00369 bool is_bigendian # Is this data bigendian?\n\
00370 uint32 point_step # Length of a point in bytes\n\
00371 uint32 row_step # Length of a row in bytes\n\
00372 uint8[] data # Actual point data, size is (row_step*height)\n\
00373 \n\
00374 bool is_dense # True if there are no invalid points\n\
00375 \n\
00376 ================================================================================\n\
00377 MSG: sensor_msgs/PointField\n\
00378 # This message holds the description of one point entry in the\n\
00379 # PointCloud2 message format.\n\
00380 uint8 INT8 = 1\n\
00381 uint8 UINT8 = 2\n\
00382 uint8 INT16 = 3\n\
00383 uint8 UINT16 = 4\n\
00384 uint8 INT32 = 5\n\
00385 uint8 UINT32 = 6\n\
00386 uint8 FLOAT32 = 7\n\
00387 uint8 FLOAT64 = 8\n\
00388 \n\
00389 string name # Name of field\n\
00390 uint32 offset # Offset from start of point struct\n\
00391 uint8 datatype # Datatype enumeration, see above\n\
00392 uint32 count # How many elements in the field\n\
00393 \n\
00394 ================================================================================\n\
00395 MSG: sensor_msgs/Image\n\
00396 # This message contains an uncompressed image\n\
00397 # (0, 0) is at top-left corner of image\n\
00398 #\n\
00399 \n\
00400 Header header # Header timestamp should be acquisition time of image\n\
00401 # Header frame_id should be optical frame of camera\n\
00402 # origin of frame should be optical center of cameara\n\
00403 # +x should point to the right in the image\n\
00404 # +y should point down in the image\n\
00405 # +z should point into to plane of the image\n\
00406 # If the frame_id here and the frame_id of the CameraInfo\n\
00407 # message associated with the image conflict\n\
00408 # the behavior is undefined\n\
00409 \n\
00410 uint32 height # image height, that is, number of rows\n\
00411 uint32 width # image width, that is, number of columns\n\
00412 \n\
00413 # The legal values for encoding are in file src/image_encodings.cpp\n\
00414 # If you want to standardize a new string format, join\n\
00415 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00416 \n\
00417 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
00418 # taken from the list of strings in src/image_encodings.cpp\n\
00419 \n\
00420 uint8 is_bigendian # is this data bigendian?\n\
00421 uint32 step # Full row length in bytes\n\
00422 uint8[] data # actual matrix data, size is (step * rows)\n\
00423 \n\
00424 ================================================================================\n\
00425 MSG: sensor_msgs/CameraInfo\n\
00426 # This message defines meta information for a camera. It should be in a\n\
00427 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
00428 # image topics named:\n\
00429 #\n\
00430 # image_raw - raw data from the camera driver, possibly Bayer encoded\n\
00431 # image - monochrome, distorted\n\
00432 # image_color - color, distorted\n\
00433 # image_rect - monochrome, rectified\n\
00434 # image_rect_color - color, rectified\n\
00435 #\n\
00436 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
00437 # for producing the four processed image topics from image_raw and\n\
00438 # camera_info. The meaning of the camera parameters are described in\n\
00439 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
00440 #\n\
00441 # The image_geometry package provides a user-friendly interface to\n\
00442 # common operations using this meta information. If you want to, e.g.,\n\
00443 # project a 3d point into image coordinates, we strongly recommend\n\
00444 # using image_geometry.\n\
00445 #\n\
00446 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
00447 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
00448 # indicates an uncalibrated camera.\n\
00449 \n\
00450 #######################################################################\n\
00451 # Image acquisition info #\n\
00452 #######################################################################\n\
00453 \n\
00454 # Time of image acquisition, camera coordinate frame ID\n\
00455 Header header # Header timestamp should be acquisition time of image\n\
00456 # Header frame_id should be optical frame of camera\n\
00457 # origin of frame should be optical center of camera\n\
00458 # +x should point to the right in the image\n\
00459 # +y should point down in the image\n\
00460 # +z should point into the plane of the image\n\
00461 \n\
00462 \n\
00463 #######################################################################\n\
00464 # Calibration Parameters #\n\
00465 #######################################################################\n\
00466 # These are fixed during camera calibration. Their values will be the #\n\
00467 # same in all messages until the camera is recalibrated. Note that #\n\
00468 # self-calibrating systems may \"recalibrate\" frequently. #\n\
00469 # #\n\
00470 # The internal parameters can be used to warp a raw (distorted) image #\n\
00471 # to: #\n\
00472 # 1. An undistorted image (requires D and K) #\n\
00473 # 2. A rectified image (requires D, K, R) #\n\
00474 # The projection matrix P projects 3D points into the rectified image.#\n\
00475 #######################################################################\n\
00476 \n\
00477 # The image dimensions with which the camera was calibrated. Normally\n\
00478 # this will be the full camera resolution in pixels.\n\
00479 uint32 height\n\
00480 uint32 width\n\
00481 \n\
00482 # The distortion model used. Supported models are listed in\n\
00483 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
00484 # simple model of radial and tangential distortion - is sufficent.\n\
00485 string distortion_model\n\
00486 \n\
00487 # The distortion parameters, size depending on the distortion model.\n\
00488 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
00489 float64[] D\n\
00490 \n\
00491 # Intrinsic camera matrix for the raw (distorted) images.\n\
00492 # [fx 0 cx]\n\
00493 # K = [ 0 fy cy]\n\
00494 # [ 0 0 1]\n\
00495 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
00496 # coordinates using the focal lengths (fx, fy) and principal point\n\
00497 # (cx, cy).\n\
00498 float64[9] K # 3x3 row-major matrix\n\
00499 \n\
00500 # Rectification matrix (stereo cameras only)\n\
00501 # A rotation matrix aligning the camera coordinate system to the ideal\n\
00502 # stereo image plane so that epipolar lines in both stereo images are\n\
00503 # parallel.\n\
00504 float64[9] R # 3x3 row-major matrix\n\
00505 \n\
00506 # Projection/camera matrix\n\
00507 # [fx' 0 cx' Tx]\n\
00508 # P = [ 0 fy' cy' Ty]\n\
00509 # [ 0 0 1 0]\n\
00510 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
00511 # of the processed (rectified) image. That is, the left 3x3 portion\n\
00512 # is the normal camera intrinsic matrix for the rectified image.\n\
00513 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
00514 # coordinates using the focal lengths (fx', fy') and principal point\n\
00515 # (cx', cy') - these may differ from the values in K.\n\
00516 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
00517 # also have R = the identity and P[1:3,1:3] = K.\n\
00518 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
00519 # position of the optical center of the second camera in the first\n\
00520 # camera's frame. We assume Tz = 0 so both cameras are in the same\n\
00521 # stereo image plane. The first camera always has Tx = Ty = 0. For\n\
00522 # the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
00523 # Tx = -fx' * B, where B is the baseline between the cameras.\n\
00524 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
00525 # the rectified image is given by:\n\
00526 # [u v w]' = P * [X Y Z 1]'\n\
00527 # x = u / w\n\
00528 # y = v / w\n\
00529 # This holds for both images of a stereo pair.\n\
00530 float64[12] P # 3x4 row-major matrix\n\
00531 \n\
00532 \n\
00533 #######################################################################\n\
00534 # Operational Parameters #\n\
00535 #######################################################################\n\
00536 # These define the image region actually captured by the camera #\n\
00537 # driver. Although they affect the geometry of the output image, they #\n\
00538 # may be changed freely without recalibrating the camera. #\n\
00539 #######################################################################\n\
00540 \n\
00541 # Binning refers here to any camera setting which combines rectangular\n\
00542 # neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
00543 # resolution of the output image to\n\
00544 # (width / binning_x) x (height / binning_y).\n\
00545 # The default values binning_x = binning_y = 0 is considered the same\n\
00546 # as binning_x = binning_y = 1 (no subsampling).\n\
00547 uint32 binning_x\n\
00548 uint32 binning_y\n\
00549 \n\
00550 # Region of interest (subwindow of full camera resolution), given in\n\
00551 # full resolution (unbinned) image coordinates. A particular ROI\n\
00552 # always denotes the same window of pixels on the camera sensor,\n\
00553 # regardless of binning settings.\n\
00554 # The default setting of roi (all values 0) is considered the same as\n\
00555 # full resolution (roi.width = width, roi.height = height).\n\
00556 RegionOfInterest roi\n\
00557 \n\
00558 ================================================================================\n\
00559 MSG: sensor_msgs/RegionOfInterest\n\
00560 # This message is used to specify a region of interest within an image.\n\
00561 #\n\
00562 # When used to specify the ROI setting of the camera when the image was\n\
00563 # taken, the height and width fields should either match the height and\n\
00564 # width fields for the associated image; or height = width = 0\n\
00565 # indicates that the full resolution image was captured.\n\
00566 \n\
00567 uint32 x_offset # Leftmost pixel of the ROI\n\
00568 # (0 if the ROI includes the left edge of the image)\n\
00569 uint32 y_offset # Topmost pixel of the ROI\n\
00570 # (0 if the ROI includes the top edge of the image)\n\
00571 uint32 height # Height of ROI\n\
00572 uint32 width # Width of ROI\n\
00573 \n\
00574 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
00575 # ROI in this message. Typically this should be False if the full image\n\
00576 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
00577 # used).\n\
00578 bool do_rectify\n\
00579 \n\
00580 ================================================================================\n\
00581 MSG: geometry_msgs/Vector3\n\
00582 # This represents a vector in free space. \n\
00583 \n\
00584 float64 x\n\
00585 float64 y\n\
00586 float64 z\n\
00587 ================================================================================\n\
00588 MSG: pr2_object_manipulation_msgs/IMGUIAdvancedOptions\n\
00589 \n\
00590 bool reactive_grasping\n\
00591 bool reactive_force \n\
00592 bool reactive_place\n\
00593 int32 lift_steps\n\
00594 int32 retreat_steps\n\
00595 int32 lift_direction_choice\n\
00596 int32 desired_approach\n\
00597 int32 min_approach\n\
00598 float32 max_contact_force\n\
00599 bool find_alternatives\n\
00600 bool always_plan_grasps\n\
00601 bool cycle_gripper_opening\n\
00602 \n\
00603 ================================================================================\n\
00604 MSG: pr2_object_manipulation_msgs/IMGUICommand\n\
00605 \n\
00606 int32 PICKUP = 0\n\
00607 int32 PLACE = 1\n\
00608 int32 PLANNED_MOVE = 2\n\
00609 int32 RESET = 3\n\
00610 int32 MOVE_ARM = 4\n\
00611 int32 LOOK_AT_TABLE = 5\n\
00612 int32 MODEL_OBJECT = 6\n\
00613 int32 MOVE_GRIPPER = 7\n\
00614 int32 SCRIPTED_ACTION = 8\n\
00615 int32 STOP_NAV = 9\n\
00616 \n\
00617 int32 command\n\
00618 string script_name\n\
00619 string script_group_name\n\
00620 \n\
00621 ================================================================================\n\
00622 MSG: pr2_object_manipulation_msgs/IMGUIActionResult\n\
00623 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00624 \n\
00625 Header header\n\
00626 actionlib_msgs/GoalStatus status\n\
00627 IMGUIResult result\n\
00628 \n\
00629 ================================================================================\n\
00630 MSG: actionlib_msgs/GoalStatus\n\
00631 GoalID goal_id\n\
00632 uint8 status\n\
00633 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00634 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00635 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00636 # and has since completed its execution (Terminal State)\n\
00637 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00638 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00639 # to some failure (Terminal State)\n\
00640 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00641 # because the goal was unattainable or invalid (Terminal State)\n\
00642 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00643 # and has not yet completed execution\n\
00644 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00645 # but the action server has not yet confirmed that the goal is canceled\n\
00646 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00647 # and was successfully cancelled (Terminal State)\n\
00648 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00649 # sent over the wire by an action server\n\
00650 \n\
00651 #Allow for the user to associate a string with GoalStatus for debugging\n\
00652 string text\n\
00653 \n\
00654 \n\
00655 ================================================================================\n\
00656 MSG: pr2_object_manipulation_msgs/IMGUIResult\n\
00657 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00658 \n\
00659 #empty result\n\
00660 object_manipulation_msgs/ManipulationResult result\n\
00661 \n\
00662 \n\
00663 ================================================================================\n\
00664 MSG: object_manipulation_msgs/ManipulationResult\n\
00665 # Result codes for manipulation tasks\n\
00666 \n\
00667 # task completed as expected\n\
00668 # generally means you can proceed as planned\n\
00669 int32 SUCCESS = 1\n\
00670 \n\
00671 # task not possible (e.g. out of reach or obstacles in the way)\n\
00672 # generally means that the world was not disturbed, so you can try another task\n\
00673 int32 UNFEASIBLE = -1\n\
00674 \n\
00675 # task was thought possible, but failed due to unexpected events during execution\n\
00676 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00677 # your sensed world model before proceeding to another task\n\
00678 int32 FAILED = -2\n\
00679 \n\
00680 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00681 # generally requires human attention\n\
00682 int32 ERROR = -3\n\
00683 \n\
00684 # means that at some point during execution we ended up in a state that the collision-aware\n\
00685 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00686 # probably need a new collision map to move the arm out of the stuck position\n\
00687 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00688 \n\
00689 # specific to grasp actions\n\
00690 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00691 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00692 int32 LIFT_FAILED = -5\n\
00693 \n\
00694 # specific to place actions\n\
00695 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00696 # it is likely that the collision environment will see collisions between the hand and the object\n\
00697 int32 RETREAT_FAILED = -6\n\
00698 \n\
00699 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00700 int32 CANCELLED = -7\n\
00701 \n\
00702 # the actual value of this error code\n\
00703 int32 value\n\
00704 \n\
00705 ================================================================================\n\
00706 MSG: pr2_object_manipulation_msgs/IMGUIActionFeedback\n\
00707 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00708 \n\
00709 Header header\n\
00710 actionlib_msgs/GoalStatus status\n\
00711 IMGUIFeedback feedback\n\
00712 \n\
00713 ================================================================================\n\
00714 MSG: pr2_object_manipulation_msgs/IMGUIFeedback\n\
00715 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00716 \n\
00717 string status\n\
00718 \n\
00719 \n\
00720 ";
00721 }
00722
00723 static const char* value(const ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> &) { return value(); }
00724 };
00725
00726 }
00727 }
00728
00729 namespace ros
00730 {
00731 namespace serialization
00732 {
00733
00734 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> >
00735 {
00736 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00737 {
00738 stream.next(m.action_goal);
00739 stream.next(m.action_result);
00740 stream.next(m.action_feedback);
00741 }
00742
00743 ROS_DECLARE_ALLINONE_SERIALIZER;
00744 };
00745 }
00746 }
00747
00748 namespace ros
00749 {
00750 namespace message_operations
00751 {
00752
00753 template<class ContainerAllocator>
00754 struct Printer< ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> >
00755 {
00756 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::IMGUIAction_<ContainerAllocator> & v)
00757 {
00758 s << indent << "action_goal: ";
00759 s << std::endl;
00760 Printer< ::pr2_object_manipulation_msgs::IMGUIActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00761 s << indent << "action_result: ";
00762 s << std::endl;
00763 Printer< ::pr2_object_manipulation_msgs::IMGUIActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00764 s << indent << "action_feedback: ";
00765 s << std::endl;
00766 Printer< ::pr2_object_manipulation_msgs::IMGUIActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00767 }
00768 };
00769
00770
00771 }
00772 }
00773
00774 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMGUIACTION_H
00775