$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-applanix_driver/doc_stacks/2013-03-01_14-05-02.457261/applanix_driver/applanix_msgs/msg/GAMSParams.msg */ 00002 #ifndef APPLANIX_MSGS_MESSAGE_GAMSPARAMS_H 00003 #define APPLANIX_MSGS_MESSAGE_GAMSPARAMS_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/Point32.h" 00018 00019 namespace applanix_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct GAMSParams_ { 00023 typedef GAMSParams_<ContainerAllocator> Type; 00024 00025 GAMSParams_() 00026 : transaction(0) 00027 , antenna_separation(0.0) 00028 , baseline_vector() 00029 , max_heading_error_rms(0.0) 00030 , heading_correction(0.0) 00031 { 00032 } 00033 00034 GAMSParams_(const ContainerAllocator& _alloc) 00035 : transaction(0) 00036 , antenna_separation(0.0) 00037 , baseline_vector(_alloc) 00038 , max_heading_error_rms(0.0) 00039 , heading_correction(0.0) 00040 { 00041 } 00042 00043 typedef uint16_t _transaction_type; 00044 uint16_t transaction; 00045 00046 typedef float _antenna_separation_type; 00047 float antenna_separation; 00048 00049 typedef ::geometry_msgs::Point32_<ContainerAllocator> _baseline_vector_type; 00050 ::geometry_msgs::Point32_<ContainerAllocator> baseline_vector; 00051 00052 typedef float _max_heading_error_rms_type; 00053 float max_heading_error_rms; 00054 00055 typedef float _heading_correction_type; 00056 float heading_correction; 00057 00058 00059 private: 00060 static const char* __s_getDataType_() { return "applanix_msgs/GAMSParams"; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00063 00064 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00065 00066 private: 00067 static const char* __s_getMD5Sum_() { return "8dc87272f9e4678c71c9588bfa987256"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00070 00071 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00072 00073 private: 00074 static const char* __s_getMessageDefinition_() { return "# Msg 21\n\ 00075 uint16 transaction\n\ 00076 \n\ 00077 float32 antenna_separation\n\ 00078 \n\ 00079 geometry_msgs/Point32 baseline_vector\n\ 00080 float32 max_heading_error_rms\n\ 00081 float32 heading_correction\n\ 00082 \n\ 00083 ================================================================================\n\ 00084 MSG: geometry_msgs/Point32\n\ 00085 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00086 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00087 # \n\ 00088 # This recommendation is to promote interoperability. \n\ 00089 #\n\ 00090 # This message is designed to take up less space when sending\n\ 00091 # lots of points at once, as in the case of a PointCloud. \n\ 00092 \n\ 00093 float32 x\n\ 00094 float32 y\n\ 00095 float32 z\n\ 00096 "; } 00097 public: 00098 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00099 00100 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00101 00102 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00103 { 00104 ros::serialization::OStream stream(write_ptr, 1000000000); 00105 ros::serialization::serialize(stream, transaction); 00106 ros::serialization::serialize(stream, antenna_separation); 00107 ros::serialization::serialize(stream, baseline_vector); 00108 ros::serialization::serialize(stream, max_heading_error_rms); 00109 ros::serialization::serialize(stream, heading_correction); 00110 return stream.getData(); 00111 } 00112 00113 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00114 { 00115 ros::serialization::IStream stream(read_ptr, 1000000000); 00116 ros::serialization::deserialize(stream, transaction); 00117 ros::serialization::deserialize(stream, antenna_separation); 00118 ros::serialization::deserialize(stream, baseline_vector); 00119 ros::serialization::deserialize(stream, max_heading_error_rms); 00120 ros::serialization::deserialize(stream, heading_correction); 00121 return stream.getData(); 00122 } 00123 00124 ROS_DEPRECATED virtual uint32_t serializationLength() const 00125 { 00126 uint32_t size = 0; 00127 size += ros::serialization::serializationLength(transaction); 00128 size += ros::serialization::serializationLength(antenna_separation); 00129 size += ros::serialization::serializationLength(baseline_vector); 00130 size += ros::serialization::serializationLength(max_heading_error_rms); 00131 size += ros::serialization::serializationLength(heading_correction); 00132 return size; 00133 } 00134 00135 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams_<ContainerAllocator> > Ptr; 00136 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams_<ContainerAllocator> const> ConstPtr; 00137 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00138 }; // struct GAMSParams 00139 typedef ::applanix_msgs::GAMSParams_<std::allocator<void> > GAMSParams; 00140 00141 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams> GAMSParamsPtr; 00142 typedef boost::shared_ptr< ::applanix_msgs::GAMSParams const> GAMSParamsConstPtr; 00143 00144 00145 template<typename ContainerAllocator> 00146 std::ostream& operator<<(std::ostream& s, const ::applanix_msgs::GAMSParams_<ContainerAllocator> & v) 00147 { 00148 ros::message_operations::Printer< ::applanix_msgs::GAMSParams_<ContainerAllocator> >::stream(s, "", v); 00149 return s;} 00150 00151 } // namespace applanix_msgs 00152 00153 namespace ros 00154 { 00155 namespace message_traits 00156 { 00157 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GAMSParams_<ContainerAllocator> > : public TrueType {}; 00158 template<class ContainerAllocator> struct IsMessage< ::applanix_msgs::GAMSParams_<ContainerAllocator> const> : public TrueType {}; 00159 template<class ContainerAllocator> 00160 struct MD5Sum< ::applanix_msgs::GAMSParams_<ContainerAllocator> > { 00161 static const char* value() 00162 { 00163 return "8dc87272f9e4678c71c9588bfa987256"; 00164 } 00165 00166 static const char* value(const ::applanix_msgs::GAMSParams_<ContainerAllocator> &) { return value(); } 00167 static const uint64_t static_value1 = 0x8dc87272f9e4678cULL; 00168 static const uint64_t static_value2 = 0x71c9588bfa987256ULL; 00169 }; 00170 00171 template<class ContainerAllocator> 00172 struct DataType< ::applanix_msgs::GAMSParams_<ContainerAllocator> > { 00173 static const char* value() 00174 { 00175 return "applanix_msgs/GAMSParams"; 00176 } 00177 00178 static const char* value(const ::applanix_msgs::GAMSParams_<ContainerAllocator> &) { return value(); } 00179 }; 00180 00181 template<class ContainerAllocator> 00182 struct Definition< ::applanix_msgs::GAMSParams_<ContainerAllocator> > { 00183 static const char* value() 00184 { 00185 return "# Msg 21\n\ 00186 uint16 transaction\n\ 00187 \n\ 00188 float32 antenna_separation\n\ 00189 \n\ 00190 geometry_msgs/Point32 baseline_vector\n\ 00191 float32 max_heading_error_rms\n\ 00192 float32 heading_correction\n\ 00193 \n\ 00194 ================================================================================\n\ 00195 MSG: geometry_msgs/Point32\n\ 00196 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00197 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00198 # \n\ 00199 # This recommendation is to promote interoperability. \n\ 00200 #\n\ 00201 # This message is designed to take up less space when sending\n\ 00202 # lots of points at once, as in the case of a PointCloud. \n\ 00203 \n\ 00204 float32 x\n\ 00205 float32 y\n\ 00206 float32 z\n\ 00207 "; 00208 } 00209 00210 static const char* value(const ::applanix_msgs::GAMSParams_<ContainerAllocator> &) { return value(); } 00211 }; 00212 00213 template<class ContainerAllocator> struct IsFixedSize< ::applanix_msgs::GAMSParams_<ContainerAllocator> > : public TrueType {}; 00214 } // namespace message_traits 00215 } // namespace ros 00216 00217 namespace ros 00218 { 00219 namespace serialization 00220 { 00221 00222 template<class ContainerAllocator> struct Serializer< ::applanix_msgs::GAMSParams_<ContainerAllocator> > 00223 { 00224 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00225 { 00226 stream.next(m.transaction); 00227 stream.next(m.antenna_separation); 00228 stream.next(m.baseline_vector); 00229 stream.next(m.max_heading_error_rms); 00230 stream.next(m.heading_correction); 00231 } 00232 00233 ROS_DECLARE_ALLINONE_SERIALIZER; 00234 }; // struct GAMSParams_ 00235 } // namespace serialization 00236 } // namespace ros 00237 00238 namespace ros 00239 { 00240 namespace message_operations 00241 { 00242 00243 template<class ContainerAllocator> 00244 struct Printer< ::applanix_msgs::GAMSParams_<ContainerAllocator> > 00245 { 00246 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::applanix_msgs::GAMSParams_<ContainerAllocator> & v) 00247 { 00248 s << indent << "transaction: "; 00249 Printer<uint16_t>::stream(s, indent + " ", v.transaction); 00250 s << indent << "antenna_separation: "; 00251 Printer<float>::stream(s, indent + " ", v.antenna_separation); 00252 s << indent << "baseline_vector: "; 00253 s << std::endl; 00254 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.baseline_vector); 00255 s << indent << "max_heading_error_rms: "; 00256 Printer<float>::stream(s, indent + " ", v.max_heading_error_rms); 00257 s << indent << "heading_correction: "; 00258 Printer<float>::stream(s, indent + " ", v.heading_correction); 00259 } 00260 }; 00261 00262 00263 } // namespace message_operations 00264 } // namespace ros 00265 00266 #endif // APPLANIX_MSGS_MESSAGE_GAMSPARAMS_H 00267