$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/manipulation/pr2_object_manipulation_msgs/msg/GetPoseAction.msg */ 00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETPOSEACTION_H 00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETPOSEACTION_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/GetPoseActionGoal.h" 00018 #include "pr2_object_manipulation_msgs/GetPoseActionResult.h" 00019 #include "pr2_object_manipulation_msgs/GetPoseActionFeedback.h" 00020 00021 namespace pr2_object_manipulation_msgs 00022 { 00023 template <class ContainerAllocator> 00024 struct GetPoseAction_ { 00025 typedef GetPoseAction_<ContainerAllocator> Type; 00026 00027 GetPoseAction_() 00028 : action_goal() 00029 , action_result() 00030 , action_feedback() 00031 { 00032 } 00033 00034 GetPoseAction_(const ContainerAllocator& _alloc) 00035 : action_goal(_alloc) 00036 , action_result(_alloc) 00037 , action_feedback(_alloc) 00038 { 00039 } 00040 00041 typedef ::pr2_object_manipulation_msgs::GetPoseActionGoal_<ContainerAllocator> _action_goal_type; 00042 ::pr2_object_manipulation_msgs::GetPoseActionGoal_<ContainerAllocator> action_goal; 00043 00044 typedef ::pr2_object_manipulation_msgs::GetPoseActionResult_<ContainerAllocator> _action_result_type; 00045 ::pr2_object_manipulation_msgs::GetPoseActionResult_<ContainerAllocator> action_result; 00046 00047 typedef ::pr2_object_manipulation_msgs::GetPoseActionFeedback_<ContainerAllocator> _action_feedback_type; 00048 ::pr2_object_manipulation_msgs::GetPoseActionFeedback_<ContainerAllocator> action_feedback; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/GetPoseAction"; } 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 "a84575fda2ec9f0e3524c2db02ef3d20"; } 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 GetPoseActionGoal action_goal\n\ 00069 GetPoseActionResult action_result\n\ 00070 GetPoseActionFeedback action_feedback\n\ 00071 \n\ 00072 ================================================================================\n\ 00073 MSG: pr2_object_manipulation_msgs/GetPoseActionGoal\n\ 00074 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00075 \n\ 00076 Header header\n\ 00077 actionlib_msgs/GoalID goal_id\n\ 00078 GetPoseGoal goal\n\ 00079 \n\ 00080 ================================================================================\n\ 00081 MSG: std_msgs/Header\n\ 00082 # Standard metadata for higher-level stamped data types.\n\ 00083 # This is generally used to communicate timestamped data \n\ 00084 # in a particular coordinate frame.\n\ 00085 # \n\ 00086 # sequence ID: consecutively increasing ID \n\ 00087 uint32 seq\n\ 00088 #Two-integer timestamp that is expressed as:\n\ 00089 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00090 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00091 # time-handling sugar is provided by the client library\n\ 00092 time stamp\n\ 00093 #Frame this data is associated with\n\ 00094 # 0: no frame\n\ 00095 # 1: global frame\n\ 00096 string frame_id\n\ 00097 \n\ 00098 ================================================================================\n\ 00099 MSG: actionlib_msgs/GoalID\n\ 00100 # The stamp should store the time at which this goal was requested.\n\ 00101 # It is used by an action server when it tries to preempt all\n\ 00102 # goals that were requested before a certain time\n\ 00103 time stamp\n\ 00104 \n\ 00105 # The id provides a way to associate feedback and\n\ 00106 # result message with specific goal requests. The id\n\ 00107 # specified must be unique.\n\ 00108 string id\n\ 00109 \n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: pr2_object_manipulation_msgs/GetPoseGoal\n\ 00113 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00114 \n\ 00115 # a seed position for the pose marker. If empty (quaternion of norm 0)\n\ 00116 # the marker will be initialized at the current pose of the header frame.\n\ 00117 geometry_msgs/PoseStamped starting_pose\n\ 00118 \n\ 00119 \n\ 00120 ================================================================================\n\ 00121 MSG: geometry_msgs/PoseStamped\n\ 00122 # A Pose with reference coordinate frame and timestamp\n\ 00123 Header header\n\ 00124 Pose pose\n\ 00125 \n\ 00126 ================================================================================\n\ 00127 MSG: geometry_msgs/Pose\n\ 00128 # A representation of pose in free space, composed of postion and orientation. \n\ 00129 Point position\n\ 00130 Quaternion orientation\n\ 00131 \n\ 00132 ================================================================================\n\ 00133 MSG: geometry_msgs/Point\n\ 00134 # This contains the position of a point in free space\n\ 00135 float64 x\n\ 00136 float64 y\n\ 00137 float64 z\n\ 00138 \n\ 00139 ================================================================================\n\ 00140 MSG: geometry_msgs/Quaternion\n\ 00141 # This represents an orientation in free space in quaternion form.\n\ 00142 \n\ 00143 float64 x\n\ 00144 float64 y\n\ 00145 float64 z\n\ 00146 float64 w\n\ 00147 \n\ 00148 ================================================================================\n\ 00149 MSG: pr2_object_manipulation_msgs/GetPoseActionResult\n\ 00150 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00151 \n\ 00152 Header header\n\ 00153 actionlib_msgs/GoalStatus status\n\ 00154 GetPoseResult result\n\ 00155 \n\ 00156 ================================================================================\n\ 00157 MSG: actionlib_msgs/GoalStatus\n\ 00158 GoalID goal_id\n\ 00159 uint8 status\n\ 00160 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00161 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00162 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00163 # and has since completed its execution (Terminal State)\n\ 00164 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00165 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00166 # to some failure (Terminal State)\n\ 00167 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00168 # because the goal was unattainable or invalid (Terminal State)\n\ 00169 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00170 # and has not yet completed execution\n\ 00171 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00172 # but the action server has not yet confirmed that the goal is canceled\n\ 00173 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00174 # and was successfully cancelled (Terminal State)\n\ 00175 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00176 # sent over the wire by an action server\n\ 00177 \n\ 00178 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00179 string text\n\ 00180 \n\ 00181 \n\ 00182 ================================================================================\n\ 00183 MSG: pr2_object_manipulation_msgs/GetPoseResult\n\ 00184 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00185 # the returned pose, assuming the user has clicked \"accept\"\n\ 00186 # if the user clicks \"cancel\" the action aborts\n\ 00187 geometry_msgs/PoseStamped pose\n\ 00188 \n\ 00189 \n\ 00190 ================================================================================\n\ 00191 MSG: pr2_object_manipulation_msgs/GetPoseActionFeedback\n\ 00192 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00193 \n\ 00194 Header header\n\ 00195 actionlib_msgs/GoalStatus status\n\ 00196 GetPoseFeedback feedback\n\ 00197 \n\ 00198 ================================================================================\n\ 00199 MSG: pr2_object_manipulation_msgs/GetPoseFeedback\n\ 00200 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00201 \n\ 00202 \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, action_goal); 00213 ros::serialization::serialize(stream, action_result); 00214 ros::serialization::serialize(stream, action_feedback); 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, action_goal); 00222 ros::serialization::deserialize(stream, action_result); 00223 ros::serialization::deserialize(stream, action_feedback); 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(action_goal); 00231 size += ros::serialization::serializationLength(action_result); 00232 size += ros::serialization::serializationLength(action_feedback); 00233 return size; 00234 } 00235 00236 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > Ptr; 00237 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> const> ConstPtr; 00238 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00239 }; // struct GetPoseAction 00240 typedef ::pr2_object_manipulation_msgs::GetPoseAction_<std::allocator<void> > GetPoseAction; 00241 00242 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseAction> GetPoseActionPtr; 00243 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseAction const> GetPoseActionConstPtr; 00244 00245 00246 template<typename ContainerAllocator> 00247 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> & v) 00248 { 00249 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> >::stream(s, "", v); 00250 return s;} 00251 00252 } // namespace pr2_object_manipulation_msgs 00253 00254 namespace ros 00255 { 00256 namespace message_traits 00257 { 00258 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > : public TrueType {}; 00259 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> const> : public TrueType {}; 00260 template<class ContainerAllocator> 00261 struct MD5Sum< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > { 00262 static const char* value() 00263 { 00264 return "a84575fda2ec9f0e3524c2db02ef3d20"; 00265 } 00266 00267 static const char* value(const ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> &) { return value(); } 00268 static const uint64_t static_value1 = 0xa84575fda2ec9f0eULL; 00269 static const uint64_t static_value2 = 0x3524c2db02ef3d20ULL; 00270 }; 00271 00272 template<class ContainerAllocator> 00273 struct DataType< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > { 00274 static const char* value() 00275 { 00276 return "pr2_object_manipulation_msgs/GetPoseAction"; 00277 } 00278 00279 static const char* value(const ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> &) { return value(); } 00280 }; 00281 00282 template<class ContainerAllocator> 00283 struct Definition< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > { 00284 static const char* value() 00285 { 00286 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00287 \n\ 00288 GetPoseActionGoal action_goal\n\ 00289 GetPoseActionResult action_result\n\ 00290 GetPoseActionFeedback action_feedback\n\ 00291 \n\ 00292 ================================================================================\n\ 00293 MSG: pr2_object_manipulation_msgs/GetPoseActionGoal\n\ 00294 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00295 \n\ 00296 Header header\n\ 00297 actionlib_msgs/GoalID goal_id\n\ 00298 GetPoseGoal goal\n\ 00299 \n\ 00300 ================================================================================\n\ 00301 MSG: std_msgs/Header\n\ 00302 # Standard metadata for higher-level stamped data types.\n\ 00303 # This is generally used to communicate timestamped data \n\ 00304 # in a particular coordinate frame.\n\ 00305 # \n\ 00306 # sequence ID: consecutively increasing ID \n\ 00307 uint32 seq\n\ 00308 #Two-integer timestamp that is expressed as:\n\ 00309 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00310 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00311 # time-handling sugar is provided by the client library\n\ 00312 time stamp\n\ 00313 #Frame this data is associated with\n\ 00314 # 0: no frame\n\ 00315 # 1: global frame\n\ 00316 string frame_id\n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: actionlib_msgs/GoalID\n\ 00320 # The stamp should store the time at which this goal was requested.\n\ 00321 # It is used by an action server when it tries to preempt all\n\ 00322 # goals that were requested before a certain time\n\ 00323 time stamp\n\ 00324 \n\ 00325 # The id provides a way to associate feedback and\n\ 00326 # result message with specific goal requests. The id\n\ 00327 # specified must be unique.\n\ 00328 string id\n\ 00329 \n\ 00330 \n\ 00331 ================================================================================\n\ 00332 MSG: pr2_object_manipulation_msgs/GetPoseGoal\n\ 00333 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00334 \n\ 00335 # a seed position for the pose marker. If empty (quaternion of norm 0)\n\ 00336 # the marker will be initialized at the current pose of the header frame.\n\ 00337 geometry_msgs/PoseStamped starting_pose\n\ 00338 \n\ 00339 \n\ 00340 ================================================================================\n\ 00341 MSG: geometry_msgs/PoseStamped\n\ 00342 # A Pose with reference coordinate frame and timestamp\n\ 00343 Header header\n\ 00344 Pose pose\n\ 00345 \n\ 00346 ================================================================================\n\ 00347 MSG: geometry_msgs/Pose\n\ 00348 # A representation of pose in free space, composed of postion and orientation. \n\ 00349 Point position\n\ 00350 Quaternion orientation\n\ 00351 \n\ 00352 ================================================================================\n\ 00353 MSG: geometry_msgs/Point\n\ 00354 # This contains the position of a point in free space\n\ 00355 float64 x\n\ 00356 float64 y\n\ 00357 float64 z\n\ 00358 \n\ 00359 ================================================================================\n\ 00360 MSG: geometry_msgs/Quaternion\n\ 00361 # This represents an orientation in free space in quaternion form.\n\ 00362 \n\ 00363 float64 x\n\ 00364 float64 y\n\ 00365 float64 z\n\ 00366 float64 w\n\ 00367 \n\ 00368 ================================================================================\n\ 00369 MSG: pr2_object_manipulation_msgs/GetPoseActionResult\n\ 00370 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00371 \n\ 00372 Header header\n\ 00373 actionlib_msgs/GoalStatus status\n\ 00374 GetPoseResult result\n\ 00375 \n\ 00376 ================================================================================\n\ 00377 MSG: actionlib_msgs/GoalStatus\n\ 00378 GoalID goal_id\n\ 00379 uint8 status\n\ 00380 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00381 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00382 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00383 # and has since completed its execution (Terminal State)\n\ 00384 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00385 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00386 # to some failure (Terminal State)\n\ 00387 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00388 # because the goal was unattainable or invalid (Terminal State)\n\ 00389 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00390 # and has not yet completed execution\n\ 00391 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00392 # but the action server has not yet confirmed that the goal is canceled\n\ 00393 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00394 # and was successfully cancelled (Terminal State)\n\ 00395 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00396 # sent over the wire by an action server\n\ 00397 \n\ 00398 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00399 string text\n\ 00400 \n\ 00401 \n\ 00402 ================================================================================\n\ 00403 MSG: pr2_object_manipulation_msgs/GetPoseResult\n\ 00404 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00405 # the returned pose, assuming the user has clicked \"accept\"\n\ 00406 # if the user clicks \"cancel\" the action aborts\n\ 00407 geometry_msgs/PoseStamped pose\n\ 00408 \n\ 00409 \n\ 00410 ================================================================================\n\ 00411 MSG: pr2_object_manipulation_msgs/GetPoseActionFeedback\n\ 00412 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00413 \n\ 00414 Header header\n\ 00415 actionlib_msgs/GoalStatus status\n\ 00416 GetPoseFeedback feedback\n\ 00417 \n\ 00418 ================================================================================\n\ 00419 MSG: pr2_object_manipulation_msgs/GetPoseFeedback\n\ 00420 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00421 \n\ 00422 \n\ 00423 "; 00424 } 00425 00426 static const char* value(const ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> &) { return value(); } 00427 }; 00428 00429 } // namespace message_traits 00430 } // namespace ros 00431 00432 namespace ros 00433 { 00434 namespace serialization 00435 { 00436 00437 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > 00438 { 00439 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00440 { 00441 stream.next(m.action_goal); 00442 stream.next(m.action_result); 00443 stream.next(m.action_feedback); 00444 } 00445 00446 ROS_DECLARE_ALLINONE_SERIALIZER; 00447 }; // struct GetPoseAction_ 00448 } // namespace serialization 00449 } // namespace ros 00450 00451 namespace ros 00452 { 00453 namespace message_operations 00454 { 00455 00456 template<class ContainerAllocator> 00457 struct Printer< ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> > 00458 { 00459 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::GetPoseAction_<ContainerAllocator> & v) 00460 { 00461 s << indent << "action_goal: "; 00462 s << std::endl; 00463 Printer< ::pr2_object_manipulation_msgs::GetPoseActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal); 00464 s << indent << "action_result: "; 00465 s << std::endl; 00466 Printer< ::pr2_object_manipulation_msgs::GetPoseActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result); 00467 s << indent << "action_feedback: "; 00468 s << std::endl; 00469 Printer< ::pr2_object_manipulation_msgs::GetPoseActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback); 00470 } 00471 }; 00472 00473 00474 } // namespace message_operations 00475 } // namespace ros 00476 00477 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETPOSEACTION_H 00478