$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/ConfigAction.msg */ 00002 #ifndef LASER_CB_DETECTOR_MESSAGE_CONFIGACTION_H 00003 #define LASER_CB_DETECTOR_MESSAGE_CONFIGACTION_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 "laser_cb_detector/ConfigActionGoal.h" 00018 #include "laser_cb_detector/ConfigActionResult.h" 00019 #include "laser_cb_detector/ConfigActionFeedback.h" 00020 00021 namespace laser_cb_detector 00022 { 00023 template <class ContainerAllocator> 00024 struct ConfigAction_ { 00025 typedef ConfigAction_<ContainerAllocator> Type; 00026 00027 ConfigAction_() 00028 : action_goal() 00029 , action_result() 00030 , action_feedback() 00031 { 00032 } 00033 00034 ConfigAction_(const ContainerAllocator& _alloc) 00035 : action_goal(_alloc) 00036 , action_result(_alloc) 00037 , action_feedback(_alloc) 00038 { 00039 } 00040 00041 typedef ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> _action_goal_type; 00042 ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> action_goal; 00043 00044 typedef ::laser_cb_detector::ConfigActionResult_<ContainerAllocator> _action_result_type; 00045 ::laser_cb_detector::ConfigActionResult_<ContainerAllocator> action_result; 00046 00047 typedef ::laser_cb_detector::ConfigActionFeedback_<ContainerAllocator> _action_feedback_type; 00048 ::laser_cb_detector::ConfigActionFeedback_<ContainerAllocator> action_feedback; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "laser_cb_detector/ConfigAction"; } 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 "9ab17a2bdd4d1b9a55316f3c57556453"; } 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 ConfigActionGoal action_goal\n\ 00068 ConfigActionResult action_result\n\ 00069 ConfigActionFeedback action_feedback\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: laser_cb_detector/ConfigActionGoal\n\ 00073 \n\ 00074 Header header\n\ 00075 actionlib_msgs/GoalID goal_id\n\ 00076 ConfigGoal goal\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: std_msgs/Header\n\ 00080 # Standard metadata for higher-level stamped data types.\n\ 00081 # This is generally used to communicate timestamped data \n\ 00082 # in a particular coordinate frame.\n\ 00083 # \n\ 00084 # sequence ID: consecutively increasing ID \n\ 00085 uint32 seq\n\ 00086 #Two-integer timestamp that is expressed as:\n\ 00087 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00088 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00089 # time-handling sugar is provided by the client library\n\ 00090 time stamp\n\ 00091 #Frame this data is associated with\n\ 00092 # 0: no frame\n\ 00093 # 1: global frame\n\ 00094 string frame_id\n\ 00095 \n\ 00096 ================================================================================\n\ 00097 MSG: actionlib_msgs/GoalID\n\ 00098 # The stamp should store the time at which this goal was requested.\n\ 00099 # It is used by an action server when it tries to preempt all\n\ 00100 # goals that were requested before a certain time\n\ 00101 time stamp\n\ 00102 \n\ 00103 # The id provides a way to associate feedback and\n\ 00104 # result message with specific goal requests. The id\n\ 00105 # specified must be unique.\n\ 00106 string id\n\ 00107 \n\ 00108 \n\ 00109 ================================================================================\n\ 00110 MSG: laser_cb_detector/ConfigGoal\n\ 00111 uint32 num_x # Number of checkerboard corners in the X direction\n\ 00112 uint32 num_y # Number of corners in the Y direction\n\ 00113 float32 spacing_x # Spacing between corners in the X direction (meters)\n\ 00114 float32 spacing_y # Spacing between corners in the Y direction (meters)\n\ 00115 \n\ 00116 # Specify how many times we want to upsample the image.\n\ 00117 # This is often useful for detecting small checkerboards far away\n\ 00118 float32 width_scaling\n\ 00119 float32 height_scaling\n\ 00120 \n\ 00121 # Specifiy how intensity maps into a uint8. A specified window of\n\ 00122 # intensities is linearly scaled to 0-255\n\ 00123 float32 min_intensity\n\ 00124 float32 max_intensity\n\ 00125 \n\ 00126 # Configure openCV's subpixel corner detector\n\ 00127 uint32 subpixel_window\n\ 00128 int32 subpixel_zero_zone\n\ 00129 \n\ 00130 # Specify if we need to flip snapshot image model. This is usually necessary\n\ 00131 # when the laser scans from right to left, since this is the opposite of images,\n\ 00132 # which are normally indexed left to right\n\ 00133 uint8 flip_horizontal\n\ 00134 \n\ 00135 \n\ 00136 ================================================================================\n\ 00137 MSG: laser_cb_detector/ConfigActionResult\n\ 00138 \n\ 00139 Header header\n\ 00140 actionlib_msgs/GoalStatus status\n\ 00141 ConfigResult result\n\ 00142 \n\ 00143 ================================================================================\n\ 00144 MSG: actionlib_msgs/GoalStatus\n\ 00145 GoalID goal_id\n\ 00146 uint8 status\n\ 00147 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00148 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00149 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00150 # and has since completed its execution (Terminal State)\n\ 00151 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00152 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00153 # to some failure (Terminal State)\n\ 00154 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00155 # because the goal was unattainable or invalid (Terminal State)\n\ 00156 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00157 # and has not yet completed execution\n\ 00158 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00159 # but the action server has not yet confirmed that the goal is canceled\n\ 00160 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00161 # and was successfully cancelled (Terminal State)\n\ 00162 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00163 # sent over the wire by an action server\n\ 00164 \n\ 00165 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00166 string text\n\ 00167 \n\ 00168 \n\ 00169 ================================================================================\n\ 00170 MSG: laser_cb_detector/ConfigResult\n\ 00171 \n\ 00172 ================================================================================\n\ 00173 MSG: laser_cb_detector/ConfigActionFeedback\n\ 00174 \n\ 00175 Header header\n\ 00176 actionlib_msgs/GoalStatus status\n\ 00177 ConfigFeedback feedback\n\ 00178 \n\ 00179 ================================================================================\n\ 00180 MSG: laser_cb_detector/ConfigFeedback\n\ 00181 \n\ 00182 \n\ 00183 "; } 00184 public: 00185 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00186 00187 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00188 00189 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00190 { 00191 ros::serialization::OStream stream(write_ptr, 1000000000); 00192 ros::serialization::serialize(stream, action_goal); 00193 ros::serialization::serialize(stream, action_result); 00194 ros::serialization::serialize(stream, action_feedback); 00195 return stream.getData(); 00196 } 00197 00198 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00199 { 00200 ros::serialization::IStream stream(read_ptr, 1000000000); 00201 ros::serialization::deserialize(stream, action_goal); 00202 ros::serialization::deserialize(stream, action_result); 00203 ros::serialization::deserialize(stream, action_feedback); 00204 return stream.getData(); 00205 } 00206 00207 ROS_DEPRECATED virtual uint32_t serializationLength() const 00208 { 00209 uint32_t size = 0; 00210 size += ros::serialization::serializationLength(action_goal); 00211 size += ros::serialization::serializationLength(action_result); 00212 size += ros::serialization::serializationLength(action_feedback); 00213 return size; 00214 } 00215 00216 typedef boost::shared_ptr< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > Ptr; 00217 typedef boost::shared_ptr< ::laser_cb_detector::ConfigAction_<ContainerAllocator> const> ConstPtr; 00218 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00219 }; // struct ConfigAction 00220 typedef ::laser_cb_detector::ConfigAction_<std::allocator<void> > ConfigAction; 00221 00222 typedef boost::shared_ptr< ::laser_cb_detector::ConfigAction> ConfigActionPtr; 00223 typedef boost::shared_ptr< ::laser_cb_detector::ConfigAction const> ConfigActionConstPtr; 00224 00225 00226 template<typename ContainerAllocator> 00227 std::ostream& operator<<(std::ostream& s, const ::laser_cb_detector::ConfigAction_<ContainerAllocator> & v) 00228 { 00229 ros::message_operations::Printer< ::laser_cb_detector::ConfigAction_<ContainerAllocator> >::stream(s, "", v); 00230 return s;} 00231 00232 } // namespace laser_cb_detector 00233 00234 namespace ros 00235 { 00236 namespace message_traits 00237 { 00238 template<class ContainerAllocator> struct IsMessage< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > : public TrueType {}; 00239 template<class ContainerAllocator> struct IsMessage< ::laser_cb_detector::ConfigAction_<ContainerAllocator> const> : public TrueType {}; 00240 template<class ContainerAllocator> 00241 struct MD5Sum< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > { 00242 static const char* value() 00243 { 00244 return "9ab17a2bdd4d1b9a55316f3c57556453"; 00245 } 00246 00247 static const char* value(const ::laser_cb_detector::ConfigAction_<ContainerAllocator> &) { return value(); } 00248 static const uint64_t static_value1 = 0x9ab17a2bdd4d1b9aULL; 00249 static const uint64_t static_value2 = 0x55316f3c57556453ULL; 00250 }; 00251 00252 template<class ContainerAllocator> 00253 struct DataType< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > { 00254 static const char* value() 00255 { 00256 return "laser_cb_detector/ConfigAction"; 00257 } 00258 00259 static const char* value(const ::laser_cb_detector::ConfigAction_<ContainerAllocator> &) { return value(); } 00260 }; 00261 00262 template<class ContainerAllocator> 00263 struct Definition< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > { 00264 static const char* value() 00265 { 00266 return "\n\ 00267 ConfigActionGoal action_goal\n\ 00268 ConfigActionResult action_result\n\ 00269 ConfigActionFeedback action_feedback\n\ 00270 \n\ 00271 ================================================================================\n\ 00272 MSG: laser_cb_detector/ConfigActionGoal\n\ 00273 \n\ 00274 Header header\n\ 00275 actionlib_msgs/GoalID goal_id\n\ 00276 ConfigGoal goal\n\ 00277 \n\ 00278 ================================================================================\n\ 00279 MSG: std_msgs/Header\n\ 00280 # Standard metadata for higher-level stamped data types.\n\ 00281 # This is generally used to communicate timestamped data \n\ 00282 # in a particular coordinate frame.\n\ 00283 # \n\ 00284 # sequence ID: consecutively increasing ID \n\ 00285 uint32 seq\n\ 00286 #Two-integer timestamp that is expressed as:\n\ 00287 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00288 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00289 # time-handling sugar is provided by the client library\n\ 00290 time stamp\n\ 00291 #Frame this data is associated with\n\ 00292 # 0: no frame\n\ 00293 # 1: global frame\n\ 00294 string frame_id\n\ 00295 \n\ 00296 ================================================================================\n\ 00297 MSG: actionlib_msgs/GoalID\n\ 00298 # The stamp should store the time at which this goal was requested.\n\ 00299 # It is used by an action server when it tries to preempt all\n\ 00300 # goals that were requested before a certain time\n\ 00301 time stamp\n\ 00302 \n\ 00303 # The id provides a way to associate feedback and\n\ 00304 # result message with specific goal requests. The id\n\ 00305 # specified must be unique.\n\ 00306 string id\n\ 00307 \n\ 00308 \n\ 00309 ================================================================================\n\ 00310 MSG: laser_cb_detector/ConfigGoal\n\ 00311 uint32 num_x # Number of checkerboard corners in the X direction\n\ 00312 uint32 num_y # Number of corners in the Y direction\n\ 00313 float32 spacing_x # Spacing between corners in the X direction (meters)\n\ 00314 float32 spacing_y # Spacing between corners in the Y direction (meters)\n\ 00315 \n\ 00316 # Specify how many times we want to upsample the image.\n\ 00317 # This is often useful for detecting small checkerboards far away\n\ 00318 float32 width_scaling\n\ 00319 float32 height_scaling\n\ 00320 \n\ 00321 # Specifiy how intensity maps into a uint8. A specified window of\n\ 00322 # intensities is linearly scaled to 0-255\n\ 00323 float32 min_intensity\n\ 00324 float32 max_intensity\n\ 00325 \n\ 00326 # Configure openCV's subpixel corner detector\n\ 00327 uint32 subpixel_window\n\ 00328 int32 subpixel_zero_zone\n\ 00329 \n\ 00330 # Specify if we need to flip snapshot image model. This is usually necessary\n\ 00331 # when the laser scans from right to left, since this is the opposite of images,\n\ 00332 # which are normally indexed left to right\n\ 00333 uint8 flip_horizontal\n\ 00334 \n\ 00335 \n\ 00336 ================================================================================\n\ 00337 MSG: laser_cb_detector/ConfigActionResult\n\ 00338 \n\ 00339 Header header\n\ 00340 actionlib_msgs/GoalStatus status\n\ 00341 ConfigResult result\n\ 00342 \n\ 00343 ================================================================================\n\ 00344 MSG: actionlib_msgs/GoalStatus\n\ 00345 GoalID goal_id\n\ 00346 uint8 status\n\ 00347 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\ 00348 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\ 00349 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\ 00350 # and has since completed its execution (Terminal State)\n\ 00351 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\ 00352 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\ 00353 # to some failure (Terminal State)\n\ 00354 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\ 00355 # because the goal was unattainable or invalid (Terminal State)\n\ 00356 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\ 00357 # and has not yet completed execution\n\ 00358 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\ 00359 # but the action server has not yet confirmed that the goal is canceled\n\ 00360 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\ 00361 # and was successfully cancelled (Terminal State)\n\ 00362 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\ 00363 # sent over the wire by an action server\n\ 00364 \n\ 00365 #Allow for the user to associate a string with GoalStatus for debugging\n\ 00366 string text\n\ 00367 \n\ 00368 \n\ 00369 ================================================================================\n\ 00370 MSG: laser_cb_detector/ConfigResult\n\ 00371 \n\ 00372 ================================================================================\n\ 00373 MSG: laser_cb_detector/ConfigActionFeedback\n\ 00374 \n\ 00375 Header header\n\ 00376 actionlib_msgs/GoalStatus status\n\ 00377 ConfigFeedback feedback\n\ 00378 \n\ 00379 ================================================================================\n\ 00380 MSG: laser_cb_detector/ConfigFeedback\n\ 00381 \n\ 00382 \n\ 00383 "; 00384 } 00385 00386 static const char* value(const ::laser_cb_detector::ConfigAction_<ContainerAllocator> &) { return value(); } 00387 }; 00388 00389 } // namespace message_traits 00390 } // namespace ros 00391 00392 namespace ros 00393 { 00394 namespace serialization 00395 { 00396 00397 template<class ContainerAllocator> struct Serializer< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > 00398 { 00399 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00400 { 00401 stream.next(m.action_goal); 00402 stream.next(m.action_result); 00403 stream.next(m.action_feedback); 00404 } 00405 00406 ROS_DECLARE_ALLINONE_SERIALIZER; 00407 }; // struct ConfigAction_ 00408 } // namespace serialization 00409 } // namespace ros 00410 00411 namespace ros 00412 { 00413 namespace message_operations 00414 { 00415 00416 template<class ContainerAllocator> 00417 struct Printer< ::laser_cb_detector::ConfigAction_<ContainerAllocator> > 00418 { 00419 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::laser_cb_detector::ConfigAction_<ContainerAllocator> & v) 00420 { 00421 s << indent << "action_goal: "; 00422 s << std::endl; 00423 Printer< ::laser_cb_detector::ConfigActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal); 00424 s << indent << "action_result: "; 00425 s << std::endl; 00426 Printer< ::laser_cb_detector::ConfigActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result); 00427 s << indent << "action_feedback: "; 00428 s << std::endl; 00429 Printer< ::laser_cb_detector::ConfigActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback); 00430 } 00431 }; 00432 00433 00434 } // namespace message_operations 00435 } // namespace ros 00436 00437 #endif // LASER_CB_DETECTOR_MESSAGE_CONFIGACTION_H 00438