Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADACTION_H
00039 #define PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADACTION_H
00040
00041
00042 #include <string>
00043 #include <vector>
00044 #include <map>
00045
00046 #include <ros/types.h>
00047 #include <ros/serialization.h>
00048 #include <ros/builtin_message_traits.h>
00049 #include <ros/message_operations.h>
00050
00051 #include <pr2_controllers_msgs/PointHeadActionGoal.h>
00052 #include <pr2_controllers_msgs/PointHeadActionResult.h>
00053 #include <pr2_controllers_msgs/PointHeadActionFeedback.h>
00054
00055 namespace pr2_controllers_msgs
00056 {
00057 template <class ContainerAllocator>
00058 struct PointHeadAction_
00059 {
00060 typedef PointHeadAction_<ContainerAllocator> Type;
00061
00062 PointHeadAction_()
00063 : action_goal()
00064 , action_result()
00065 , action_feedback() {
00066 }
00067 PointHeadAction_(const ContainerAllocator& _alloc)
00068 : action_goal(_alloc)
00069 , action_result(_alloc)
00070 , action_feedback(_alloc) {
00071 }
00072
00073
00074
00075 typedef ::pr2_controllers_msgs::PointHeadActionGoal_<ContainerAllocator> _action_goal_type;
00076 _action_goal_type action_goal;
00077
00078 typedef ::pr2_controllers_msgs::PointHeadActionResult_<ContainerAllocator> _action_result_type;
00079 _action_result_type action_result;
00080
00081 typedef ::pr2_controllers_msgs::PointHeadActionFeedback_<ContainerAllocator> _action_feedback_type;
00082 _action_feedback_type action_feedback;
00083
00084
00085
00086
00087 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> > Ptr;
00088 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> const> ConstPtr;
00089 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090
00091 };
00092
00093 typedef ::pr2_controllers_msgs::PointHeadAction_<std::allocator<void> > PointHeadAction;
00094
00095 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadAction > PointHeadActionPtr;
00096 typedef boost::shared_ptr< ::pr2_controllers_msgs::PointHeadAction const> PointHeadActionConstPtr;
00097
00098
00099
00100
00101
00102 template<typename ContainerAllocator>
00103 std::ostream& operator<<(std::ostream& s, const ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> & v)
00104 {
00105 ros::message_operations::Printer< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >::stream(s, "", v);
00106 return s;
00107 }
00108
00109 }
00110
00111 namespace ros
00112 {
00113 namespace message_traits
00114 {
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126 template <class ContainerAllocator>
00127 struct IsFixedSize< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00128 : FalseType
00129 { };
00130
00131 template <class ContainerAllocator>
00132 struct IsFixedSize< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> const>
00133 : FalseType
00134 { };
00135
00136 template <class ContainerAllocator>
00137 struct IsMessage< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00138 : TrueType
00139 { };
00140
00141 template <class ContainerAllocator>
00142 struct IsMessage< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> const>
00143 : TrueType
00144 { };
00145
00146 template <class ContainerAllocator>
00147 struct HasHeader< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00148 : FalseType
00149 { };
00150
00151 template <class ContainerAllocator>
00152 struct HasHeader< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> const>
00153 : FalseType
00154 { };
00155
00156
00157 template<class ContainerAllocator>
00158 struct MD5Sum< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00159 {
00160 static const char* value()
00161 {
00162 return "7252920f1243de1b741f14f214125371";
00163 }
00164
00165 static const char* value(const ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator>&) { return value(); }
00166 static const uint64_t static_value1 = 0x7252920f1243de1bULL;
00167 static const uint64_t static_value2 = 0x741f14f214125371ULL;
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct DataType< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00172 {
00173 static const char* value()
00174 {
00175 return "pr2_controllers_msgs/PointHeadAction";
00176 }
00177
00178 static const char* value(const ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator>&) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator>
00182 struct Definition< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00183 {
00184 static const char* value()
00185 {
00186 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00187 \n\
00188 PointHeadActionGoal action_goal\n\
00189 PointHeadActionResult action_result\n\
00190 PointHeadActionFeedback action_feedback\n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: pr2_controllers_msgs/PointHeadActionGoal\n\
00194 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00195 \n\
00196 Header header\n\
00197 actionlib_msgs/GoalID goal_id\n\
00198 PointHeadGoal goal\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: std_msgs/Header\n\
00202 # Standard metadata for higher-level stamped data types.\n\
00203 # This is generally used to communicate timestamped data \n\
00204 # in a particular coordinate frame.\n\
00205 # \n\
00206 # sequence ID: consecutively increasing ID \n\
00207 uint32 seq\n\
00208 #Two-integer timestamp that is expressed as:\n\
00209 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00210 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00211 # time-handling sugar is provided by the client library\n\
00212 time stamp\n\
00213 #Frame this data is associated with\n\
00214 # 0: no frame\n\
00215 # 1: global frame\n\
00216 string frame_id\n\
00217 \n\
00218 ================================================================================\n\
00219 MSG: actionlib_msgs/GoalID\n\
00220 # The stamp should store the time at which this goal was requested.\n\
00221 # It is used by an action server when it tries to preempt all\n\
00222 # goals that were requested before a certain time\n\
00223 time stamp\n\
00224 \n\
00225 # The id provides a way to associate feedback and\n\
00226 # result message with specific goal requests. The id\n\
00227 # specified must be unique.\n\
00228 string id\n\
00229 \n\
00230 \n\
00231 ================================================================================\n\
00232 MSG: pr2_controllers_msgs/PointHeadGoal\n\
00233 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00234 geometry_msgs/PointStamped target\n\
00235 geometry_msgs/Vector3 pointing_axis\n\
00236 string pointing_frame\n\
00237 duration min_duration\n\
00238 float64 max_velocity\n\
00239 \n\
00240 ================================================================================\n\
00241 MSG: geometry_msgs/PointStamped\n\
00242 # This represents a Point with reference coordinate frame and timestamp\n\
00243 Header header\n\
00244 Point point\n\
00245 \n\
00246 ================================================================================\n\
00247 MSG: geometry_msgs/Point\n\
00248 # This contains the position of a point in free space\n\
00249 float64 x\n\
00250 float64 y\n\
00251 float64 z\n\
00252 \n\
00253 ================================================================================\n\
00254 MSG: geometry_msgs/Vector3\n\
00255 # This represents a vector in free space. \n\
00256 \n\
00257 float64 x\n\
00258 float64 y\n\
00259 float64 z\n\
00260 ================================================================================\n\
00261 MSG: pr2_controllers_msgs/PointHeadActionResult\n\
00262 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00263 \n\
00264 Header header\n\
00265 actionlib_msgs/GoalStatus status\n\
00266 PointHeadResult result\n\
00267 \n\
00268 ================================================================================\n\
00269 MSG: actionlib_msgs/GoalStatus\n\
00270 GoalID goal_id\n\
00271 uint8 status\n\
00272 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00273 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00274 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00275 # and has since completed its execution (Terminal State)\n\
00276 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00277 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00278 # to some failure (Terminal State)\n\
00279 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00280 # because the goal was unattainable or invalid (Terminal State)\n\
00281 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00282 # and has not yet completed execution\n\
00283 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00284 # but the action server has not yet confirmed that the goal is canceled\n\
00285 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00286 # and was successfully cancelled (Terminal State)\n\
00287 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00288 # sent over the wire by an action server\n\
00289 \n\
00290 #Allow for the user to associate a string with GoalStatus for debugging\n\
00291 string text\n\
00292 \n\
00293 \n\
00294 ================================================================================\n\
00295 MSG: pr2_controllers_msgs/PointHeadResult\n\
00296 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00297 \n\
00298 ================================================================================\n\
00299 MSG: pr2_controllers_msgs/PointHeadActionFeedback\n\
00300 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00301 \n\
00302 Header header\n\
00303 actionlib_msgs/GoalStatus status\n\
00304 PointHeadFeedback feedback\n\
00305 \n\
00306 ================================================================================\n\
00307 MSG: pr2_controllers_msgs/PointHeadFeedback\n\
00308 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00309 float64 pointing_angle_error\n\
00310 \n\
00311 ";
00312 }
00313
00314 static const char* value(const ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator>&) { return value(); }
00315 };
00316
00317 }
00318 }
00319
00320 namespace ros
00321 {
00322 namespace serialization
00323 {
00324
00325 template<class ContainerAllocator> struct Serializer< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00326 {
00327 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00328 {
00329 stream.next(m.action_goal);
00330 stream.next(m.action_result);
00331 stream.next(m.action_feedback);
00332 }
00333
00334 ROS_DECLARE_ALLINONE_SERIALIZER;
00335 };
00336
00337 }
00338 }
00339
00340 namespace ros
00341 {
00342 namespace message_operations
00343 {
00344
00345 template<class ContainerAllocator>
00346 struct Printer< ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator> >
00347 {
00348 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_controllers_msgs::PointHeadAction_<ContainerAllocator>& v)
00349 {
00350 s << indent << "action_goal: ";
00351 s << std::endl;
00352 Printer< ::pr2_controllers_msgs::PointHeadActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00353 s << indent << "action_result: ";
00354 s << std::endl;
00355 Printer< ::pr2_controllers_msgs::PointHeadActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00356 s << indent << "action_feedback: ";
00357 s << std::endl;
00358 Printer< ::pr2_controllers_msgs::PointHeadActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00359 }
00360 };
00361
00362 }
00363 }
00364
00365 #endif // PR2_CONTROLLERS_MSGS_MESSAGE_POINTHEADACTION_H