$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_calibration/doc_stacks/2013-03-01_16-35-11.769043/pr2_calibration/image_cb_detector/msg/ConfigActionGoal.msg */ 00002 #ifndef IMAGE_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_H 00003 #define IMAGE_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_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 "std_msgs/Header.h" 00018 #include "actionlib_msgs/GoalID.h" 00019 #include "image_cb_detector/ConfigGoal.h" 00020 00021 namespace image_cb_detector 00022 { 00023 template <class ContainerAllocator> 00024 struct ConfigActionGoal_ { 00025 typedef ConfigActionGoal_<ContainerAllocator> Type; 00026 00027 ConfigActionGoal_() 00028 : header() 00029 , goal_id() 00030 , goal() 00031 { 00032 } 00033 00034 ConfigActionGoal_(const ContainerAllocator& _alloc) 00035 : header(_alloc) 00036 , goal_id(_alloc) 00037 , goal(_alloc) 00038 { 00039 } 00040 00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00042 ::std_msgs::Header_<ContainerAllocator> header; 00043 00044 typedef ::actionlib_msgs::GoalID_<ContainerAllocator> _goal_id_type; 00045 ::actionlib_msgs::GoalID_<ContainerAllocator> goal_id; 00046 00047 typedef ::image_cb_detector::ConfigGoal_<ContainerAllocator> _goal_type; 00048 ::image_cb_detector::ConfigGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "image_cb_detector/ConfigActionGoal"; } 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 "47438deb496822a5e3dc575b6081de23"; } 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 "\n\ 00067 Header header\n\ 00068 actionlib_msgs/GoalID goal_id\n\ 00069 ConfigGoal goal\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: std_msgs/Header\n\ 00073 # Standard metadata for higher-level stamped data types.\n\ 00074 # This is generally used to communicate timestamped data \n\ 00075 # in a particular coordinate frame.\n\ 00076 # \n\ 00077 # sequence ID: consecutively increasing ID \n\ 00078 uint32 seq\n\ 00079 #Two-integer timestamp that is expressed as:\n\ 00080 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00081 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00082 # time-handling sugar is provided by the client library\n\ 00083 time stamp\n\ 00084 #Frame this data is associated with\n\ 00085 # 0: no frame\n\ 00086 # 1: global frame\n\ 00087 string frame_id\n\ 00088 \n\ 00089 ================================================================================\n\ 00090 MSG: actionlib_msgs/GoalID\n\ 00091 # The stamp should store the time at which this goal was requested.\n\ 00092 # It is used by an action server when it tries to preempt all\n\ 00093 # goals that were requested before a certain time\n\ 00094 time stamp\n\ 00095 \n\ 00096 # The id provides a way to associate feedback and\n\ 00097 # result message with specific goal requests. The id\n\ 00098 # specified must be unique.\n\ 00099 string id\n\ 00100 \n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: image_cb_detector/ConfigGoal\n\ 00104 uint32 num_x # Number of checkerboard corners in the X direction\n\ 00105 uint32 num_y # Number of corners in the Y direction\n\ 00106 float32 spacing_x # Spacing between corners in the X direction (meters)\n\ 00107 float32 spacing_y # Spacing between corners in the Y direction (meters)\n\ 00108 \n\ 00109 # Specify how many times we want to upsample the image.\n\ 00110 # This is often useful for detecting small checkerboards far away\n\ 00111 float32 width_scaling\n\ 00112 float32 height_scaling\n\ 00113 \n\ 00114 # Configure openCV's subpixel corner detector\n\ 00115 uint32 subpixel_window\n\ 00116 int32 subpixel_zero_zone\n\ 00117 \n\ 00118 \n\ 00119 "; } 00120 public: 00121 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00122 00123 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00124 00125 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00126 { 00127 ros::serialization::OStream stream(write_ptr, 1000000000); 00128 ros::serialization::serialize(stream, header); 00129 ros::serialization::serialize(stream, goal_id); 00130 ros::serialization::serialize(stream, goal); 00131 return stream.getData(); 00132 } 00133 00134 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00135 { 00136 ros::serialization::IStream stream(read_ptr, 1000000000); 00137 ros::serialization::deserialize(stream, header); 00138 ros::serialization::deserialize(stream, goal_id); 00139 ros::serialization::deserialize(stream, goal); 00140 return stream.getData(); 00141 } 00142 00143 ROS_DEPRECATED virtual uint32_t serializationLength() const 00144 { 00145 uint32_t size = 0; 00146 size += ros::serialization::serializationLength(header); 00147 size += ros::serialization::serializationLength(goal_id); 00148 size += ros::serialization::serializationLength(goal); 00149 return size; 00150 } 00151 00152 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > Ptr; 00153 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> const> ConstPtr; 00154 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00155 }; // struct ConfigActionGoal 00156 typedef ::image_cb_detector::ConfigActionGoal_<std::allocator<void> > ConfigActionGoal; 00157 00158 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal> ConfigActionGoalPtr; 00159 typedef boost::shared_ptr< ::image_cb_detector::ConfigActionGoal const> ConfigActionGoalConstPtr; 00160 00161 00162 template<typename ContainerAllocator> 00163 std::ostream& operator<<(std::ostream& s, const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> & v) 00164 { 00165 ros::message_operations::Printer< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> >::stream(s, "", v); 00166 return s;} 00167 00168 } // namespace image_cb_detector 00169 00170 namespace ros 00171 { 00172 namespace message_traits 00173 { 00174 template<class ContainerAllocator> struct IsMessage< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00175 template<class ContainerAllocator> struct IsMessage< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> const> : public TrueType {}; 00176 template<class ContainerAllocator> 00177 struct MD5Sum< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > { 00178 static const char* value() 00179 { 00180 return "47438deb496822a5e3dc575b6081de23"; 00181 } 00182 00183 static const char* value(const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00184 static const uint64_t static_value1 = 0x47438deb496822a5ULL; 00185 static const uint64_t static_value2 = 0xe3dc575b6081de23ULL; 00186 }; 00187 00188 template<class ContainerAllocator> 00189 struct DataType< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > { 00190 static const char* value() 00191 { 00192 return "image_cb_detector/ConfigActionGoal"; 00193 } 00194 00195 static const char* value(const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00196 }; 00197 00198 template<class ContainerAllocator> 00199 struct Definition< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > { 00200 static const char* value() 00201 { 00202 return "\n\ 00203 Header header\n\ 00204 actionlib_msgs/GoalID goal_id\n\ 00205 ConfigGoal goal\n\ 00206 \n\ 00207 ================================================================================\n\ 00208 MSG: std_msgs/Header\n\ 00209 # Standard metadata for higher-level stamped data types.\n\ 00210 # This is generally used to communicate timestamped data \n\ 00211 # in a particular coordinate frame.\n\ 00212 # \n\ 00213 # sequence ID: consecutively increasing ID \n\ 00214 uint32 seq\n\ 00215 #Two-integer timestamp that is expressed as:\n\ 00216 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00217 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00218 # time-handling sugar is provided by the client library\n\ 00219 time stamp\n\ 00220 #Frame this data is associated with\n\ 00221 # 0: no frame\n\ 00222 # 1: global frame\n\ 00223 string frame_id\n\ 00224 \n\ 00225 ================================================================================\n\ 00226 MSG: actionlib_msgs/GoalID\n\ 00227 # The stamp should store the time at which this goal was requested.\n\ 00228 # It is used by an action server when it tries to preempt all\n\ 00229 # goals that were requested before a certain time\n\ 00230 time stamp\n\ 00231 \n\ 00232 # The id provides a way to associate feedback and\n\ 00233 # result message with specific goal requests. The id\n\ 00234 # specified must be unique.\n\ 00235 string id\n\ 00236 \n\ 00237 \n\ 00238 ================================================================================\n\ 00239 MSG: image_cb_detector/ConfigGoal\n\ 00240 uint32 num_x # Number of checkerboard corners in the X direction\n\ 00241 uint32 num_y # Number of corners in the Y direction\n\ 00242 float32 spacing_x # Spacing between corners in the X direction (meters)\n\ 00243 float32 spacing_y # Spacing between corners in the Y direction (meters)\n\ 00244 \n\ 00245 # Specify how many times we want to upsample the image.\n\ 00246 # This is often useful for detecting small checkerboards far away\n\ 00247 float32 width_scaling\n\ 00248 float32 height_scaling\n\ 00249 \n\ 00250 # Configure openCV's subpixel corner detector\n\ 00251 uint32 subpixel_window\n\ 00252 int32 subpixel_zero_zone\n\ 00253 \n\ 00254 \n\ 00255 "; 00256 } 00257 00258 static const char* value(const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00259 }; 00260 00261 template<class ContainerAllocator> struct HasHeader< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00262 template<class ContainerAllocator> struct HasHeader< const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00263 } // namespace message_traits 00264 } // namespace ros 00265 00266 namespace ros 00267 { 00268 namespace serialization 00269 { 00270 00271 template<class ContainerAllocator> struct Serializer< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > 00272 { 00273 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00274 { 00275 stream.next(m.header); 00276 stream.next(m.goal_id); 00277 stream.next(m.goal); 00278 } 00279 00280 ROS_DECLARE_ALLINONE_SERIALIZER; 00281 }; // struct ConfigActionGoal_ 00282 } // namespace serialization 00283 } // namespace ros 00284 00285 namespace ros 00286 { 00287 namespace message_operations 00288 { 00289 00290 template<class ContainerAllocator> 00291 struct Printer< ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> > 00292 { 00293 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::image_cb_detector::ConfigActionGoal_<ContainerAllocator> & v) 00294 { 00295 s << indent << "header: "; 00296 s << std::endl; 00297 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00298 s << indent << "goal_id: "; 00299 s << std::endl; 00300 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00301 s << indent << "goal: "; 00302 s << std::endl; 00303 Printer< ::image_cb_detector::ConfigGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00304 } 00305 }; 00306 00307 00308 } // namespace message_operations 00309 } // namespace ros 00310 00311 #endif // IMAGE_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_H 00312