00001
00002 #ifndef TF2_MSGS_MESSAGE_LOOKUPTRANSFORMACTION_H
00003 #define TF2_MSGS_MESSAGE_LOOKUPTRANSFORMACTION_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 "tf2_msgs/LookupTransformActionGoal.h"
00014 #include "tf2_msgs/LookupTransformActionResult.h"
00015 #include "tf2_msgs/LookupTransformActionFeedback.h"
00016
00017 namespace tf2_msgs
00018 {
00019 template <class ContainerAllocator>
00020 struct LookupTransformAction_ : public ros::Message
00021 {
00022 typedef LookupTransformAction_<ContainerAllocator> Type;
00023
00024 LookupTransformAction_()
00025 : action_goal()
00026 , action_result()
00027 , action_feedback()
00028 {
00029 }
00030
00031 LookupTransformAction_(const ContainerAllocator& _alloc)
00032 : action_goal(_alloc)
00033 , action_result(_alloc)
00034 , action_feedback(_alloc)
00035 {
00036 }
00037
00038 typedef ::tf2_msgs::LookupTransformActionGoal_<ContainerAllocator> _action_goal_type;
00039 ::tf2_msgs::LookupTransformActionGoal_<ContainerAllocator> action_goal;
00040
00041 typedef ::tf2_msgs::LookupTransformActionResult_<ContainerAllocator> _action_result_type;
00042 ::tf2_msgs::LookupTransformActionResult_<ContainerAllocator> action_result;
00043
00044 typedef ::tf2_msgs::LookupTransformActionFeedback_<ContainerAllocator> _action_feedback_type;
00045 ::tf2_msgs::LookupTransformActionFeedback_<ContainerAllocator> action_feedback;
00046
00047
00048 private:
00049 static const char* __s_getDataType_() { return "tf2_msgs/LookupTransformAction"; }
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 "7ee01ba91a56c2245c610992dbaa3c37"; }
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 LookupTransformActionGoal action_goal\n\
00066 LookupTransformActionResult action_result\n\
00067 LookupTransformActionFeedback action_feedback\n\
00068 \n\
00069 ================================================================================\n\
00070 MSG: tf2_msgs/LookupTransformActionGoal\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 LookupTransformGoal 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: tf2_msgs/LookupTransformGoal\n\
00110 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00111 #Simple API\n\
00112 string target_frame\n\
00113 string source_frame\n\
00114 time source_time\n\
00115 duration timeout\n\
00116 \n\
00117 #Advanced API\n\
00118 time target_time\n\
00119 string fixed_frame\n\
00120 \n\
00121 #Whether or not to use the advanced API\n\
00122 bool advanced\n\
00123 \n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: tf2_msgs/LookupTransformActionResult\n\
00127 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00128 \n\
00129 Header header\n\
00130 actionlib_msgs/GoalStatus status\n\
00131 LookupTransformResult result\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: actionlib_msgs/GoalStatus\n\
00135 GoalID goal_id\n\
00136 uint8 status\n\
00137 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00138 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00139 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00140 # and has since completed its execution (Terminal State)\n\
00141 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00142 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00143 # to some failure (Terminal State)\n\
00144 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00145 # because the goal was unattainable or invalid (Terminal State)\n\
00146 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00147 # and has not yet completed execution\n\
00148 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00149 # but the action server has not yet confirmed that the goal is canceled\n\
00150 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00151 # and was successfully cancelled (Terminal State)\n\
00152 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00153 # sent over the wire by an action server\n\
00154 \n\
00155 #Allow for the user to associate a string with GoalStatus for debugging\n\
00156 string text\n\
00157 \n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: tf2_msgs/LookupTransformResult\n\
00161 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00162 geometry_msgs/TransformStamped transform\n\
00163 tf2_msgs/TF2Error error\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/TransformStamped\n\
00167 # This expresses a transform from coordinate frame header.frame_id\n\
00168 # to the coordinate frame child_frame_id\n\
00169 #\n\
00170 # This message is mostly used by the \n\
00171 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00172 # See it's documentation for more information.\n\
00173 \n\
00174 Header header\n\
00175 string child_frame_id # the frame id of the child frame\n\
00176 Transform transform\n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/Transform\n\
00180 # This represents the transform between two coordinate frames in free space.\n\
00181 \n\
00182 Vector3 translation\n\
00183 Quaternion rotation\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: geometry_msgs/Vector3\n\
00187 # This represents a vector in free space. \n\
00188 \n\
00189 float64 x\n\
00190 float64 y\n\
00191 float64 z\n\
00192 ================================================================================\n\
00193 MSG: geometry_msgs/Quaternion\n\
00194 # This represents an orientation in free space in quaternion form.\n\
00195 \n\
00196 float64 x\n\
00197 float64 y\n\
00198 float64 z\n\
00199 float64 w\n\
00200 \n\
00201 ================================================================================\n\
00202 MSG: tf2_msgs/TF2Error\n\
00203 uint8 NO_ERROR = 0\n\
00204 uint8 LOOKUP_ERROR = 1\n\
00205 uint8 CONNECTIVITY_ERROR = 2\n\
00206 uint8 EXTRAPOLATION_ERROR = 3\n\
00207 uint8 INVALID_ARGUMENT_ERROR = 4\n\
00208 uint8 TIMEOUT_ERROR = 5\n\
00209 uint8 TRANSFORM_ERROR = 6\n\
00210 \n\
00211 uint8 error\n\
00212 string error_string\n\
00213 \n\
00214 ================================================================================\n\
00215 MSG: tf2_msgs/LookupTransformActionFeedback\n\
00216 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00217 \n\
00218 Header header\n\
00219 actionlib_msgs/GoalStatus status\n\
00220 LookupTransformFeedback feedback\n\
00221 \n\
00222 ================================================================================\n\
00223 MSG: tf2_msgs/LookupTransformFeedback\n\
00224 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00225 \n\
00226 \n\
00227 "; }
00228 public:
00229 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00230
00231 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00232
00233 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00234 {
00235 ros::serialization::OStream stream(write_ptr, 1000000000);
00236 ros::serialization::serialize(stream, action_goal);
00237 ros::serialization::serialize(stream, action_result);
00238 ros::serialization::serialize(stream, action_feedback);
00239 return stream.getData();
00240 }
00241
00242 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00243 {
00244 ros::serialization::IStream stream(read_ptr, 1000000000);
00245 ros::serialization::deserialize(stream, action_goal);
00246 ros::serialization::deserialize(stream, action_result);
00247 ros::serialization::deserialize(stream, action_feedback);
00248 return stream.getData();
00249 }
00250
00251 ROS_DEPRECATED virtual uint32_t serializationLength() const
00252 {
00253 uint32_t size = 0;
00254 size += ros::serialization::serializationLength(action_goal);
00255 size += ros::serialization::serializationLength(action_result);
00256 size += ros::serialization::serializationLength(action_feedback);
00257 return size;
00258 }
00259
00260 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> > Ptr;
00261 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> const> ConstPtr;
00262 };
00263 typedef ::tf2_msgs::LookupTransformAction_<std::allocator<void> > LookupTransformAction;
00264
00265 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformAction> LookupTransformActionPtr;
00266 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformAction const> LookupTransformActionConstPtr;
00267
00268
00269 template<typename ContainerAllocator>
00270 std::ostream& operator<<(std::ostream& s, const ::tf2_msgs::LookupTransformAction_<ContainerAllocator> & v)
00271 {
00272 ros::message_operations::Printer< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> >::stream(s, "", v);
00273 return s;}
00274
00275 }
00276
00277 namespace ros
00278 {
00279 namespace message_traits
00280 {
00281 template<class ContainerAllocator>
00282 struct MD5Sum< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> > {
00283 static const char* value()
00284 {
00285 return "7ee01ba91a56c2245c610992dbaa3c37";
00286 }
00287
00288 static const char* value(const ::tf2_msgs::LookupTransformAction_<ContainerAllocator> &) { return value(); }
00289 static const uint64_t static_value1 = 0x7ee01ba91a56c224ULL;
00290 static const uint64_t static_value2 = 0x5c610992dbaa3c37ULL;
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct DataType< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "tf2_msgs/LookupTransformAction";
00298 }
00299
00300 static const char* value(const ::tf2_msgs::LookupTransformAction_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct Definition< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00308 \n\
00309 LookupTransformActionGoal action_goal\n\
00310 LookupTransformActionResult action_result\n\
00311 LookupTransformActionFeedback action_feedback\n\
00312 \n\
00313 ================================================================================\n\
00314 MSG: tf2_msgs/LookupTransformActionGoal\n\
00315 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00316 \n\
00317 Header header\n\
00318 actionlib_msgs/GoalID goal_id\n\
00319 LookupTransformGoal goal\n\
00320 \n\
00321 ================================================================================\n\
00322 MSG: std_msgs/Header\n\
00323 # Standard metadata for higher-level stamped data types.\n\
00324 # This is generally used to communicate timestamped data \n\
00325 # in a particular coordinate frame.\n\
00326 # \n\
00327 # sequence ID: consecutively increasing ID \n\
00328 uint32 seq\n\
00329 #Two-integer timestamp that is expressed as:\n\
00330 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00331 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00332 # time-handling sugar is provided by the client library\n\
00333 time stamp\n\
00334 #Frame this data is associated with\n\
00335 # 0: no frame\n\
00336 # 1: global frame\n\
00337 string frame_id\n\
00338 \n\
00339 ================================================================================\n\
00340 MSG: actionlib_msgs/GoalID\n\
00341 # The stamp should store the time at which this goal was requested.\n\
00342 # It is used by an action server when it tries to preempt all\n\
00343 # goals that were requested before a certain time\n\
00344 time stamp\n\
00345 \n\
00346 # The id provides a way to associate feedback and\n\
00347 # result message with specific goal requests. The id\n\
00348 # specified must be unique.\n\
00349 string id\n\
00350 \n\
00351 \n\
00352 ================================================================================\n\
00353 MSG: tf2_msgs/LookupTransformGoal\n\
00354 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00355 #Simple API\n\
00356 string target_frame\n\
00357 string source_frame\n\
00358 time source_time\n\
00359 duration timeout\n\
00360 \n\
00361 #Advanced API\n\
00362 time target_time\n\
00363 string fixed_frame\n\
00364 \n\
00365 #Whether or not to use the advanced API\n\
00366 bool advanced\n\
00367 \n\
00368 \n\
00369 ================================================================================\n\
00370 MSG: tf2_msgs/LookupTransformActionResult\n\
00371 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00372 \n\
00373 Header header\n\
00374 actionlib_msgs/GoalStatus status\n\
00375 LookupTransformResult result\n\
00376 \n\
00377 ================================================================================\n\
00378 MSG: actionlib_msgs/GoalStatus\n\
00379 GoalID goal_id\n\
00380 uint8 status\n\
00381 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00382 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00383 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00384 # and has since completed its execution (Terminal State)\n\
00385 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00386 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00387 # to some failure (Terminal State)\n\
00388 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00389 # because the goal was unattainable or invalid (Terminal State)\n\
00390 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00391 # and has not yet completed execution\n\
00392 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00393 # but the action server has not yet confirmed that the goal is canceled\n\
00394 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00395 # and was successfully cancelled (Terminal State)\n\
00396 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00397 # sent over the wire by an action server\n\
00398 \n\
00399 #Allow for the user to associate a string with GoalStatus for debugging\n\
00400 string text\n\
00401 \n\
00402 \n\
00403 ================================================================================\n\
00404 MSG: tf2_msgs/LookupTransformResult\n\
00405 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00406 geometry_msgs/TransformStamped transform\n\
00407 tf2_msgs/TF2Error error\n\
00408 \n\
00409 ================================================================================\n\
00410 MSG: geometry_msgs/TransformStamped\n\
00411 # This expresses a transform from coordinate frame header.frame_id\n\
00412 # to the coordinate frame child_frame_id\n\
00413 #\n\
00414 # This message is mostly used by the \n\
00415 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00416 # See it's documentation for more information.\n\
00417 \n\
00418 Header header\n\
00419 string child_frame_id # the frame id of the child frame\n\
00420 Transform transform\n\
00421 \n\
00422 ================================================================================\n\
00423 MSG: geometry_msgs/Transform\n\
00424 # This represents the transform between two coordinate frames in free space.\n\
00425 \n\
00426 Vector3 translation\n\
00427 Quaternion rotation\n\
00428 \n\
00429 ================================================================================\n\
00430 MSG: geometry_msgs/Vector3\n\
00431 # This represents a vector in free space. \n\
00432 \n\
00433 float64 x\n\
00434 float64 y\n\
00435 float64 z\n\
00436 ================================================================================\n\
00437 MSG: geometry_msgs/Quaternion\n\
00438 # This represents an orientation in free space in quaternion form.\n\
00439 \n\
00440 float64 x\n\
00441 float64 y\n\
00442 float64 z\n\
00443 float64 w\n\
00444 \n\
00445 ================================================================================\n\
00446 MSG: tf2_msgs/TF2Error\n\
00447 uint8 NO_ERROR = 0\n\
00448 uint8 LOOKUP_ERROR = 1\n\
00449 uint8 CONNECTIVITY_ERROR = 2\n\
00450 uint8 EXTRAPOLATION_ERROR = 3\n\
00451 uint8 INVALID_ARGUMENT_ERROR = 4\n\
00452 uint8 TIMEOUT_ERROR = 5\n\
00453 uint8 TRANSFORM_ERROR = 6\n\
00454 \n\
00455 uint8 error\n\
00456 string error_string\n\
00457 \n\
00458 ================================================================================\n\
00459 MSG: tf2_msgs/LookupTransformActionFeedback\n\
00460 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00461 \n\
00462 Header header\n\
00463 actionlib_msgs/GoalStatus status\n\
00464 LookupTransformFeedback feedback\n\
00465 \n\
00466 ================================================================================\n\
00467 MSG: tf2_msgs/LookupTransformFeedback\n\
00468 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00469 \n\
00470 \n\
00471 ";
00472 }
00473
00474 static const char* value(const ::tf2_msgs::LookupTransformAction_<ContainerAllocator> &) { return value(); }
00475 };
00476
00477 }
00478 }
00479
00480 namespace ros
00481 {
00482 namespace serialization
00483 {
00484
00485 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> >
00486 {
00487 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00488 {
00489 stream.next(m.action_goal);
00490 stream.next(m.action_result);
00491 stream.next(m.action_feedback);
00492 }
00493
00494 ROS_DECLARE_ALLINONE_SERIALIZER;
00495 };
00496 }
00497 }
00498
00499 namespace ros
00500 {
00501 namespace message_operations
00502 {
00503
00504 template<class ContainerAllocator>
00505 struct Printer< ::tf2_msgs::LookupTransformAction_<ContainerAllocator> >
00506 {
00507 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tf2_msgs::LookupTransformAction_<ContainerAllocator> & v)
00508 {
00509 s << indent << "action_goal: ";
00510 s << std::endl;
00511 Printer< ::tf2_msgs::LookupTransformActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
00512 s << indent << "action_result: ";
00513 s << std::endl;
00514 Printer< ::tf2_msgs::LookupTransformActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
00515 s << indent << "action_feedback: ";
00516 s << std::endl;
00517 Printer< ::tf2_msgs::LookupTransformActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
00518 }
00519 };
00520
00521
00522 }
00523 }
00524
00525 #endif // TF2_MSGS_MESSAGE_LOOKUPTRANSFORMACTION_H
00526