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