SimplePoseAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_wam/iri_wam_arm_navigation/msg/SimplePoseAction.msg */
00002 #ifndef IRI_WAM_ARM_NAVIGATION_MESSAGE_SIMPLEPOSEACTION_H
00003 #define IRI_WAM_ARM_NAVIGATION_MESSAGE_SIMPLEPOSEACTION_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 "iri_wam_arm_navigation/SimplePoseActionGoal.h"
00018 #include "iri_wam_arm_navigation/SimplePoseActionResult.h"
00019 #include "iri_wam_arm_navigation/SimplePoseActionFeedback.h"
00020 
00021 namespace iri_wam_arm_navigation
00022 {
00023 template <class ContainerAllocator>
00024 struct SimplePoseAction_ {
00025   typedef SimplePoseAction_<ContainerAllocator> Type;
00026 
00027   SimplePoseAction_()
00028   : action_goal()
00029   , action_result()
00030   , action_feedback()
00031   {
00032   }
00033 
00034   SimplePoseAction_(const ContainerAllocator& _alloc)
00035   : action_goal(_alloc)
00036   , action_result(_alloc)
00037   , action_feedback(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::iri_wam_arm_navigation::SimplePoseActionGoal_<ContainerAllocator>  _action_goal_type;
00042    ::iri_wam_arm_navigation::SimplePoseActionGoal_<ContainerAllocator>  action_goal;
00043 
00044   typedef  ::iri_wam_arm_navigation::SimplePoseActionResult_<ContainerAllocator>  _action_result_type;
00045    ::iri_wam_arm_navigation::SimplePoseActionResult_<ContainerAllocator>  action_result;
00046 
00047   typedef  ::iri_wam_arm_navigation::SimplePoseActionFeedback_<ContainerAllocator>  _action_feedback_type;
00048    ::iri_wam_arm_navigation::SimplePoseActionFeedback_<ContainerAllocator>  action_feedback;
00049 
00050 
00051   typedef boost::shared_ptr< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct SimplePoseAction
00055 typedef  ::iri_wam_arm_navigation::SimplePoseAction_<std::allocator<void> > SimplePoseAction;
00056 
00057 typedef boost::shared_ptr< ::iri_wam_arm_navigation::SimplePoseAction> SimplePoseActionPtr;
00058 typedef boost::shared_ptr< ::iri_wam_arm_navigation::SimplePoseAction const> SimplePoseActionConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace iri_wam_arm_navigation
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "52146bcfd0f04c9d19a9ed68e60ad2f5";
00080   }
00081 
00082   static const char* value(const  ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x52146bcfd0f04c9dULL;
00084   static const uint64_t static_value2 = 0x19a9ed68e60ad2f5ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "iri_wam_arm_navigation/SimplePoseAction";
00092   }
00093 
00094   static const char* value(const  ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 SimplePoseActionGoal action_goal\n\
00104 SimplePoseActionResult action_result\n\
00105 SimplePoseActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: iri_wam_arm_navigation/SimplePoseActionGoal\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 SimplePoseGoal 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: iri_wam_arm_navigation/SimplePoseGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 #Goal Definition\n\
00150 geometry_msgs/PoseStamped goal\n\
00151 string frame_id # This is the name of link to move, and not necessary is the same frame_id of PoseStamped\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: geometry_msgs/PoseStamped\n\
00155 # A Pose with reference coordinate frame and timestamp\n\
00156 Header header\n\
00157 Pose pose\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: geometry_msgs/Pose\n\
00161 # A representation of pose in free space, composed of postion and orientation. \n\
00162 Point position\n\
00163 Quaternion orientation\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/Point\n\
00167 # This contains the position of a point in free space\n\
00168 float64 x\n\
00169 float64 y\n\
00170 float64 z\n\
00171 \n\
00172 ================================================================================\n\
00173 MSG: geometry_msgs/Quaternion\n\
00174 # This represents an orientation in free space in quaternion form.\n\
00175 \n\
00176 float64 x\n\
00177 float64 y\n\
00178 float64 z\n\
00179 float64 w\n\
00180 \n\
00181 ================================================================================\n\
00182 MSG: iri_wam_arm_navigation/SimplePoseActionResult\n\
00183 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00184 \n\
00185 Header header\n\
00186 actionlib_msgs/GoalStatus status\n\
00187 SimplePoseResult result\n\
00188 \n\
00189 ================================================================================\n\
00190 MSG: actionlib_msgs/GoalStatus\n\
00191 GoalID goal_id\n\
00192 uint8 status\n\
00193 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00194 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00195 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00196                             #   and has since completed its execution (Terminal State)\n\
00197 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00198 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00199                             #    to some failure (Terminal State)\n\
00200 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00201                             #    because the goal was unattainable or invalid (Terminal State)\n\
00202 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00203                             #    and has not yet completed execution\n\
00204 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00205                             #    but the action server has not yet confirmed that the goal is canceled\n\
00206 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00207                             #    and was successfully cancelled (Terminal State)\n\
00208 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00209                             #    sent over the wire by an action server\n\
00210 \n\
00211 #Allow for the user to associate a string with GoalStatus for debugging\n\
00212 string text\n\
00213 \n\
00214 \n\
00215 ================================================================================\n\
00216 MSG: iri_wam_arm_navigation/SimplePoseResult\n\
00217 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00218 #Result Definition\n\
00219 # An error code reflecting what went wrong\n\
00220 arm_navigation_msgs/ArmNavigationErrorCodes error_code\n\
00221 \n\
00222 ================================================================================\n\
00223 MSG: arm_navigation_msgs/ArmNavigationErrorCodes\n\
00224 int32 val\n\
00225 \n\
00226 # overall behavior\n\
00227 int32 PLANNING_FAILED=-1\n\
00228 int32 SUCCESS=1\n\
00229 int32 TIMED_OUT=-2\n\
00230 \n\
00231 # start state errors\n\
00232 int32 START_STATE_IN_COLLISION=-3\n\
00233 int32 START_STATE_VIOLATES_PATH_CONSTRAINTS=-4\n\
00234 \n\
00235 # goal errors\n\
00236 int32 GOAL_IN_COLLISION=-5\n\
00237 int32 GOAL_VIOLATES_PATH_CONSTRAINTS=-6\n\
00238 \n\
00239 # robot state\n\
00240 int32 INVALID_ROBOT_STATE=-7\n\
00241 int32 INCOMPLETE_ROBOT_STATE=-8\n\
00242 \n\
00243 # planning request errors\n\
00244 int32 INVALID_PLANNER_ID=-9\n\
00245 int32 INVALID_NUM_PLANNING_ATTEMPTS=-10\n\
00246 int32 INVALID_ALLOWED_PLANNING_TIME=-11\n\
00247 int32 INVALID_GROUP_NAME=-12\n\
00248 int32 INVALID_GOAL_JOINT_CONSTRAINTS=-13\n\
00249 int32 INVALID_GOAL_POSITION_CONSTRAINTS=-14\n\
00250 int32 INVALID_GOAL_ORIENTATION_CONSTRAINTS=-15\n\
00251 int32 INVALID_PATH_JOINT_CONSTRAINTS=-16\n\
00252 int32 INVALID_PATH_POSITION_CONSTRAINTS=-17\n\
00253 int32 INVALID_PATH_ORIENTATION_CONSTRAINTS=-18\n\
00254 \n\
00255 # state/trajectory monitor errors\n\
00256 int32 INVALID_TRAJECTORY=-19\n\
00257 int32 INVALID_INDEX=-20\n\
00258 int32 JOINT_LIMITS_VIOLATED=-21\n\
00259 int32 PATH_CONSTRAINTS_VIOLATED=-22\n\
00260 int32 COLLISION_CONSTRAINTS_VIOLATED=-23\n\
00261 int32 GOAL_CONSTRAINTS_VIOLATED=-24\n\
00262 int32 JOINTS_NOT_MOVING=-25\n\
00263 int32 TRAJECTORY_CONTROLLER_FAILED=-26\n\
00264 \n\
00265 # system errors\n\
00266 int32 FRAME_TRANSFORM_FAILURE=-27\n\
00267 int32 COLLISION_CHECKING_UNAVAILABLE=-28\n\
00268 int32 ROBOT_STATE_STALE=-29\n\
00269 int32 SENSOR_INFO_STALE=-30\n\
00270 \n\
00271 # kinematics errors\n\
00272 int32 NO_IK_SOLUTION=-31\n\
00273 int32 INVALID_LINK_NAME=-32\n\
00274 int32 IK_LINK_IN_COLLISION=-33\n\
00275 int32 NO_FK_SOLUTION=-34\n\
00276 int32 KINEMATICS_STATE_IN_COLLISION=-35\n\
00277 \n\
00278 # general errors\n\
00279 int32 INVALID_TIMEOUT=-36\n\
00280 \n\
00281 \n\
00282 ================================================================================\n\
00283 MSG: iri_wam_arm_navigation/SimplePoseActionFeedback\n\
00284 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00285 \n\
00286 Header header\n\
00287 actionlib_msgs/GoalStatus status\n\
00288 SimplePoseFeedback feedback\n\
00289 \n\
00290 ================================================================================\n\
00291 MSG: iri_wam_arm_navigation/SimplePoseFeedback\n\
00292 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00293 #Feedback Definition\n\
00294 bool succesed\n\
00295 string state\n\
00296 \n\
00297 \n\
00298 ";
00299   }
00300 
00301   static const char* value(const  ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> &) { return value(); } 
00302 };
00303 
00304 } // namespace message_traits
00305 } // namespace ros
00306 
00307 namespace ros
00308 {
00309 namespace serialization
00310 {
00311 
00312 template<class ContainerAllocator> struct Serializer< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> >
00313 {
00314   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00315   {
00316     stream.next(m.action_goal);
00317     stream.next(m.action_result);
00318     stream.next(m.action_feedback);
00319   }
00320 
00321   ROS_DECLARE_ALLINONE_SERIALIZER;
00322 }; // struct SimplePoseAction_
00323 } // namespace serialization
00324 } // namespace ros
00325 
00326 namespace ros
00327 {
00328 namespace message_operations
00329 {
00330 
00331 template<class ContainerAllocator>
00332 struct Printer< ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> >
00333 {
00334   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::iri_wam_arm_navigation::SimplePoseAction_<ContainerAllocator> & v) 
00335   {
00336     s << indent << "action_goal: ";
00337 s << std::endl;
00338     Printer< ::iri_wam_arm_navigation::SimplePoseActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
00339     s << indent << "action_result: ";
00340 s << std::endl;
00341     Printer< ::iri_wam_arm_navigation::SimplePoseActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
00342     s << indent << "action_feedback: ";
00343 s << std::endl;
00344     Printer< ::iri_wam_arm_navigation::SimplePoseActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
00345   }
00346 };
00347 
00348 
00349 } // namespace message_operations
00350 } // namespace ros
00351 
00352 #endif // IRI_WAM_ARM_NAVIGATION_MESSAGE_SIMPLEPOSEACTION_H
00353 


iri_wam_arm_navigation
Author(s): IRI Robotics Lab, Ivan Rojas (ivan.rojas.j@gmail.com)
autogenerated on Fri Dec 6 2013 22:32:00