$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/laser_cb_detector/msg/ConfigActionGoal.msg */ 00002 #ifndef LASER_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_H 00003 #define LASER_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 "laser_cb_detector/ConfigGoal.h" 00020 00021 namespace laser_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 ::laser_cb_detector::ConfigGoal_<ContainerAllocator> _goal_type; 00048 ::laser_cb_detector::ConfigGoal_<ContainerAllocator> goal; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "laser_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 "f6f8cb46e4d9ad5f8de5944ff7521a06"; } 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: laser_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 # Specifiy how intensity maps into a uint8. A specified window of\n\ 00115 # intensities is linearly scaled to 0-255\n\ 00116 float32 min_intensity\n\ 00117 float32 max_intensity\n\ 00118 \n\ 00119 # Configure openCV's subpixel corner detector\n\ 00120 uint32 subpixel_window\n\ 00121 int32 subpixel_zero_zone\n\ 00122 \n\ 00123 # Specify if we need to flip snapshot image model. This is usually necessary\n\ 00124 # when the laser scans from right to left, since this is the opposite of images,\n\ 00125 # which are normally indexed left to right\n\ 00126 uint8 flip_horizontal\n\ 00127 \n\ 00128 \n\ 00129 "; } 00130 public: 00131 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00132 00133 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00134 00135 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00136 { 00137 ros::serialization::OStream stream(write_ptr, 1000000000); 00138 ros::serialization::serialize(stream, header); 00139 ros::serialization::serialize(stream, goal_id); 00140 ros::serialization::serialize(stream, goal); 00141 return stream.getData(); 00142 } 00143 00144 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00145 { 00146 ros::serialization::IStream stream(read_ptr, 1000000000); 00147 ros::serialization::deserialize(stream, header); 00148 ros::serialization::deserialize(stream, goal_id); 00149 ros::serialization::deserialize(stream, goal); 00150 return stream.getData(); 00151 } 00152 00153 ROS_DEPRECATED virtual uint32_t serializationLength() const 00154 { 00155 uint32_t size = 0; 00156 size += ros::serialization::serializationLength(header); 00157 size += ros::serialization::serializationLength(goal_id); 00158 size += ros::serialization::serializationLength(goal); 00159 return size; 00160 } 00161 00162 typedef boost::shared_ptr< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > Ptr; 00163 typedef boost::shared_ptr< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> const> ConstPtr; 00164 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00165 }; // struct ConfigActionGoal 00166 typedef ::laser_cb_detector::ConfigActionGoal_<std::allocator<void> > ConfigActionGoal; 00167 00168 typedef boost::shared_ptr< ::laser_cb_detector::ConfigActionGoal> ConfigActionGoalPtr; 00169 typedef boost::shared_ptr< ::laser_cb_detector::ConfigActionGoal const> ConfigActionGoalConstPtr; 00170 00171 00172 template<typename ContainerAllocator> 00173 std::ostream& operator<<(std::ostream& s, const ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> & v) 00174 { 00175 ros::message_operations::Printer< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> >::stream(s, "", v); 00176 return s;} 00177 00178 } // namespace laser_cb_detector 00179 00180 namespace ros 00181 { 00182 namespace message_traits 00183 { 00184 template<class ContainerAllocator> struct IsMessage< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00185 template<class ContainerAllocator> struct IsMessage< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> const> : public TrueType {}; 00186 template<class ContainerAllocator> 00187 struct MD5Sum< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > { 00188 static const char* value() 00189 { 00190 return "f6f8cb46e4d9ad5f8de5944ff7521a06"; 00191 } 00192 00193 static const char* value(const ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00194 static const uint64_t static_value1 = 0xf6f8cb46e4d9ad5fULL; 00195 static const uint64_t static_value2 = 0x8de5944ff7521a06ULL; 00196 }; 00197 00198 template<class ContainerAllocator> 00199 struct DataType< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > { 00200 static const char* value() 00201 { 00202 return "laser_cb_detector/ConfigActionGoal"; 00203 } 00204 00205 static const char* value(const ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00206 }; 00207 00208 template<class ContainerAllocator> 00209 struct Definition< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > { 00210 static const char* value() 00211 { 00212 return "\n\ 00213 Header header\n\ 00214 actionlib_msgs/GoalID goal_id\n\ 00215 ConfigGoal goal\n\ 00216 \n\ 00217 ================================================================================\n\ 00218 MSG: std_msgs/Header\n\ 00219 # Standard metadata for higher-level stamped data types.\n\ 00220 # This is generally used to communicate timestamped data \n\ 00221 # in a particular coordinate frame.\n\ 00222 # \n\ 00223 # sequence ID: consecutively increasing ID \n\ 00224 uint32 seq\n\ 00225 #Two-integer timestamp that is expressed as:\n\ 00226 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00227 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00228 # time-handling sugar is provided by the client library\n\ 00229 time stamp\n\ 00230 #Frame this data is associated with\n\ 00231 # 0: no frame\n\ 00232 # 1: global frame\n\ 00233 string frame_id\n\ 00234 \n\ 00235 ================================================================================\n\ 00236 MSG: actionlib_msgs/GoalID\n\ 00237 # The stamp should store the time at which this goal was requested.\n\ 00238 # It is used by an action server when it tries to preempt all\n\ 00239 # goals that were requested before a certain time\n\ 00240 time stamp\n\ 00241 \n\ 00242 # The id provides a way to associate feedback and\n\ 00243 # result message with specific goal requests. The id\n\ 00244 # specified must be unique.\n\ 00245 string id\n\ 00246 \n\ 00247 \n\ 00248 ================================================================================\n\ 00249 MSG: laser_cb_detector/ConfigGoal\n\ 00250 uint32 num_x # Number of checkerboard corners in the X direction\n\ 00251 uint32 num_y # Number of corners in the Y direction\n\ 00252 float32 spacing_x # Spacing between corners in the X direction (meters)\n\ 00253 float32 spacing_y # Spacing between corners in the Y direction (meters)\n\ 00254 \n\ 00255 # Specify how many times we want to upsample the image.\n\ 00256 # This is often useful for detecting small checkerboards far away\n\ 00257 float32 width_scaling\n\ 00258 float32 height_scaling\n\ 00259 \n\ 00260 # Specifiy how intensity maps into a uint8. A specified window of\n\ 00261 # intensities is linearly scaled to 0-255\n\ 00262 float32 min_intensity\n\ 00263 float32 max_intensity\n\ 00264 \n\ 00265 # Configure openCV's subpixel corner detector\n\ 00266 uint32 subpixel_window\n\ 00267 int32 subpixel_zero_zone\n\ 00268 \n\ 00269 # Specify if we need to flip snapshot image model. This is usually necessary\n\ 00270 # when the laser scans from right to left, since this is the opposite of images,\n\ 00271 # which are normally indexed left to right\n\ 00272 uint8 flip_horizontal\n\ 00273 \n\ 00274 \n\ 00275 "; 00276 } 00277 00278 static const char* value(const ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 template<class ContainerAllocator> struct HasHeader< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00282 template<class ContainerAllocator> struct HasHeader< const ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > : public TrueType {}; 00283 } // namespace message_traits 00284 } // namespace ros 00285 00286 namespace ros 00287 { 00288 namespace serialization 00289 { 00290 00291 template<class ContainerAllocator> struct Serializer< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > 00292 { 00293 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00294 { 00295 stream.next(m.header); 00296 stream.next(m.goal_id); 00297 stream.next(m.goal); 00298 } 00299 00300 ROS_DECLARE_ALLINONE_SERIALIZER; 00301 }; // struct ConfigActionGoal_ 00302 } // namespace serialization 00303 } // namespace ros 00304 00305 namespace ros 00306 { 00307 namespace message_operations 00308 { 00309 00310 template<class ContainerAllocator> 00311 struct Printer< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> > 00312 { 00313 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> & v) 00314 { 00315 s << indent << "header: "; 00316 s << std::endl; 00317 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00318 s << indent << "goal_id: "; 00319 s << std::endl; 00320 Printer< ::actionlib_msgs::GoalID_<ContainerAllocator> >::stream(s, indent + " ", v.goal_id); 00321 s << indent << "goal: "; 00322 s << std::endl; 00323 Printer< ::laser_cb_detector::ConfigGoal_<ContainerAllocator> >::stream(s, indent + " ", v.goal); 00324 } 00325 }; 00326 00327 00328 } // namespace message_operations 00329 } // namespace ros 00330 00331 #endif // LASER_CB_DETECTOR_MESSAGE_CONFIGACTIONGOAL_H 00332