Go to the documentation of this file.00001
00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEGOAL_H
00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEGOAL_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 "geometry_msgs/PoseStamped.h"
00018 #include "geometry_msgs/PoseStamped.h"
00019
00020 namespace cob_object_detection_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct AcquireObjectImageGoal_ {
00024 typedef AcquireObjectImageGoal_<ContainerAllocator> Type;
00025
00026 AcquireObjectImageGoal_()
00027 : object_name()
00028 , reset_image_counter(false)
00029 , pose()
00030 , sdh_joints()
00031 {
00032 }
00033
00034 AcquireObjectImageGoal_(const ContainerAllocator& _alloc)
00035 : object_name(_alloc)
00036 , reset_image_counter(false)
00037 , pose(_alloc)
00038 , sdh_joints(_alloc)
00039 {
00040 }
00041
00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type;
00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name;
00044
00045 typedef uint8_t _reset_image_counter_type;
00046 uint8_t reset_image_counter;
00047
00048 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00049 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00050
00051 typedef std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > _sdh_joints_type;
00052 std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > sdh_joints;
00053
00054
00055 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > Ptr;
00056 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> const> ConstPtr;
00057 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 };
00059 typedef ::cob_object_detection_msgs::AcquireObjectImageGoal_<std::allocator<void> > AcquireObjectImageGoal;
00060
00061 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal> AcquireObjectImageGoalPtr;
00062 typedef boost::shared_ptr< ::cob_object_detection_msgs::AcquireObjectImageGoal const> AcquireObjectImageGoalConstPtr;
00063
00064
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> & v)
00067 {
00068 ros::message_operations::Printer< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> >::stream(s, "", v);
00069 return s;}
00070
00071 }
00072
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > {
00081 static const char* value()
00082 {
00083 return "a834da64b488488418ecf10d2737befd";
00084 }
00085
00086 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> &) { return value(); }
00087 static const uint64_t static_value1 = 0xa834da64b4884884ULL;
00088 static const uint64_t static_value2 = 0x18ecf10d2737befdULL;
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct DataType< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "cob_object_detection_msgs/AcquireObjectImageGoal";
00096 }
00097
00098 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> &) { return value(); }
00099 };
00100
00101 template<class ContainerAllocator>
00102 struct Definition< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00106 # The goal\n\
00107 string object_name\n\
00108 bool reset_image_counter\n\
00109 geometry_msgs/PoseStamped pose\n\
00110 geometry_msgs/PoseStamped[] sdh_joints\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: geometry_msgs/PoseStamped\n\
00114 # A Pose with reference coordinate frame and timestamp\n\
00115 Header header\n\
00116 Pose pose\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Pose\n\
00138 # A representation of pose in free space, composed of postion and orientation. \n\
00139 Point position\n\
00140 Quaternion orientation\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: geometry_msgs/Point\n\
00144 # This contains the position of a point in free space\n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Quaternion\n\
00151 # This represents an orientation in free space in quaternion form.\n\
00152 \n\
00153 float64 x\n\
00154 float64 y\n\
00155 float64 z\n\
00156 float64 w\n\
00157 \n\
00158 ";
00159 }
00160
00161 static const char* value(const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> &) { return value(); }
00162 };
00163
00164 }
00165 }
00166
00167 namespace ros
00168 {
00169 namespace serialization
00170 {
00171
00172 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> >
00173 {
00174 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00175 {
00176 stream.next(m.object_name);
00177 stream.next(m.reset_image_counter);
00178 stream.next(m.pose);
00179 stream.next(m.sdh_joints);
00180 }
00181
00182 ROS_DECLARE_ALLINONE_SERIALIZER;
00183 };
00184 }
00185 }
00186
00187 namespace ros
00188 {
00189 namespace message_operations
00190 {
00191
00192 template<class ContainerAllocator>
00193 struct Printer< ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> >
00194 {
00195 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_object_detection_msgs::AcquireObjectImageGoal_<ContainerAllocator> & v)
00196 {
00197 s << indent << "object_name: ";
00198 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.object_name);
00199 s << indent << "reset_image_counter: ";
00200 Printer<uint8_t>::stream(s, indent + " ", v.reset_image_counter);
00201 s << indent << "pose: ";
00202 s << std::endl;
00203 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00204 s << indent << "sdh_joints[]" << std::endl;
00205 for (size_t i = 0; i < v.sdh_joints.size(); ++i)
00206 {
00207 s << indent << " sdh_joints[" << i << "]: ";
00208 s << std::endl;
00209 s << indent;
00210 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.sdh_joints[i]);
00211 }
00212 }
00213 };
00214
00215
00216 }
00217 }
00218
00219 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_ACQUIREOBJECTIMAGEGOAL_H
00220