$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-flirtlib_features/doc_stacks/2013-03-01_15-30-29.334793/flirtlib_features/flirtlib_ros/msg/RotateInPlaceGoal.msg */ 00002 #ifndef FLIRTLIB_ROS_MESSAGE_ROTATEINPLACEGOAL_H 00003 #define FLIRTLIB_ROS_MESSAGE_ROTATEINPLACEGOAL_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 00019 namespace flirtlib_ros 00020 { 00021 template <class ContainerAllocator> 00022 struct RotateInPlaceGoal_ { 00023 typedef RotateInPlaceGoal_<ContainerAllocator> Type; 00024 00025 RotateInPlaceGoal_() 00026 : header() 00027 , target(0.0) 00028 , tol(0.0) 00029 { 00030 } 00031 00032 RotateInPlaceGoal_(const ContainerAllocator& _alloc) 00033 : header(_alloc) 00034 , target(0.0) 00035 , tol(0.0) 00036 { 00037 } 00038 00039 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00040 ::std_msgs::Header_<ContainerAllocator> header; 00041 00042 typedef float _target_type; 00043 float target; 00044 00045 typedef float _tol_type; 00046 float tol; 00047 00048 00049 private: 00050 static const char* __s_getDataType_() { return "flirtlib_ros/RotateInPlaceGoal"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00053 00054 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00055 00056 private: 00057 static const char* __s_getMD5Sum_() { return "a383378ce70ce523f38349d877baffb8"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00065 # Goal is to get close to yaw angle target in frame header.frame_id\n\ 00066 Header header\n\ 00067 float32 target\n\ 00068 float32 tol\n\ 00069 \n\ 00070 ================================================================================\n\ 00071 MSG: std_msgs/Header\n\ 00072 # Standard metadata for higher-level stamped data types.\n\ 00073 # This is generally used to communicate timestamped data \n\ 00074 # in a particular coordinate frame.\n\ 00075 # \n\ 00076 # sequence ID: consecutively increasing ID \n\ 00077 uint32 seq\n\ 00078 #Two-integer timestamp that is expressed as:\n\ 00079 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00080 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00081 # time-handling sugar is provided by the client library\n\ 00082 time stamp\n\ 00083 #Frame this data is associated with\n\ 00084 # 0: no frame\n\ 00085 # 1: global frame\n\ 00086 string frame_id\n\ 00087 \n\ 00088 "; } 00089 public: 00090 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00091 00092 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00093 00094 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00095 { 00096 ros::serialization::OStream stream(write_ptr, 1000000000); 00097 ros::serialization::serialize(stream, header); 00098 ros::serialization::serialize(stream, target); 00099 ros::serialization::serialize(stream, tol); 00100 return stream.getData(); 00101 } 00102 00103 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00104 { 00105 ros::serialization::IStream stream(read_ptr, 1000000000); 00106 ros::serialization::deserialize(stream, header); 00107 ros::serialization::deserialize(stream, target); 00108 ros::serialization::deserialize(stream, tol); 00109 return stream.getData(); 00110 } 00111 00112 ROS_DEPRECATED virtual uint32_t serializationLength() const 00113 { 00114 uint32_t size = 0; 00115 size += ros::serialization::serializationLength(header); 00116 size += ros::serialization::serializationLength(target); 00117 size += ros::serialization::serializationLength(tol); 00118 return size; 00119 } 00120 00121 typedef boost::shared_ptr< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > Ptr; 00122 typedef boost::shared_ptr< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> const> ConstPtr; 00123 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00124 }; // struct RotateInPlaceGoal 00125 typedef ::flirtlib_ros::RotateInPlaceGoal_<std::allocator<void> > RotateInPlaceGoal; 00126 00127 typedef boost::shared_ptr< ::flirtlib_ros::RotateInPlaceGoal> RotateInPlaceGoalPtr; 00128 typedef boost::shared_ptr< ::flirtlib_ros::RotateInPlaceGoal const> RotateInPlaceGoalConstPtr; 00129 00130 00131 template<typename ContainerAllocator> 00132 std::ostream& operator<<(std::ostream& s, const ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> & v) 00133 { 00134 ros::message_operations::Printer< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> >::stream(s, "", v); 00135 return s;} 00136 00137 } // namespace flirtlib_ros 00138 00139 namespace ros 00140 { 00141 namespace message_traits 00142 { 00143 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > : public TrueType {}; 00144 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> const> : public TrueType {}; 00145 template<class ContainerAllocator> 00146 struct MD5Sum< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "a383378ce70ce523f38349d877baffb8"; 00150 } 00151 00152 static const char* value(const ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> &) { return value(); } 00153 static const uint64_t static_value1 = 0xa383378ce70ce523ULL; 00154 static const uint64_t static_value2 = 0xf38349d877baffb8ULL; 00155 }; 00156 00157 template<class ContainerAllocator> 00158 struct DataType< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "flirtlib_ros/RotateInPlaceGoal"; 00162 } 00163 00164 static const char* value(const ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> &) { return value(); } 00165 }; 00166 00167 template<class ContainerAllocator> 00168 struct Definition< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00172 # Goal is to get close to yaw angle target in frame header.frame_id\n\ 00173 Header header\n\ 00174 float32 target\n\ 00175 float32 tol\n\ 00176 \n\ 00177 ================================================================================\n\ 00178 MSG: std_msgs/Header\n\ 00179 # Standard metadata for higher-level stamped data types.\n\ 00180 # This is generally used to communicate timestamped data \n\ 00181 # in a particular coordinate frame.\n\ 00182 # \n\ 00183 # sequence ID: consecutively increasing ID \n\ 00184 uint32 seq\n\ 00185 #Two-integer timestamp that is expressed as:\n\ 00186 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00187 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00188 # time-handling sugar is provided by the client library\n\ 00189 time stamp\n\ 00190 #Frame this data is associated with\n\ 00191 # 0: no frame\n\ 00192 # 1: global frame\n\ 00193 string frame_id\n\ 00194 \n\ 00195 "; 00196 } 00197 00198 static const char* value(const ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> &) { return value(); } 00199 }; 00200 00201 template<class ContainerAllocator> struct HasHeader< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > : public TrueType {}; 00202 template<class ContainerAllocator> struct HasHeader< const ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > : public TrueType {}; 00203 } // namespace message_traits 00204 } // namespace ros 00205 00206 namespace ros 00207 { 00208 namespace serialization 00209 { 00210 00211 template<class ContainerAllocator> struct Serializer< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > 00212 { 00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00214 { 00215 stream.next(m.header); 00216 stream.next(m.target); 00217 stream.next(m.tol); 00218 } 00219 00220 ROS_DECLARE_ALLINONE_SERIALIZER; 00221 }; // struct RotateInPlaceGoal_ 00222 } // namespace serialization 00223 } // namespace ros 00224 00225 namespace ros 00226 { 00227 namespace message_operations 00228 { 00229 00230 template<class ContainerAllocator> 00231 struct Printer< ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> > 00232 { 00233 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::flirtlib_ros::RotateInPlaceGoal_<ContainerAllocator> & v) 00234 { 00235 s << indent << "header: "; 00236 s << std::endl; 00237 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00238 s << indent << "target: "; 00239 Printer<float>::stream(s, indent + " ", v.target); 00240 s << indent << "tol: "; 00241 Printer<float>::stream(s, indent + " ", v.tol); 00242 } 00243 }; 00244 00245 00246 } // namespace message_operations 00247 } // namespace ros 00248 00249 #endif // FLIRTLIB_ROS_MESSAGE_ROTATEINPLACEGOAL_H 00250