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