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